* bug#42398: 26.3; mm-view-pkcs7-verify not using easypg when set
@ 2020-07-16 12:45 Timothy J. Miller
2020-10-17 9:58 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Timothy J. Miller @ 2020-07-16 12:45 UTC (permalink / raw)
To: 42398
[-- Attachment #1: Type: text/plain, Size: 527 bytes --]
When EasyPG is enabled, multipart/signed and application/pkcs7-mime
enveloped messages are properly handled.
However, application/pkcs7-mime messages of type signed (aka "opaque
signed") are passed off to smime-verify-region, which is incorrect.
This also happens with messages that are signed and encrypted, in that
case the outer envelope is properly handled, but the inner message is of
type application/pkcs7-mime signed, which then follows the same from
through mm-view-pkcs7.
Backtrace below, sample message attached.
[-- Attachment #2: opaque-signed message --]
[-- Type: text/plain, Size: 10513 bytes --]
Received: from SA9PR09MB5517.namprd09.prod.outlook.com (2603:10b6:806:20::29)
by SA9PR09MB5390.namprd09.prod.outlook.com with HTTPS via
SA9PR03CA0024.NAMPRD03.PROD.OUTLOOK.COM; Thu, 16 Jul 2020 12:37:37 +0000
Received: from SA9PR09MB5390.namprd09.prod.outlook.com (2603:10b6:806:41::11)
by SA9PR09MB5517.namprd09.prod.outlook.com (2603:10b6:806:42::22) with
Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Thu, 16 Jul
2020 12:37:35 +0000
Received: from SA9PR09MB5390.namprd09.prod.outlook.com
([fe80::94be:16f6:cb00:1aa3]) by SA9PR09MB5390.namprd09.prod.outlook.com
([fe80::94be:16f6:cb00:1aa3%5]) with mapi id 15.20.3174.026; Thu, 16 Jul 2020
12:37:35 +0000
From: Timothy J Miller <tmiller@mitre.org>
To: Timothy J Miller <tmiller@mitre.org>
Subject: opaque signed
Thread-Topic: opaque signed
Thread-Index: AQHWW23hs++TKYfHqkufnEdWGFZAOw==
Date: Thu, 16 Jul 2020 07:37:35 -0500
Message-ID: <C1BAD6D4-53C0-402D-9F23-57211A8221B8@MITRE.ORG>
Accept-Language: en-US
Content-Language: en-US
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 04
X-MS-Exchange-Organization-AuthSource: SA9PR09MB5390.namprd09.prod.outlook.com
X-MS-Exchange-Organization-ComplianceLabelId:
8581680d-7be5-416f-8f6c-daa8e115280f
X-MS-Has-Attach: yes
X-MS-Exchange-Organization-Network-Message-Id:
592fa342-e857-4335-7b3a-08d829850468
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator:
X-MS-Exchange-Organization-RecordReviewCfmType: 0
x-originating-ip: [192.80.55.87]
user-agent: Microsoft-MacOutlook/16.38.20061401
x-ms-publictraffictype: Email
authentication-results: mitre.org; dkim=none (message not signed)
header.d=none;mitre.org; dmarc=none action=none header.from=mitre.org;
x-ms-office365-filtering-correlation-id: 592fa342-e857-4335-7b3a-08d829850468
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0;
x-ms-traffictypediagnostic: SA9PR09MB5517:
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-antispam-messagedata:
YELIEfD10Y2306pFnJYkla/mv6v0EDP7e20xWmx6G6+dQEPwJxPHVJbr2h0Bq0SsrO26nWY0TlaFc7IYexcj9D18RMcxe9MMr2tCx6N50FbXtupAuetODWExiwf6ZTQ0rOfXTMzrp7xNId+vYMUkqbJYojtUy060SoCWzJiGGO1KAZ7XJ8+16xuWMI4jIldKu7TvU7Ypi09QF6lfpgWitbYv0tARNbMBOLYzajROz9Te4d5DV1kBLHszGaoT3Pv6xgwebsTuJw6umKBStlAnag6acHCINLWU+GktiBaGZqGwg94rHtz2ZKE0+s6ymHDr/f2vAC9W29H3Px5DQqjfGb70KTIeEMehY9r8WqkiRSAIUEhFj1C7ABdSJnP7d/71CvfcEmyEGnUJWnmTIZE5j+fqrAT3kYEVEcse9Y7ZAYunTC3pMFwsccYgagASYIM8fhYQkG0Sb/Z4ni3ayISagjjFrkLQTOOVuqu/vLAPscc=
x-ms-exchange-transport-crosstenantheadersstamped: SA9PR09MB5517
x-forefront-antispam-report:
CIP:255.255.255.255;CTRY:;LANG:en;SCL:-1;SRV:;IPV:NLI;SFV:SKI;H:SA9PR09MB5390.namprd09.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:;DIR:INB;SFP:;
x-ms-exchange-crosstenant-originalarrivaltime: 16 Jul 2020 12:37:35.3981 (UTC)
x-ms-exchange-crosstenant-network-message-id:
592fa342-e857-4335-7b3a-08d829850468
x-ms-exchange-crosstenant-id: c620dc48-1d50-4952-8b39-df4d54d74d82
x-ms-exchange-crosstenant-fromentityheader: Hosted
x-ms-exchange-crosstenant-mailboxtype: HOSTED
x-ms-exchange-crosstenant-userprincipalname:
r7JF1JMrxCaOw6Ep33fLf+hD9iIoa4aXpa11zoP9l+hQiD3VRYqT54kPySwBgBTsCh5+o2A/ClNIwakSfQWWmg==
x-ms-exchange-transport-endtoendlatency: 00:00:01.7733007
x-ms-exchange-processed-by-bccfoldering: 15.20.3174.026
x-ms-exchange-crosstenant-authas: Internal
x-ms-exchange-crosstenant-authsource: SA9PR09MB5390.namprd09.prod.outlook.com
X-Microsoft-Antispam-Mailbox-Delivery:
ucf:0;jmr:0;auth:0;dest:I;ENG:(750128)(520002050)(706158)(944506458)(944626604);
X-Microsoft-Antispam-Message-Info:
b9eJX3jIV9yNT3W0uzOq7JvWa1bfYDXwe8opvKKtlsLqTLoBtdg5Efbo7mHF5Ij9LGoLSPJzIaiRGg2xJ7oLAMCGlry/uyv2yDHOcwbROMxlLQEPPtWecO6IPf+4ndFdGuBqMQSZUzSD1FfoXV1ZfZvuqsV1BxwNc3QebShAHhLcjD7EDjprdUHvhflnUagQWPCFUj08YP/XD8WLo9xLVw==
Content-Type: application/pkcs7-mime; smime-type=signed-data; name="smime.p7m"
Content-Disposition: attachment; filename="smime.p7m"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-TUID: PDx8IDA8aky4
MIIStQYJKoZIhvcNAQcCo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3u3WulALuxZ1RkH3WwM/7NsV4cailO0ue06
XKqvjAA=
[-- Attachment #3: Type: text/plain, Size: 8758 bytes --]
-- T
Debugger entered--Lisp error: (error "No CA configured")
signal(error ("No CA configured"))
error("No CA configured")
smime-verify-region(1 6638)
mm-view-pkcs7-verify((#<buffer *mm*-886728> ("application/pkcs7-mime" (name . "smime.p7m") (smime-type . "signed-data")) base64 nil ("attachment" (filename . "smime.p7m")) nil nil nil))
mm-view-pkcs7((#<buffer *mm*-886728> ("application/pkcs7-mime" (name . "smime.p7m") (smime-type . "signed-data")) base64 nil ("attachment" (filename . "smime.p7m")) nil nil nil) "tmiller@mitre.org")
mm-possibly-verify-or-decrypt((#<buffer *mm*-886728> ("application/pkcs7-mime" (name . "smime.p7m") (smime-type . "signed-data")) base64 nil ("attachment" (filename . "smime.p7m")) nil nil nil) ("application/pkcs7-mime" (name . "smime.p7m") (smime-type . "signed-data")) "tmiller@mitre.org")
mm-dissect-buffer(nil t)
gnus-display-mime(nil)
#f(compiled-function (&optional ihandles) #<bytecode 0x4c10a7d5>)()
gnus-article-prepare-display()
mu4e~view-gnus((:docid 14291 :subject "opaque signed" :date (24336 18959 0) :size 10513 :message-id "C1BAD6D4-53C0-402D-9F23-57211A8221B8@MITRE.ORG" :path "/Users/tmiller/Maildir/mitre/INBOX/cur/1594903081.62000_1.MM235917-PC,U=4603:2,S" :maildir "/mitre/INBOX" :priority normal :flags (seen attach) :parts ((:index 1 :name "smime.p7m" :mime-type "application/pkcs7-mime" :type (leaf attachment) :attachment t :size 6477)) :from (("Timothy J Miller" . "tmiller@mitre.org")) :to (("Timothy J Miller" . "tmiller@mitre.org")) :user-agent "Microsoft-MacOutlook/16.38.20061401"))
mu4e-view((:docid 14291 :subject "opaque signed" :date (24336 18959 0) :size 10513 :message-id "C1BAD6D4-53C0-402D-9F23-57211A8221B8@MITRE.ORG" :path "/Users/tmiller/Maildir/mitre/INBOX/cur/1594903081.62000_1.MM235917-PC,U=4603:2,S" :maildir "/mitre/INBOX" :priority normal :flags (seen attach) :parts ((:index 1 :name "smime.p7m" :mime-type "application/pkcs7-mime" :type (leaf attachment) :attachment t :size 6477)) :from (("Timothy J Miller" . "tmiller@mitre.org")) :to (("Timothy J Miller" . "tmiller@mitre.org")) :user-agent "Microsoft-MacOutlook/16.38.20061401"))
mu4e~headers-view-handler((:docid 14291 :subject "opaque signed" :date (24336 18959 0) :size 10513 :message-id "C1BAD6D4-53C0-402D-9F23-57211A8221B8@MITRE.ORG" :path "/Users/tmiller/Maildir/mitre/INBOX/cur/1594903081.62000_1.MM235917-PC,U=4603:2,S" :maildir "/mitre/INBOX" :priority normal :flags (seen attach) :parts ((:index 1 :name "smime.p7m" :mime-type "application/pkcs7-mime" :type (leaf attachment) :attachment t :size 6477)) :from (("Timothy J Miller" . "tmiller@mitre.org")) :to (("Timothy J Miller" . "tmiller@mitre.org")) :user-agent "Microsoft-MacOutlook/16.38.20061401"))
mu4e~proc-filter(#<process *mu4e-proc*> "\37624b\377(:view (\n\011:docid 14291\n\011:subject \"opaque signed\"\n\011:date (24336 18959 0)\n\011:size 10513\n\011:message-id \"C1BAD6D4-53C0-402D-9F23-57211A8221B8@MITRE.ORG\"\n\011:path \"/Users/tmiller/Maildir/mitre/INBOX/cur/1594903081.62000_1.MM235917-PC,U=4603:2,S\"\n\011:maildir \"/mitre/INBOX\"\n\011:priority normal\n\011:flags (seen attach)\n\011:parts ((:index 1 :name \"smime.p7m\" :mime-type \"application/pkcs7-mime\" :type (leaf attachment) :attachment t :size 6477 ))\n\011:from ((\"Timothy J Miller\" . \"tmiller@mitre.org\"))\n\011:to ((\"Timothy J Miller\" . \"tmiller@mitre.org\"))\n\011:user-agent \"Microsoft-MacOutlook/16.38.20061401\"\n)\n)\n\n;; mu> ")
In GNU Emacs 26.3 (build 1, x86_64-apple-darwin18.5.0, Carbon Version 158 AppKit 1671.4)
of 2020-03-24 built on Traviss-Mac.local
Repository revision: 9827e0bc3344ce5da9be2e2390bc6e319a3a94d8
Windowing system distributor 'Apple Inc.', version 10.15.5
Recent messages:
Entering debugger...
Mark set [2 times]
(New file)
Mark set
mwheel-scroll: Beginning of buffer [3 times]
Saving file /Users/tmiller/projects/scratch/smime-error...
Wrote /Users/tmiller/projects/scratch/smime-error
Making completion list...
mwheel-scroll: Beginning of buffer [4 times]
<s-backspace> is undefined
Configured using:
'configure --with-mac
--enable-mac-app=/Users/travis/build/railwaycat/homebrew-emacsmacport/build-scripts/emacs-source/tmproot
--prefix=/Users/travis/build/railwaycat/homebrew-emacsmacport/build-scripts/emacs-source/tmproot
--enable-mac-self-contained --with-modules'
Configured features:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS LCMS2
Important settings:
value of $LANG: en-US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Fundamental
Minor modes in effect:
diff-auto-refine-mode: t
global-flycheck-mode: t
projectile-mode: t
eyebrowse-mode: t
shell-dirtrack-mode: t
xclip-mode: t
override-global-mode: t
xterm-mouse-mode: t
display-time-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mac-mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
auto-fill-function: do-auto-fill
transient-mark-mode: t
Load-path shadows:
None found.
Features:
(shadow face-remap cl-print debug emacsbug sort gnus-cite smiley
shr-color shr svg xml dom mm-archive mail-extr qp gnus-art mm-uu mml2015
mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo gnus-start
gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo
parse-time gnus-spec gnus-int gnus-range gnus-win gnus nnheader wid-edit
mu4e desktop frameset mu4e-org org-element avl-tree generator org
org-macro org-footnote org-pcomplete org-list org-faces org-entities
org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table
ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs
org-loaddefs mu4e-main mu4e-view cal-menu calendar cal-loaddefs
browse-url mu4e-headers mu4e-compose mu4e-context mu4e-draft
mu4e-actions rfc2368 smtpmail sendmail mu4e-mark mu4e-message flow-fill
mu4e-proc mu4e-utils doc-view image-mode mu4e-lists hl-line mu4e-vars
message rmc puny rfc822 mml mml-sec gnus-util rmail rmail-loaddefs
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util
ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader
mu4e-meta go-mode url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util mailcap find-file ffap etags
xref project misearch multi-isearch vc-git diff-mode dired
dired-loaddefs jka-compr ido elec-pair .emacs markdown-mode noutline
outline ini-mode flycheck json map find-func groovy-mode yaml-mode
projectile grep compile ibuf-ext ibuffer ibuffer-loaddefs thingatpt
pcase spaceline-config spaceline-segments spaceline subr-x powerline
powerline-separators color powerline-themes base16-outrun-dark-theme
base16-theme transpose-frame eyebrowse format-spec em-smart
virtualenvwrapper gud s eshell-z em-dirs esh-var esh-io esh-cmd esh-opt
esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util
bash-completion shell pcomplete comint ansi-color ring delight advice
xclip exec-path-from-shell epa-file epa derived epg auto-package-update
dash use-package-ensure-system-package system-packages cl-extra
help-mode use-package use-package-ensure use-package-delight
use-package-diminish use-package-bind-key bind-key easy-mmode
use-package-core finder-inf rx edmacro kmacro info package easymenu
epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core
cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib xt-mouse time mule-util time-date
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/mac-win mac-win term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads kqueue mac lcms2 multi-tty make-network-process emacs)
Memory information:
((conses 16 541463 51298)
(symbols 48 49610 2)
(miscs 40 1228 482)
(strings 32 187260 8629)
(string-bytes 1 6418239)
(vectors 16 52501)
(vector-slots 8 1074050 16510)
(floats 8 527 685)
(intervals 56 7030 4448)
(buffers 992 55))
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#42398: 26.3; mm-view-pkcs7-verify not using easypg when set
2020-07-16 12:45 bug#42398: 26.3; mm-view-pkcs7-verify not using easypg when set Timothy J. Miller
@ 2020-10-17 9:58 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2020-10-17 9:58 UTC (permalink / raw)
To: Timothy J. Miller; +Cc: 42398
"Timothy J. Miller" <tmiller@mitre.org> writes:
> When EasyPG is enabled, multipart/signed and application/pkcs7-mime
> enveloped messages are properly handled.
>
> However, application/pkcs7-mime messages of type signed (aka "opaque
> signed") are passed off to smime-verify-region, which is incorrect.
>
> This also happens with messages that are signed and encrypted, in that
> case the outer envelope is properly handled, but the inner message is of
> type application/pkcs7-mime signed, which then follows the same from
> through mm-view-pkcs7.
>
> Backtrace below, sample message attached.
I'm able to reproduce this bug on Emacs 26.3, but not in Emacs 28, so I
think this was probably fixed along with a whole bunch of other related
problems earlier this year.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-17 9:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-16 12:45 bug#42398: 26.3; mm-view-pkcs7-verify not using easypg when set Timothy J. Miller
2020-10-17 9:58 ` Lars Ingebrigtsen
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.