aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/armsignencrypt.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/openpgp/armsignencrypt.scm')
-rwxr-xr-xtests/openpgp/armsignencrypt.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/openpgp/armsignencrypt.scm b/tests/openpgp/armsignencrypt.scm
new file mode 100755
index 000000000..77fc7e729
--- /dev/null
+++ b/tests/openpgp/armsignencrypt.scm
@@ -0,0 +1,13 @@
+#!/usr/bin/env gpgscm
+
+(load (with-path "defs.scm"))
+
+(for-each-p
+ "Checking armored signing and encryption"
+ (lambda (source)
+ (tr:do
+ (tr:open source)
+ (tr:gpg usrpass1 `(--yes --passphrase-fd "0" -sea --recipient ,usrname2))
+ (tr:gpg "" '(--yes))
+ (tr:assert-identity source)))
+ (append plain-files data-files))