Gnus development mailing list
 help / color / mirror / Atom feed
* Problem with epg-signature-to-string!?
@ 2019-12-09 22:07 Mats Lidell
  2019-12-11 18:29 ` Eric Abrahamsen
  2019-12-11 20:56 ` Adam Sjøgren
  0 siblings, 2 replies; 6+ messages in thread
From: Mats Lidell @ 2019-12-09 22:07 UTC (permalink / raw)
  To: ding

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-12-13  9:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-09 22:07 Problem with epg-signature-to-string!? Mats Lidell
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

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).