[Users] after upgrade from F12 -> F22 some issue w/ claws

Maurizio Marini marini.maurizio at gmail.com
Sun Jul 12 17:19:09 CEST 2015


Hello Michael

you are right, there is something messy, but w/ F21 it wasn't

here we go:

=====================================
gpg --list-keys B50F1EB9
pub   2048R/B50F1EB9 2013-08-27
uid                  Studio Maurizio Marini <studio at mauriziomarini.eu>
sub   2048R/A8B0A8BB 2013-08-27

pub   2048R/B50F1EB9 2013-08-27
uid                  Studio Maurizio Marini <studio at mauriziomarini.eu>
sub   2048R/A8B0A8BB 2013-08-27

=======================================

now, question is:
are duplicated key into pubring.gpg? or what else?
Have you handy some commands to inspect pubring.gpg?

many thnx





On Sun, Jul 12, 2015 at 3:59 PM, Michael Schwendt
<bugreporter at abwesend.de> wrote:
> On Sun, 12 Jul 2015 15:24:36 +0200, Maurizio Marini wrote:
>
>> I have upgraded from F21 to F22 2 days ago
>
> F21 (Fedora 21) also includes Claws Mail 3.11.1 for several months.
>
>> Could not queue message for sending
>>     Signature failed: secret key specification is ambiguous
>>
>> and in .xsession-errors
>>
>> ** (claws-mail:1526): WARNING **: ambiguous specification of secret key
>> 'B50F1EB9'
>
> That is nothing new in Claws Mail 3.11.1 either.
>
>> Is is useless to add that key B50F1EB9 isn't ambiguous
>
> Useless is the missing trouble-shooting. :(
> No output from claws-mail --debug.
> No output from "gpg --list-keys F8128D6A" or other GPG commands
> to give some details.
>
>> and I have used it with claws for many years until I upgraded on Friday to
>> F22
>
> Further trouble-shooting will be necessary, since the loop that prints the
> error has found multiple keys matching the keyid.
>
> src/plugins/pgpcore/sgpgme.c:
>
>                 found_key = NULL;
>                 /* Look for any key, not just private ones, or GPGMe doesn't
>                  * correctly set the revoked flag. */
>                 err = gpgme_op_keylist_start(ctx, keyid, 0);
>                 while ((err = gpgme_op_keylist_next(ctx, &key)) == 0) {
>                         if (key == NULL)
>                                 continue;
>
>                         if (!key->can_sign)
>                                 continue;
>
>                         if (key->protocol != gpgme_get_protocol(ctx)) {
>                                 debug_print("skipping a key (wrong protocol %d)\n", key->protocol);
>                                 gpgme_key_release(key);
>                                 continue;
>                         }
>
>                         if (key->expired) {
>                                 debug_print("skipping a key, expired");
>                                 gpgme_key_release(key);
>                                 continue;
>                         }
>                         if (key->revoked) {
>                                 debug_print("skipping a key, revoked");
>                                 gpgme_key_release(key);
>                                 continue;
>                         }
>                         if (key->disabled) {
>                                 debug_print("skipping a key, disabled");
>                                 gpgme_key_release(key);
>                                 continue;
>                         }
>
>                         if (found_key != NULL) {
>                                 gpgme_key_release(key);
>                                 gpgme_op_keylist_end(ctx);
>                                 g_warning("ambiguous specification of secret key '%s'\n", keyid);
>                                 privacy_set_error(_("Secret key specification is ambiguous"));
>                                 goto bail;
>                         }
>
>                         found_key = key;
>                 }
>                 gpgme_op_keylist_end(ctx);
>
>                 if (found_key == NULL) {
>                         g_warning("setup_signers start: %s", gpgme_strerror(err));
>                         privacy_set_error(_("Secret key not found (%s)"), gpgme_strerror(err));
>                         goto bail;
>                 }
> _______________________________________________
> Users mailing list
> Users at lists.claws-mail.org
> http://lists.claws-mail.org/cgi-bin/mailman/listinfo/users



-- 
Maurizio Marini
Via Collemare 14, 61039 San Costanzo (PU)
Tel.   +39.0721870286 Fax  +39-0721950396
GSM +39-335-8259739



More information about the Users mailing list