From: Mats Lidell <mats.lidell@lidells.se>
To: ding@gnus.org
Subject: Problem with epg-signature-to-string!?
Date: Mon, 09 Dec 2019 23:07:44 +0100 [thread overview]
Message-ID: <87muc1dufj.fsf@lidells.se> (raw)
Hi,
After upgrading to latest tip version of emacs 27.0.50 I'm seeing this type of errors with encrypted signatures(!?)
Debugger entered--Lisp error: (error "Can’t convert the Nth character to unibyte") <-(N depending on which character it can't convert)
string-to-unibyte("Name containing non ascii character <email...>")
epg--decode-percent-escape("Name containing non ascii character <email...>")
epg--decode-percent-escape-as-utf-8("Name containing non ascii character <email...>")
epg-signature-to-string(#s(epg-signature :status good :key-id "<***>" :validity undefined :fingerprint "<***>" :creation-time 1575892337 :expiration-time nil :pubkey-algorithm 1 :digest-algorithm 8 :class 1 :version 4 :notations nil))
[...]
I suspect it started after this update
commit 98387b9e2455b0bd5a2aafe6fac939fb111eedce
Author: Lars Ingebrigtsen <larsi@gnus.org>
Date: Wed Oct 23 10:50:29 2019 +0200
Make display of S/MIME signatures slightly better
* lisp/epg.el (epg-signature-to-string): Decode percent escapes
(bug#36101).
Anyone else seeing this? Is this due to bad encoding in the signatures or error when decoding it?
Yours
--
%% Mats
next reply other threads:[~2019-12-09 22:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-09 22:07 Mats Lidell [this message]
2019-12-11 18:29 ` Eric Abrahamsen
2019-12-11 20:56 ` Adam Sjøgren
2019-12-12 8:53 ` Robert Pluim
2019-12-12 10:21 ` Adam Sjøgren
2019-12-13 9:44 ` Mats Lidell
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=87muc1dufj.fsf@lidells.se \
--to=mats.lidell@lidells.se \
--cc=ding@gnus.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).