[prev in list] [next in list] [prev in thread] [next in thread]
List: gnupg-users
Subject: Re: gpg offering to encrypt to an unwanted key
From: Philip Jackson <philip.jackson () nordnet ! fr>
Date: 2014-10-05 21:41:23
Message-ID: 5431BB03.8040102 () nordnet ! fr
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
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 filename.txt
>
> As you see, you've specified the recipient "ypt" because the short option -r
> takes an argument, making the rest of the string the argument. The key you mention
>
>>> pub 4077g/0xDCEA1B7C6B136ECF 2004-06-06 TrueCrypt Foundation <contact@truecrypt.org>
>
> has the string "ypt" in its name.
>
>> (pinentry asked my password, then second confirmation entry)
>
> Actually, pinentry asks for the password for --symmetric. The fact that it asks
> for confirmation indicates that it is prompting you for a new password, rather
> than existing one, which it would only prompt again if you got it wrong.
>
Thank you for the explanation, Peter. It all sounds rather logical.
Philip
["signature.asc" (application/pgp-signature)]
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic