all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Vincent Bernat <bernat@luffy.cx>
Cc: 25092@debbugs.gnu.org
Subject: bug#25092: 25.1; MML doesn't handle GPG keys with a DOB
Date: Fri, 30 Aug 2019 12:42:45 +0200	[thread overview]
Message-ID: <87v9ufgcii.fsf@gnus.org> (raw)
In-Reply-To: <87vav2to4o.fsf@luffy.cx> (Vincent Bernat's message of "Fri, 02 Dec 2016 15:13:43 +0100")

Vincent Bernat <bernat@luffy.cx> writes:

> When trying to encrypt a message to a recipient whose GPG key contains a
> date of birth (for example 96122F32E770733EDEBD190FC5C329EC35C2E2F1), I
> get an error in mml-secure-check-user-id because one of the uid is a
> date of birth and not an email address.
>
> Therefore, (mail-header-parse-address (epg-user-id-string uid)) is nil
> and downcase fails. Adding (car (mail-header-parse-address
> (epg-user-id-string uid))) to the condition fixes the problem.

You didn't include a backtrace, so I'm not 100% sure what code fails,
but according to your description I think it's likely that this bug was
fixed by the commit to Emacs 27 below, and I'm closing this bug report.
If this is still a problem, please reopen.

commit 90177d7f12d25e403abc6f1bdf242aed308a7bb8
Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date:   Fri Jan 18 03:12:07 2019 -0500

    Avoid elisp crash for OpenPGP User IDs with no e-mail address
    
    * lisp/gnus/mml-sec.el (mml-secure-check-user-id): Verify that
    there is an e-mail address in the current User ID before trying
    to downcase it.  (Bug#34121)
    
    Copyright-paperwork-exempt: yes


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2019-08-30 10:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-02 14:13 bug#25092: 25.1; MML doesn't handle GPG keys with a DOB Vincent Bernat
2019-08-30 10:42 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v9ufgcii.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=25092@debbugs.gnu.org \
    --cc=bernat@luffy.cx \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.