File indexing completed on 2025-01-26 04:52:48
0001 #!/bin/bash 0002 # 0003 # This is test script 1/3 for email sign/encrypt operation on Unix. 0004 # 0005 # You might need to adjust the sender email address below to something 0006 # you've got a private certificate for. 0007 # 0008 # To use: 0009 # 1. Start kleopatra 0010 # 2. run ./prep-encrypt 0011 # (the dialog comes up in the background, that's normal, as we) 0012 # (don't send a window-id) 0013 # 3. In the dialog, select S/MIME (for OpenPGP s/CMS/OpenPGP/ in all scripts), 0014 # and a certificate for none@example.org -> OK button becomes enabled 0015 # 4. Click OK -> this script ends 0016 # 5. run ./sign -> should end with OK (no UI visible) 0017 # 6. run ./encrypt -> should end with OK (no UI visible) 0018 # 7. The results (also intermediate ones) can be found in test.data.* 0019 0020 exec gpg-connect-agent -S ~/.gnupg/S.uiserver --run <(cat <<BYE 0021 /serverpid 0022 session 123 Re: Letter received 0023 sender --info -- marc@kdab.com 0024 recipient till@kdab.net 0025 recipient none@example.org 0026 prep_encrypt --expect-sign 0027 bye 0028 0029 BYE 0030 )