3 # This is test script 1/3 for email sign/encrypt operation on Unix.
5 # You might need to adjust the sender email address below to something
6 # you've got a private certificate for.
10 # 2. run ./prep-encrypt
11 # (the dialog comes up in the background, that's normal, as we)
12 # (don't send a window-id)
13 # 3. In the dialog, select S/MIME (for OpenPGP s/CMS/OpenPGP/ in all scripts),
14 # and a certificate for none@example.org -> OK button becomes enabled
15 # 4. Click OK -> this script ends
16 # 5. run ./sign -> should end with OK (no UI visible)
17 # 6. run ./encrypt -> should end with OK (no UI visible)
18 # 7. The results (also intermediate ones) can be found in test.data.*
20 exec gpg-connect-agent
-S ~
/.gnupg
/S.uiserver
--run <(cat <<BYE
22 session 123 Re: Letter received
23 sender --info -- marc@kdab.com
24 recipient till@kdab.net
25 recipient none@example.org
26 prep_encrypt --expect-sign