[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7797: 24.0.50; [EasyPG/Gnus] always pick up the first key from `gpg
From: |
Daiki Ueno |
Subject: |
bug#7797: 24.0.50; [EasyPG/Gnus] always pick up the first key from `gpg --list-key $SENDER` |
Date: |
Fri, 07 Jan 2011 18:34:59 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Daiki Ueno <ueno@unixuser.org> writes:
> Luca Capello <luca@pca.it> writes:
>
>> gpg: skipped "8D3867D89DDB992B": unusable secret key
>> gpg: signing failed: unusable secret key
>
> You may want to try the patch I posted last month:
> http://lists.gnu.org/archive/html/emacs-devel/2010-12/msg00624.html
>
> Although this patch is a workaround, I'm going to push it for the time
> being.
OK, I fixed this in a better way (r102771).
My test case is:
$ mv .gnupg .gnupg.bak
$ gpg --gen-key # create a key foo@example.com
$ gpg --gen-key # create a key bar@example.com
$ gpg --gen-key # create a key baz@example.com
$ gpg --edit-key foo@example.com # revoke foo@example.com
$ gpg --delete-secret-key bar@example.com
(mml2015-epg-find-usable-secret-key
(epg-make-context 'OpenPGP) "foo@example.com" 'sign)
=> nil
(mml2015-epg-find-usable-secret-key
(epg-make-context 'OpenPGP) "bar@example.com" 'sign)
=> nil
(mml2015-epg-find-usable-secret-key
(epg-make-context 'OpenPGP) "baz@example.com" 'sign)
=> (epg-key . ...)
Regards,
--
Daiki Ueno
- bug#7797: 24.0.50; [EasyPG/Gnus] always pick up the first key from `gpg --list-key $SENDER`, Luca Capello, 2011/01/06
- bug#7797: 24.0.50; [EasyPG/Gnus] always pick up the first key from `gpg --list-key $SENDER`, Daiki Ueno, 2011/01/06
- bug#7797: 24.0.50; [EasyPG/Gnus] always pick up the first key from `gpg --list-key $SENDER`,
Daiki Ueno <=
- bug#7797: 24.0.50; [EasyPG/Gnus] always pick up the first key from `gpg --list-key $SENDER`, Luca Capello, 2011/01/07
- bug#7797: 24.0.50; [EasyPG/Gnus] always pick up the first key from `gpg --list-key $SENDER`, Daiki Ueno, 2011/01/07
- bug#7797: Configure the use of from header for epg signing., Daniel Dehennin, 2011/01/07
- bug#7797: Configure the use of from header for epg signing., Daniel Dehennin, 2011/01/16
- bug#7797: Configure the use of from header for epg signing., Lars Ingebrigtsen, 2011/01/22
- bug#7797: Configure the use of from header for epg signing., Daiki Ueno, 2011/01/23
- bug#7797: Configure the use of from header for epg signing., Julien Danjou, 2011/01/27
- bug#7797: Configure the use of from header for epg signing., Daiki Ueno, 2011/01/28
- bug#7797: Configure the use of from header for epg signing., Luca Capello, 2011/01/16