Encrypt only selfsig

John A. Martin jam at jamux.com
Fri Oct 2 12:26:44 CEST 1998


How can I get a good selfsig on an encrypt only key?  Or any sig for
that matter.

$ gpg --version
gpg (GNUPG) 0.4.0
	...

$ gpgm --check-sigs

pub   768g/C8E2CCDB 1998-10-01 Testing3 (ElG eo) <test3 at foo.nil>
siggpgm: this is a PGP generated ElGamal key which is NOT secure for signatures!
%       C8E2CCDB 1998-10-01   [Unknown pubkey algorithm]

That after --gen-key.

And gpg is so upset with me that it gives me stuff like

gpg: this is a PGP generated ElGamal key which is NOT secure for signatures!
gpg: key C8E2CCDB, uid F0FA: invalid self-signature: Unknown pubkey algorithm
gpg: key C8E2CCDB, uid F0FA: invalid user id - removed
gpg: key C8E2CCDB: no user ids - rejected
gpg: key C8E2CCDB: insert trust record failed: Bad certificate

and sometimes more at every opportunity.

[jam at athene jam]$ gpg -u test1 --edit-key test3
gpg: this is a PGP generated ElGamal key which is NOT secure for signatures!
gpg: key C8E2CCDB, uid F0FA: invalid self-signature: Unknown pubkey algorithm
gpg: key C8E2CCDB, uid F0FA: invalid user id - removed
gpg: key C8E2CCDB: no user ids - rejected
gpg: key C8E2CCDB: can't put it into the trustdb
gpg: failed to initialize the TrustDB: Bad certificate
Secret key is available.

gpg: this is a PGP generated ElGamal key which is NOT secure for signatures!
gpg: key C8E2CCDB, uid F0FA: invalid self-signature: Unknown pubkey algorithm
gpg: key C8E2CCDB, uid F0FA: invalid user id - removed
gpg: key C8E2CCDB: no user ids - rejected
gpg: key C8E2CCDB: insert trust record failed: Bad certificate
gpg: 0: read expected rec type 2, got 1
gpg: get_ownertrust: read dir record failed
pub   768g/C8E2CCDB  created: 1998-10-01 expires: 1998-10-03 trust: ?/o
(1)  Testing3 (ElG eo) <test3 at foo.nil>

Command> sign

gpg: this is a PGP generated ElGamal key which is NOT secure for signatures!
gpg: key C8E2CCDB, uid F0FA: invalid self-signature: Unknown pubkey algorithm
gpg: key C8E2CCDB, uid F0FA: invalid user id - removed
gpg: key C8E2CCDB: no user ids - rejected
gpg: key C8E2CCDB: insert trust record failed: Bad certificate
gpg: 0: read expected rec type 2, got 1
gpg: get_ownertrust: read dir record failed
pub   768g/C8E2CCDB  created: 1998-10-01 expires: 1998-10-03 trust: ?/o             Fingerprint: E09B 5546 E6FF 7C6B 97DC  65B2 DADC 2F71 C8E2 CCDB

     Testing3 (ElG eo) <test3 at foo.nil>

Are you really sure that you want to sign this key
with your key: "Testing1 (DSA + ElG s+e) <test1 at foo.nil>"

Really sign? y

gpg: Ooops: clear_trust_checked_flag: Still no LID
secmem usage: 1472/1728 bytes in 3/7 blocks of pool 1728/16384
IOT trap/Abort
$

	jam




More information about the Gnupg-devel mailing list