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

« back to all changes in this revision

Viewing changes to checks/signdemokey

  • 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
set -e
 
4
 
 
5
if [ $# != 3 ]; then
 
6
    echo "Usage: signdemokey name user_id user_id_no"
 
7
    exit 1
 
8
fi
 
9
name="$1"
 
10
user_id="$2"
 
11
user_id_no="$3"
 
12
 
 
13
echo "abc" | ../g10/gpg --options ./options --homedir $name \
 
14
                --sign-key --batch --yes --passphrase-fd 0 $user_id \
 
15
                $user_id_no sign save
 
16