Package: gnupg
Version: 1.4.2-2
Severity: normal

I've tried to create a keypair using --batch mode as documented in
DETAILS.gz:

| [EMAIL PROTECTED]:/# cat > foo
| %echo Generating a standard key
| Key-Type: DSA
| Key-Length: 1024
| Subkey-Type: ELG-E
| Subkey-Length: 1024
| Name-Real: Joe Tester
| Name-Comment: with stupid passphrase
| Name-Email: [EMAIL PROTECTED]
| Expire-Date: 0
| Passphrase: abc
| %pubring foo.pub
| %secring foo.sec
| # Do a commit here, so that we can later print "done" :-)
| %commit
| %echo done
| [EMAIL PROTECTED]:/# gpg --batch --gen-key foo
| gpg: Generating a standard key
| 
+++++.+++++.+++++.+++++++++++++++.+++++.+++++.+++++..+++++++++++++++.+++++.+++++
| 
+++++.++++++++++++++++++++.+++++++++++++++.+++++.+++++++++++++++>++++++++++....>
| +++++...<.+++++...............................................+++++
| 
+++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++...+++++++++++
| 
++++++++++++++.+++++++++++++++++++++++++++++++++++.+++++>+++++....>+++++..<+++++
| ........................................+++++^^^
| gpg: ../../g10/build-packet.c:74: build_packet: Assertion `pkt->pkt.generic' 
fai
| led.
| Aborted

Removing the pubring and secring option makes it work.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to