Hi,

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:
        length: unknown
gpg: encrypted with 1024-bit RSA key, ID 96C5988D, created 2006-12-03
      "Michel Messerschmidt <m...@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   


Thanks,
Michel

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to