passing a recipient to gpg

Charly Avital
Thu Jul 10 23:27:02 2003

Gpg is asking you to enter *your* passphrase for the key you want to use for signing.


At 10:11 PM +0200 7/10/03, Harald Katzer wrote:
>currently I am playing around with GnuPG for studying it's features and
>Now I simply want to specify an recipient on command line using so I typed:
>gpg --recipient foo --sign --encrypt testfile
>gpg -r foo --sign --encrypt testfile
>But now gpg asks me for foo's passphrase, though foo is meant to be the
>recipient, and ignores foo2's secret-key for signing the testfile.
>Whats wrong??