diff options
author | erdgeist <de@gsmk.de> | 2014-04-15 14:42:24 +0200 |
---|---|---|
committer | erdgeist <de@gsmk.de> | 2014-04-15 14:42:24 +0200 |
commit | 66a81e9382c8503a48db8f82aeb59b6c612c4964 (patch) | |
tree | 78c9d53aa810154d5ef0f9215d86357b364c2643 /vchat-keygen | |
parent | 7e81cd818c751e0f75b2c637e37356485e1e71ef (diff) | |
parent | 19375e6c61bfe3bf643786b0e7318c528e4b22a0 (diff) |
Display cipher list, thanks to count
Diffstat (limited to 'vchat-keygen')
-rwxr-xr-x | vchat-keygen | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vchat-keygen b/vchat-keygen index fa92c60..91fcbba 100755 --- a/vchat-keygen +++ b/vchat-keygen | |||
@@ -29,7 +29,7 @@ if [ ! -e $KEYBASE.key ]; then | |||
29 | echo "vchat-keygen: generating RSA key $KEYBASE.key" | 29 | echo "vchat-keygen: generating RSA key $KEYBASE.key" |
30 | echo "vchat-keygen: please set passphrase for local security" | 30 | echo "vchat-keygen: please set passphrase for local security" |
31 | umask 0077 | 31 | umask 0077 |
32 | openssl genrsa -des3 -out $KEYBASE.key 2048 | 32 | openssl genrsa -des3 -out $KEYBASE.key 4096 |
33 | else | 33 | else |
34 | echo "vchat-keygen: private key $KEYBASE.key exists" | 34 | echo "vchat-keygen: private key $KEYBASE.key exists" |
35 | fi | 35 | fi |
@@ -40,7 +40,7 @@ fi | |||
40 | echo "vchat-keygen: generating config-file for self-signing $KEYBASE.ca.keyconf" | 40 | echo "vchat-keygen: generating config-file for self-signing $KEYBASE.ca.keyconf" |
41 | cat >$KEYBASE.ca.keyconf <<EOT | 41 | cat >$KEYBASE.ca.keyconf <<EOT |
42 | [ req ] | 42 | [ req ] |
43 | default_bits = 2048 | 43 | default_bits = 4096 |
44 | default_keyfile = user.key | 44 | default_keyfile = user.key |
45 | distinguished_name = req_distinguished_name | 45 | distinguished_name = req_distinguished_name |
46 | string_mask = nombstr | 46 | string_mask = nombstr |
@@ -57,7 +57,7 @@ EOT | |||
57 | fi | 57 | fi |
58 | echo "vchat-keygen: generating Certificate Signing Request $KEYBASE.csr" | 58 | echo "vchat-keygen: generating Certificate Signing Request $KEYBASE.csr" |
59 | echo "vchat-keygen: please enter your nickname at the 'Name []:' prompt" | 59 | echo "vchat-keygen: please enter your nickname at the 'Name []:' prompt" |
60 | openssl req -new -config $KEYBASE.ca.keyconf -key $KEYBASE.key -out $KEYBASE.csr | 60 | openssl req -new -sha1 -config $KEYBASE.ca.keyconf -key $KEYBASE.key -out $KEYBASE.csr |
61 | echo "vchat-keygen: send this ($KEYBASE.csr) Certificate Signing Request to | 61 | echo "vchat-keygen: send this ($KEYBASE.csr) Certificate Signing Request to |
62 | vchat@vchat.berlin.ccc.de to get it signed by the vchat-CA. You will | 62 | vchat@vchat.berlin.ccc.de to get it signed by the vchat-CA. You will |
63 | receive your signed Certificate shortly." | 63 | receive your signed Certificate shortly." |