getting an encrypted file to show what public key was used

Werner Koch wk at gnupg.org
Tue May 29 17:35:08 CEST 2012


On Tue, 29 May 2012 15:45, lefevre.10 at osu.edu said:

> $> gpg --decrypt sensitive_file.gpg
> gpg: encrypted with ELG-E key, ID F1940956
> gpg: decryption failed: secret key not available

Use 

   gpg --keyid-format long --decrypt sensitive_file.gpg

to see the non-abbreviated key ID as stored in the file.  Use this to
find the key on a server, etc.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-users mailing list