Encryption with key ID
mailinglisten at hauke-laging.de
Sat Jan 7 03:30:39 CET 2012
Am Samstag, 7. Januar 2012, 01:41:48 schrieb Remesh_Chandra at dell.com:
> pub 1024D/5XXXXX11 2005-08-08 ABC DEF GHI
> sub 6000g/99999993 2011-01-01
> We are used to encrypting by providing the email account reference in the
> -recipient option. Since this one just has a phrase (ABC DEF GHI), we are
> unable to do so. The vendor's suggestion is to use their key id
> (0x5XXXXX11) to do the encryption. Is this possible? If yes, what is the
> command to do so?
gpg --encrypt --recipient 5XXXXX11 file.txt
gpg --encrypt --recipient "ABC DEF GHI" file.txt
gpg --encrypt --recipient D44C6A5B71B0427CCED3025CBD7D6D27ECCB5814 file.txt
(with the key's fingerprint instead of mine, of course)
PGP: D44C 6A5B 71B0 427C CED3 025C BD7D 6D27 ECCB 5814
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 555 bytes
Desc: This is a digitally signed message part.
More information about the Gnupg-users