Can't Encrypt in Freebsd 10.1

Stephan Beck stebe at mailbox.org
Thu Feb 26 14:29:48 CET 2015


Hi, Antoine,


Am 25.02.2015 um 14:07 schrieb Antoine Michard:
> Hi,
> 
> Still not working :(
> Got no idea why...
> 
> #gpg -r 6349E5E0 -e test.txt
> Abort
[...]
> And then try to encryp a file:
> # gpg -r F2E7CBA5 -e test.txt
> Abort
> 
I am not familiar with BSD but this should apply to BSD installations of GnuPG
as well.

Try
gpg -e -r NAME test.txt

where NAME is the user id of the recipient's key.

If you want to encrypt for uid NAME and explicitly hide a given recipient's
keyID when sending the message you may use the -R option.

Well, that's what the man page tells us, IIUC.

HTH

Stephan





-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20150226/1a80492b/attachment.sig>


More information about the Gnupg-users mailing list