Is it possible to force decryption with the wrong key type
lists at michel-messerschmidt.de
Thu Jun 4 22:55:40 CEST 2009
I received some files encrypted by a not really OpenPGP compliant
product. Instead of using the encryption sub key, the files are
encrypted with the primary key.
Is there any chance to force decryption of the files?
My secret keys are located on a OpenPGP smartcard.
$ gpg2 -vv --decrypt file1.pgp
:pubkey enc packet: version 3, algo 1, keyid XX_NOT_MY_KEY_XX
data: [2048 bits]
gpg: public key is XXXXXXXX
:pubkey enc packet: version 3, algo 1, keyid FD377E2D96C5988D
data: [1024 bits]
gpg: public key is 96C5988D
:encrypted data packet:
gpg: encrypted with 1024-bit RSA key, ID 96C5988D, created 2006-12-03
"Michel Messerschmidt <mail at michel-messerschmidt.de>"
gpg: public key decryption failed: Wrong secret key used
gpg: encrypted with RSA key, ID XXXXXXXX
gpg: decryption failed: No secret key
$ gpg2 --edit-key 96C5988D
Secret key is available.
pub 1024R/96C5988D created: 2006-12-03 expires: never usage: SC
trust: ultimate validity: ultimate
sub 1024R/5C86D9BF created: 2006-12-03 expires: never usage: E
sub 1024R/B8668AD2 created: 2006-12-03 expires: never usage: A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 316 bytes
Desc: Digital signature
More information about the Gnupg-users