aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/encryptp.scm
blob: 2724b22cd666ed44f0d5ba43f5725036e55c1b1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env gpgscm

(load (with-path "defs.scm"))

(for-each-p
 "Checking encryption and decryption using pipes"
 (lambda (source)
   (tr:do
    (tr:open source)
    (tr:pipe-do
     (pipe:gpg `(--yes --encrypt --recipient ,usrname2))
     (pipe:gpg '(--yes)))
    (tr:assert-identity source)))
 (append plain-files data-files))