emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug] PGG shows ?? when prompt for passphrase


From: Leo
Subject: Re: [bug] PGG shows ?? when prompt for passphrase
Date: Sun, 17 Dec 2006 02:18:19 +0000
User-agent: Gnus v5.11, Emacs/23.0.0.3 (20061122), Fedora 5

Dear Daiki,

* Daiki Ueno (2006-12-17 10:30 +0900) said:
  ^^^^^^^^^^
>>>>>> In <address@hidden> 
>>>>>>  Leo <address@hidden> wrote:
>> When decrypting an email, PGG shows in the minibuffer:
>
>>   GnuPG passphrase for ??:
>
>> Is this intentional or a bug?
>
> It looks intentional.
>
> (format (if (pgg-gpg-symmetric-key-p message-keys)
>           "Passphrase for symmetric decryption: "
>         "GnuPG passphrase for %s: ")
>       (or key-owner "??"))

In case of multiple private keys, then I won't be able to tell which
passphrase to input. So I still think this might be a bug.

I debug `pgg-gpg-decrypt-region' and found out the message-keys
returned by (pgg-decode-armor-region (point-min) (point-max)) is
something like "CF3FFFEF3FFF9B60A3FFF896D343FF8F" which has no way to
match the secret-keys because all of them are 8-char long.

I hope this is useful and thank you for looking into this.

regards,
-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]