[GnuPG-users] how to encrypt file for specific recipients

Kiss Gabor (Bitman) kissg at ssg.ki.iif.hu
Mon Aug 4 12:47:09 CEST 2008


> gpg --list-public-keys
> 1024D/78830E32
> 1024D/44CAAE70
> 
> gpg --encrypt --???? sshfs-debug-v3.txt.tar.gz ??

"--recipient" is what you need.
It can be used multiple times.
It accepts key ID as well as email address.

gpg --encrypt --recipient 0x78830E32 \
	--recipient miklos at somewhere.hu sshfs-debug-v3.txt.tar.gz

Regards

Gabor



More information about the Gnupg-users mailing list