gpg offering to encrypt to an unwanted key

2014-10-05 Thread Philip Jackson
During a recent encryption of a file, I made a mistake in the command options and gpg looked as if it was going to encrypt to another key. It picked a key which was in my keyring but not specified as a default in gpg.conf. (my own key is specified as default in the gpg.conf) My mistake was to

Re: gpg offering to encrypt to an unwanted key

2014-10-05 Thread Peter Lebbing
On 05/10/14 20:44, Philip Jackson wrote: desktop:~$ gpg2 -encrypt filename.txt Remember that a single dash introduces *short* options, so each letter is an option. I think this becomes: $ gpg2 --encrypt --dry-run --symmetric --recipient ypt filename.txt As you see, you've specified the

Re: gpg offering to encrypt to an unwanted key

2014-10-05 Thread Philip Jackson
On 05/10/14 21:18, Peter Lebbing wrote: On 05/10/14 20:44, Philip Jackson wrote: desktop:~$ gpg2 -encrypt filename.txt Remember that a single dash introduces *short* options, so each letter is an option. I think this becomes: $ gpg2 --encrypt --dry-run --symmetric --recipient ypt