~ubuntu-branches/ubuntu/precise/gnupg2/precise-proposed

« back to all changes in this revision

Viewing changes to checks/armsignencrypt.test

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Urlichs
  • Date: 2006-01-24 04:31:42 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060124043142-pbg192or6qxv3yk2
Tags: 1.9.20-1
* New Upstream version. Closes:#306890,#344530
  * Closes:#320490: gpg-protect-tool fails to decrypt PKCS-12 files 
* Depend on libopensc2-dev, not -1-. Closes:#348106

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
. $srcdir/defs.inc || exit 3
 
4
 
 
5
 
 
6
#info Checking armored signing and encryption
 
7
for i in $plain_files $data_files ; do
 
8
    echo "$usrpass1"  | $GPG --passphrase-fd 0 --always-trust \
 
9
                        -sae -o x --yes -r "$usrname2" $i
 
10
    $GPG -o y --yes x
 
11
    cmp $i y || error "$i: mismatch"
 
12
done
 
13