Re: Need passphrase for unencrypting but not for signing

2016-02-13 Thread Xu Wang
On Tue, Jan 26, 2016 at 5:45 AM, Claus Assmann  wrote:
> On Tue, Jan 26, 2016, Xu Wang wrote:
>
>> that in order to decrypt a message I need to put my passphrase in. But
>> for signing, I do not need to. Is this normal? It is the same
>
> Are you replying to an encrypted mail?  Then the pass phrase is
> most likely still cached.  See the fine manual, look for pgp_timeout
> or something like that.

Dear mutt-users,

I found what causes this behavior. It is because of the GNOME keyring.
Somehow I have configured it to remember when encrypting but not when
signing.

Thank you to people for their kind responses.

Kind regards,

Xu


Re: Need passphrase for unencrypting but not for signing

2016-01-26 Thread Claus Assmann
On Tue, Jan 26, 2016, Xu Wang wrote:

> that in order to decrypt a message I need to put my passphrase in. But
> for signing, I do not need to. Is this normal? It is the same

Are you replying to an encrypted mail?  Then the pass phrase is
most likely still cached.  See the fine manual, look for pgp_timeout
or something like that.


Re: Need passphrase for unencrypting but not for signing

2016-01-26 Thread Jonas Hedman
On 16-01-26 00:20:40, Xu Wang wrote:
> Hello all,
> 
> I have set up gpg signing, encrypting, and I also have to decrypt when
> someone send an encrypted message to me. However, I find it curious
> that in order to decrypt a message I need to put my passphrase in. But
> for signing, I do not need to. Is this normal? It is the same
> passphrase. I'm not sure which settings I set in order to achive this.

I don't have an answer to your question but I'm really curious about
this. What does your setup look like and how did you create your 
keypair? Did you use any special options in the creation process?

Typically one would want to be prompted for a passphrase both for
decryption and signing.

Mutt can be set to remember the gpg passphrase for a certain time. Is it
possible that you might have decrypted some email and typed the
passphrase and then while mutt remembered the passphrase signed and sent
another email?

Interesting situation nevertheless.

-- 
Jonas Hedman 

XMPP:n...@jabber.at
PGP Key: 0x5c3989e0616bb08c
Fingerprint: 8F72 C5BE AAFA B4BA 8F46  9185 5C39 89E0 616B B08C


signature.asc
Description: Digital signature


Need passphrase for unencrypting but not for signing

2016-01-25 Thread Xu Wang
Hello all,

I have set up gpg signing, encrypting, and I also have to decrypt when
someone send an encrypted message to me. However, I find it curious
that in order to decrypt a message I need to put my passphrase in. But
for signing, I do not need to. Is this normal? It is the same
passphrase. I'm not sure which settings I set in order to achive this.

I'm curious and hoping to understand how I achieved the above possibility.

Kind regards,

Xu