kde-playground/kdepim/kleopatra/uiserver/encrypt
2015-04-14 21:49:29 +00:00

19 lines
368 B
Bash
Executable file

#!/bin/bash
#
# This is test script 3/3 for email sign/encrypt operation on Unix.
#
# See prep-encrypt for instructions.
exec gpg-connect-agent -S ~/.gnupg/S.uiserver --run <(cat <<'BYE'
/subst
/serverpid
session 123 Re: Letter received
/sendfd test.data.signencrypt.sign.out r
INPUT FD
/sendfd test.data.signencrypt.out w
OUTPUT FD
encrypt --protocol=CMS
bye
BYE
)