19 lines
No EOL
623 B
Text
Executable file
19 lines
No EOL
623 B
Text
Executable file
#!/usr/bin/expect -f
|
|
spawn ./client.py
|
|
expect "Enter email: "
|
|
send "alice@example.org\n"
|
|
expect "Chose $env(FINGERPRINT)"
|
|
expect "Enter IMAP/POP3/SMTP password (will not echo): "
|
|
send "supersecurepassword\n"
|
|
expect "Autoconfigured incoming server"
|
|
expect "Autoconfigured outgoing server"
|
|
expect "Please confirm: \[Y/n\] "
|
|
send "y\n"
|
|
expect "Sending submission request"
|
|
expect "Awaiting response"
|
|
expect "Received confirmation request"
|
|
expect "Creating confirmation response."
|
|
expect "Sending confirmation response"
|
|
expect "Awaiting publish response"
|
|
expect "Your key has been published to the Web Key Directory."
|
|
expect eof |