aboutsummaryrefslogtreecommitdiffstats
path: root/checks/genkey1024.test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xchecks/genkey1024.test19
1 files changed, 10 insertions, 9 deletions
diff --git a/checks/genkey1024.test b/checks/genkey1024.test
index f8533919e..faaea2d1b 100755
--- a/checks/genkey1024.test
+++ b/checks/genkey1024.test
@@ -2,7 +2,8 @@
. defs.inc || exit 3
-info "This expect script does yet work"
+info "This expect script does not yet work"
+info "Please, all those expect gurus, can you help me with it?"
exit 0
expect - <<EOF
@@ -15,14 +16,14 @@ expect -exact "Please select the algorithm to use:\r
Your selection? (1,2) "
send -- "1\r"
expect -exact "1\r
-\r \rAbout to generate a new ElGamal keypair.\r
- minimum keysize is 768 bits\r
- default keysize is 1024 bits\r
+\r \rAbout to generate a new ElGamal keypair.\r
+ minimum keysize is 768 bits\r
+ default keysize is 1024 bits\r
highest suggested keysize is 2048 bits\r
What keysize do you want? (1024) "
send -- "\r"
expect -exact "\r
-\r \rRequested keysize is 1024 bits\r
+\r \rRequested keysize is 1024 bits\r
\r
You need a User-ID to identify your key; the software constructs the user id\r
from Real Name, Comment and Email Address in this form:\r
@@ -31,19 +32,19 @@ from Real Name, Comment and Email Address in this form:\r
Real name: "
send -- "Harry H.\r"
expect -exact "Harry H.\r
-\r \rEmail address: "
+\r \rEmail address: "
send -- "[email protected]\r"
expect -exact "[email protected]\r
-\r \rComment: "
+\r \rComment: "
send -- "a test\r"
expect -exact "a test\r
-\r \rYou selected this USER-ID:\r
+\r \rYou selected this USER-ID:\r
\"Harry H. (a test) <[email protected]> (INSECURE!)\"\r
\r
Edit (N)ame, (C)omment, (E)mail or (O)kay? "
send -- "o\r"
expect -exact "o\r
-\r \rYou need a Passphrase to protect your secret key.\r
+\r \rYou need a Passphrase to protect your secret key.\r
\r
Enter pass phrase: "
send -- "abc\r"