From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 04 11:39:23 2018 Received: (at submit) by debbugs.gnu.org; 4 Dec 2018 16:39:24 +0000 Received: from localhost ([127.0.0.1]:60858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUDjH-00035S-6D for submit@debbugs.gnu.org; Tue, 04 Dec 2018 11:39:23 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUDjF-00035B-E1 for submit@debbugs.gnu.org; Tue, 04 Dec 2018 11:39:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUDj7-0007bB-Qd for submit@debbugs.gnu.org; Tue, 04 Dec 2018 11:39:16 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53411) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gUDj7-0007b3-Kf for submit@debbugs.gnu.org; Tue, 04 Dec 2018 11:39:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUDj0-0002ZB-Ke for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 11:39:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUDcg-0001n3-Rg for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 11:32:38 -0500 Received: from mx1.riseup.net ([198.252.153.129]:47802) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gUDcg-0001ko-H9 for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2018 11:32:34 -0500 Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id B9F251A0493 for ; Tue, 4 Dec 2018 08:32:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1543941152; bh=mANGrIpKjUEndBuZq1yW9W2NgusIUsBpPY/c4CVDIQY=; h=From:To:Subject:Date:From; b=ARIv2gRbNNoKncbJrtMthzT0Lh1rkKBwQtsNUm1AcLq8f0N1lSHJcOx/bU+8DcvO8 s6rUdiRp5vR2U7UBFwM+QFBYRYZkmtMYgw7GBQsJMgnXyyUMfQSS999wv5+oiBN/Lc xHCsMwARijQBMYxN1RZZ73pACW2bm5LzfH/uQwro= X-Riseup-User-ID: BB9CB1FDA47DA29205BC74A370D7AA68725E7541CCB0D8FCE5D5D06AB1DF1A83 Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id 40C348F2B8 for ; Tue, 4 Dec 2018 08:32:32 -0800 (PST) Received: by muck (Postfix, from userid 1000) id E656B411F9; Tue, 4 Dec 2018 11:32:31 -0500 (EST) From: micah anderson To: bug-gnu-emacs@gnu.org Subject: 25.2; mail-header-parse-address: scan-error "Unbalanced parenthesis" 7 32 Date: Tue, 04 Dec 2018 11:32:31 -0500 Message-ID: <87r2exb6cg.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) Hello, I was trying to send an encrypted email while in notmuch, to a user whose openpgp key had expired. When I tried to send the mail, I would get the following in the mini-buffer: mail-header-parse-address: scan-error "Unbalanced parenthesis" 7 32 I did M-x toggle-debug-on-error and tried again, and I see this: Debugger entered--Lisp error: (scan-error "Unbalanced parentheses" 7 32) scan-sexps(7 1) forward-sexp(1) mail-header-parse-address("dr ebs (\\_O<) ") mml-secure-check-user-id([cl-struct-epg-key none ([cl-struct-epg-sub-key expired (sign certify) nil 1 4096 "A5E6BCA629BA4127" (20587 . 32329) (23459 . 54374) "B2B397904D39F3B3D4BA511EA5E6BCA629BA4127"] [cl-struct-epg-sub-key expired (authentication) nil 1 2048 "D35B7CEAEC88B93E" (21257 . 63618) nil "12B793B0865848CE63DEEA37D35B7CEAEC88B93E"] [cl-struct-epg-sub-key expired (encrypt) nil 1 4096 "55D07B549A11DF03" (20587 . 32329) nil "525B1A94392DE6015619ED4F55D07B549A11DF03"]) ([cl-struct-epg-user-id expired "dr ebs " nil] [cl-struct-epg-user-id revoked "dr ebs " nil] [cl-struct-epg-user-id revoked "dr ebs (>O_/) " nil] [cl-struct-epg-user-id revoked "dr ebs (\\_O<) " nil])] "") mml-secure-find-usable-keys([cl-struct-epg-context OpenPGP "/usr/bin/gpg2= " nil nil nil nil nil nil nil (epg-passphrase-callback-function) nil nil ni= l nil nil nil nil nil nil "" nil] "" encrypt) #[(name) "\306 \n#\211G\211\307U\203& Once I refreshed this user's key, I was able to send the message without error. The user has some UIDs on their key that have a comment in them with ascii ducks: (3) dre ebs (>O_/) (4) dre ebs (\_O<) They have been revoked now that I refreshed, so I guess it did not consider these keys because of that, but before it was considering them and was choking on the ducks, a sexp injection? Thanks! micah In GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-08-26, modified by Debian built on x86-csail-01 Windowing system distributor 'The X.Org Foundation', version 11.0.12003000 System Description: Debian GNU/Linux testing (buster) Configured using: 'configure --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:= /usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share= /emacs/site-lisp --with-sound=3Dalsa --without-gconf --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/25.2/site-lisp:= /usr/local/share/emacs/site-lisp:/usr/share/emacs/25.2/site-lisp:/usr/share= /emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-g -O2 -fdebug-prefix-map=3D/build/emacs-7bZ65w/emacs-25.2+1=3D. -fstack-protecto= r-strong -Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2' LDFLAGS=3D-Wl,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 Major mode: notmuch-show Minor modes in effect: dumb-jump-mode: t nyan-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t diff-auto-refine-mode: t ido-vertical-mode: t ido-everywhere: t icomplete-mode: t display-time-mode: t delete-selection-mode: t show-paren-mode: t minibuffer-depth-indicate-mode: t helm-descbinds-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t visual-line-mode: t transient-mark-mode: t Recent messages: Doing Fcc... Sending...done debug: postpone cleanup hook debug: done exit actions View mode: type C-h for help, h for commands, q to quit. Mark saved where search started Mark set [4 times] Mark deactivated Mark set [4 times] is undefined [2 times] Load-path shadows: /home/user/.emacs.d/plugins/post hides /home/user/.emacs.d/post /home/user/.emacs.d/elpa/emms-player-mpv-20180415.1958/emms-player-mpv hide= s /home/user/.emacs.d/elpa/emms-20180417.2218/emms-player-mpv ~/.emacs.d/plugins/puppet-flymake/flymake-puppet hides /home/user/.emacs.d/= elpa/flymake-puppet-20170731.2254/flymake-puppet ~/.emacs.d/plugins/puppet-syntax-emacs/puppet-mode hides /home/user/.emacs.= d/elpa/puppet-mode-20171221.649/puppet-mode /home/user/.emacs.d/elpa/color-theme-solarized-20171024.825/solarized-theme= hides /home/user/.emacs.d/elpa/solarized-theme-20180621.2107/solarized-the= me /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch hides /usr/share/ema= cs/site-lisp/elpa/notmuch-0.28/notmuch /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-maildir-fcc hides /u= sr/share/emacs/site-lisp/elpa/notmuch-0.28/notmuch-maildir-fcc /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-show hides /usr/shar= e/emacs/site-lisp/elpa/notmuch-0.28/notmuch-show /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-pkg hides /usr/share= /emacs/site-lisp/elpa/notmuch-0.28/notmuch-pkg /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-tag hides /usr/share= /emacs/site-lisp/elpa/notmuch-0.28/notmuch-tag /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-parser hides /usr/sh= are/emacs/site-lisp/elpa/notmuch-0.28/notmuch-parser /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-message hides /usr/s= hare/emacs/site-lisp/elpa/notmuch-0.28/notmuch-message /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-draft hides /usr/sha= re/emacs/site-lisp/elpa/notmuch-0.28/notmuch-draft /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-mua hides /usr/share= /emacs/site-lisp/elpa/notmuch-0.28/notmuch-mua /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-tree hides /usr/shar= e/emacs/site-lisp/elpa/notmuch-0.28/notmuch-tree /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-print hides /usr/sha= re/emacs/site-lisp/elpa/notmuch-0.28/notmuch-print /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-address hides /usr/s= hare/emacs/site-lisp/elpa/notmuch-0.28/notmuch-address /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-company hides /usr/s= hare/emacs/site-lisp/elpa/notmuch-0.28/notmuch-company /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-compat hides /usr/sh= are/emacs/site-lisp/elpa/notmuch-0.28/notmuch-compat /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-jump hides /usr/shar= e/emacs/site-lisp/elpa/notmuch-0.28/notmuch-jump /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-lib hides /usr/share= /emacs/site-lisp/elpa/notmuch-0.28/notmuch-lib /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-query hides /usr/sha= re/emacs/site-lisp/elpa/notmuch-0.28/notmuch-query /home/user/.emacs.d/elpa/notmuch-20180503.1659/coolj hides /usr/share/emacs= /site-lisp/elpa/notmuch-0.28/coolj /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-hello hides /usr/sha= re/emacs/site-lisp/elpa/notmuch-0.28/notmuch-hello /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-wash hides /usr/shar= e/emacs/site-lisp/elpa/notmuch-0.28/notmuch-wash /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-autoloads hides /usr= /share/emacs/site-lisp/elpa/notmuch-0.28/notmuch-autoloads /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-crypto hides /usr/sh= are/emacs/site-lisp/elpa/notmuch-0.28/notmuch-crypto /home/user/.emacs.d/elpa/notmuch-20180503.1659/make-deps hides /usr/share/e= macs/site-lisp/elpa/notmuch-0.28/make-deps /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-maildir-fcc hides /u= sr/share/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-maildir-fcc /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-pkg hides /usr/share= /emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-pkg /usr/share/emacs/site-lisp/elpa/notmuch-0.28/notmuch-version hides /usr/sha= re/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-version /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-draft hides /usr/sha= re/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-draft /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-message hides /usr/s= hare/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-message /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-address hides /usr/s= hare/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-address /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-mua hides /usr/share= /emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-mua /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-tag hides /usr/share= /emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-tag /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-jump hides /usr/shar= e/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-jump /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-show hides /usr/shar= e/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-show /home/user/.emacs.d/elpa/notmuch-20180503.1659/coolj hides /usr/share/emacs= /site-lisp/elpa-src/notmuch-0.28/coolj /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-company hides /usr/s= hare/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-company /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-hello hides /usr/sha= re/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-hello /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-print hides /usr/sha= re/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-print /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-tree hides /usr/shar= e/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-tree /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-lib hides /usr/share= /emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-lib /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-query hides /usr/sha= re/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-query /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-wash hides /usr/shar= e/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-wash /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-autoloads hides /usr= /share/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-autoloads /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-crypto hides /usr/sh= are/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-crypto /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-parser hides /usr/sh= are/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-parser /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch hides /usr/share/ema= cs/site-lisp/elpa-src/notmuch-0.28/notmuch /home/user/.emacs.d/elpa/notmuch-20180503.1659/make-deps hides /usr/share/e= macs/site-lisp/elpa-src/notmuch-0.28/make-deps /home/user/.emacs.d/elpa/notmuch-20180503.1659/notmuch-compat hides /usr/sh= are/emacs/site-lisp/elpa-src/notmuch-0.28/notmuch-compat /home/user/.emacs.d/custom hides /usr/share/emacs/25.2/lisp/custom /home/user/.emacs.d/elpa/let-alist-1.0.5/let-alist hides /usr/share/emacs/2= 5.2/lisp/emacs-lisp/let-alist /home/user/.emacs.d/elpa/seq-20151121.1017/seq hides /usr/share/emacs/25.2/= lisp/emacs-lisp/seq /home/user/.emacs.d/plugins/avl-tree hides /usr/share/emacs/25.2/lisp/emacs= -lisp/avl-tree Features: (shadow emacsbug misearch multi-isearch view sendmail debug gnus gnus-ems nnheader mml2015 qp sort gnus-alias flyspell ispell mail-extr mm-archive warnings dumb-jump popup f etags xref project my-ace my-avy avy my-elpa my-puppet flymake-puppet flymake compile my-nyan nyan-mode my-ediff ediff dired+ dired-x ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util dired-aux my-magit magit-gh-pulls s gh gh-users gh-issues gh-pulls gh-repos gh-comments gh-gist gh-oauth gh-api logito gh-cache pcache eieio-base gh-auth gh-url gh-profile magit-obsolete magit-blame magit-stash magit-bisect magit-remote magit-commit epa magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-collab ghub url-http tls gnutls url-gw url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars let-alist json map auth-source magit-files magit-refs magit-status subr-x magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-autorevert autorevert filenotify magit-process magit-margin magit-mode git-commit recentf tree-widget magit-git magit-section magit-utils vc-git magit-popup log-edit pcvs-util add-log with-editor async-bytecomp shell server dash my-notmuch eudc cus-edit eudc-vars notmuch hl-line notmuch-message notmuch-hello wid-edit notmuch-tree notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-draft notmuch-maildir-fcc notmuch-address notmuch-company notmuch-parser notmuch-wash diff-mode coolj notmuch-query goto-addr thingatpt icalendar diary-lib diary-loaddefs notmuch-tag crm notmuch-lib notmuch-version notmuch-compat message rfc822 mml mailabbrev mail-utils gmm-utils mailheader mm-view mml-smime mml-sec epg gnus-util smime password-cache dig mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr my-smex smex my-org org-clock org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs org-install my-ido ido-vertical-mode flx-ido flx ido my-tls my-generickeys my-generic speedbar sb-image ezimage dframe icomplete saveplace windmove time delsel avoid paren mb-depth helm-descbinds helm derived helm-source helm-multi-match easy-mmode helm-lib wdired dired advice async cus-start cus-load my-package finder-inf edmacro kmacro rx gh-common marshal eieio-compat cl-seq cl eieio eieio-core cl-macs logito-autoloads info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core 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 charscript case-table epa-hook jka-cmpr-hook help simple abbrev 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1690192 85853) (symbols 48 48520 0) (miscs 40 4379 1198) (strings 32 221439 20423) (string-bytes 1 6583248) (vectors 16 39009) (vector-slots 8 997769 40884) (floats 8 963 638) (intervals 56 143870 4992) (buffers 976 28)) =2D-=20 micah From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 04 14:03:22 2018 Received: (at 33613) by debbugs.gnu.org; 4 Dec 2018 19:03:22 +0000 Received: from localhost ([127.0.0.1]:60960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUFyc-0007Ax-2C for submit@debbugs.gnu.org; Tue, 04 Dec 2018 14:03:22 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUFya-0007Af-MK for 33613@debbugs.gnu.org; Tue, 04 Dec 2018 14:03:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUFyR-0005PN-U6 for 33613@debbugs.gnu.org; Tue, 04 Dec 2018 14:03:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUFyO-0005Mo-54; Tue, 04 Dec 2018 14:03:08 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1gUFyM-0000jB-9W; Tue, 04 Dec 2018 14:03:06 -0500 From: Glenn Morris To: micah anderson Subject: Re: bug#33613: 25.2; mail-header-parse-address: scan-error "Unbalanced parenthesis" 7 32 References: <87r2exb6cg.fsf@riseup.net> X-Spook: CNCIS Fusion Center Social media Semtex Palestine X-Ran: A/5SF=J*lk+1V!mAnWAi(ww*-3nVY]HKJa4fwiNf'D6MLZRs:Y_,66}UoA X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 04 Dec 2018 14:03:05 -0500 In-Reply-To: <87r2exb6cg.fsf@riseup.net> (micah anderson's message of "Tue, 04 Dec 2018 11:32:31 -0500") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 33613 Cc: 33613@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) micah anderson wrote: > mail-header-parse-address("dr ebs (\\_O<) ") It could probably be handled more elegantly, but IIUC "dr ebs (\\_O<) " isn't valid in an email header, because the () are special characters that should be quoted in the display name, per RFC5322. Ie this works: (mail-header-parse-address "\"dr ebs (\\_O<)\" ") A nice summary at https://stackoverflow.com/questions/24940588/validation-format-of-display-name-in-from-header From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 04 14:47:00 2018 Received: (at 33613) by debbugs.gnu.org; 4 Dec 2018 19:47:00 +0000 Received: from localhost ([127.0.0.1]:60983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUGep-0008Ll-H5 for submit@debbugs.gnu.org; Tue, 04 Dec 2018 14:46:59 -0500 Received: from mx1.riseup.net ([198.252.153.129]:48625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUGeo-0008Ld-9y for 33613@debbugs.gnu.org; Tue, 04 Dec 2018 14:46:59 -0500 Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 57D741A0540; Tue, 4 Dec 2018 11:46:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1543952817; bh=+F6Yd2QR93iR39UAFp1TXZVpPecz3Xayb1H1GlFaZkM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=rFw1YsEOo63flWWH7f4cdxnTuoZh0TlHrDgcS+y3o4DPKpUbCV1V+t/yc4MvXs90m pf2vBWWUbNKA47fHTVtvwI/+fMOC4htq4bQELMTlVkibRvvbDA66NmlTVhDMBvej+i 08m8hemGRzbB1CL1shQmCPalHP8vwg2of5xjK91o= X-Riseup-User-ID: B37CCB513BDE1C8FA5F3F104086B3ABB8476D859E04D6CFD233441DB4CC39977 Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id 04FB78F39A; Tue, 4 Dec 2018 11:46:56 -0800 (PST) Received: by muck (Postfix, from userid 1000) id DC449412C4; Tue, 4 Dec 2018 14:46:56 -0500 (EST) From: micah anderson To: Glenn Morris Subject: Re: bug#33613: 25.2; mail-header-parse-address: scan-error "Unbalanced parenthesis" 7 32 In-Reply-To: References: <87r2exb6cg.fsf@riseup.net> Date: Tue, 04 Dec 2018 14:46:56 -0500 Message-ID: <87r2excbwv.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 33613 Cc: 33613@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Glenn Morris writes: > micah anderson wrote: > >> mail-header-parse-address("dr ebs (\\_O<) ") > > It could probably be handled more elegantly, but IIUC > > "dr ebs (\\_O<) " > > isn't valid in an email header, because the () are special characters > that should be quoted in the display name, per RFC5322. Yeah, the text that comes before the in an OpenPGP userID is defined as arbitrary UTF-8 text, so it should not be considered to be following any email address standard. -- micah From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 04 15:02:29 2018 Received: (at 33613) by debbugs.gnu.org; 4 Dec 2018 20:02:29 +0000 Received: from localhost ([127.0.0.1]:60987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUGtp-0000Hl-59 for submit@debbugs.gnu.org; Tue, 04 Dec 2018 15:02:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUGtn-0000HY-F7 for 33613@debbugs.gnu.org; Tue, 04 Dec 2018 15:02:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUGtf-0006X8-Si for 33613@debbugs.gnu.org; Tue, 04 Dec 2018 15:02:21 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUGta-0006UB-P1; Tue, 04 Dec 2018 15:02:14 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1gUGta-0005id-LZ; Tue, 04 Dec 2018 15:02:14 -0500 From: Glenn Morris To: micah anderson Subject: Re: bug#33613: 25.2; mail-header-parse-address: scan-error "Unbalanced parenthesis" 7 32 References: <87r2exb6cg.fsf@riseup.net> <87r2excbwv.fsf@riseup.net> X-Spook: Biological event Rootkit Domestic security monarchist X-Ran: Z{g1L|1~p~g6OIoq3Lt9 (micah anderson's message of "Tue, 04 Dec 2018 14:46:56 -0500") Message-ID: <3eva49kqm1.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 33613 Cc: 33613@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) micah anderson wrote: > Yeah, the text that comes before the in an OpenPGP userID > is defined as arbitrary UTF-8 text, so it should not be considered to be > following any email address standard. OK, but there's a de facto standard [1] that it be a normal email address. GPG for example won't create a uid like the one in this report without --allow-freeform-uid, which "should only be used in very special environments". [1] https://tools.ietf.org/html/rfc4880#section-5.11 "By convention, it includes an RFC 2822 mail name-addr". From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 04 15:02:59 2018 Received: (at control) by debbugs.gnu.org; 4 Dec 2018 20:02:59 +0000 Received: from localhost ([127.0.0.1]:60990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUGuJ-0000IZ-Fo for submit@debbugs.gnu.org; Tue, 04 Dec 2018 15:02:59 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUGuI-0000IL-4R for control@debbugs.gnu.org; Tue, 04 Dec 2018 15:02:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUGuC-00076R-Er for control@debbugs.gnu.org; Tue, 04 Dec 2018 15:02:53 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUGuC-00075p-By for control@debbugs.gnu.org; Tue, 04 Dec 2018 15:02:52 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1gUGuC-0007nQ-9y for control@debbugs.gnu.org; Tue, 04 Dec 2018 15:02:52 -0500 Subject: control message for bug 33613 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Tue, 04 Dec 2018 15:02:52 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) severity 33613 minor From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 04 15:23:53 2018 Received: (at 33613) by debbugs.gnu.org; 4 Dec 2018 20:23:53 +0000 Received: from localhost ([127.0.0.1]:32770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUHEX-0002kx-Ht for submit@debbugs.gnu.org; Tue, 04 Dec 2018 15:23:53 -0500 Received: from mx1.riseup.net ([198.252.153.129]:56566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUHEW-0002kn-6d for 33613@debbugs.gnu.org; Tue, 04 Dec 2018 15:23:52 -0500 Received: from cotinga.riseup.net (cotinga-pn.riseup.net [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 34E391A1A6B; Tue, 4 Dec 2018 12:23:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1543955031; bh=fLzCMhXy3cegoqpHpMNNv/PzULYYQaKI4CKRZXeRhuQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Hvf1QWx/IagLk7OSjFdwdo4YeZU1yl7rNWukSTRJBbB9TaOQUOewdzineWZyeJkWZ Cagws/SHQwwr0VLTKEDdm7Ed1NbXAslzIN0ROlyl6f6zYlnlsT/xLT+b5HwhapCHb/ GTSDcWADCa9RVXH90V0RRo1Q4VUu2e08FxF06fGg= X-Riseup-User-ID: 3E858A06D80AEABFCDB57372D3949CDDFB06AB3A8F142A4536BA5A120D7B988D Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id CD08D8F309; Tue, 4 Dec 2018 12:23:50 -0800 (PST) Received: by muck (Postfix, from userid 1000) id 1BABE412C4; Tue, 4 Dec 2018 15:23:49 -0500 (EST) From: micah anderson To: Glenn Morris Subject: Re: bug#33613: 25.2; mail-header-parse-address: scan-error "Unbalanced parenthesis" 7 32 In-Reply-To: <3eva49kqm1.fsf@fencepost.gnu.org> References: <87r2exb6cg.fsf@riseup.net> <87r2excbwv.fsf@riseup.net> <3eva49kqm1.fsf@fencepost.gnu.org> Date: Tue, 04 Dec 2018 15:23:49 -0500 Message-ID: <87o9a1ca7e.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 33613 Cc: 33613@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Glenn Morris writes: > micah anderson wrote: > >> Yeah, the text that comes before the in an OpenPGP userID >> is defined as arbitrary UTF-8 text, so it should not be considered to be >> following any email address standard. > > OK, but there's a de facto standard [1] that it be a normal email > address. GPG for example won't create a uid like the one in this report > without --allow-freeform-uid, which "should only be used in very special > environments". You are right. > [1] https://tools.ietf.org/html/rfc4880#section-5.11 > "By convention, it includes an RFC 2822 mail name-addr" yes, except when it doesn't. That quote continues, here is the full thing: "By convention, it includes an RFC 2822 [RFC2822] mail name-addr, but there are no restrictions on its content." I think we agree on this - these are not normal, they aren't conventional, but mail-header-parse-address should be able to deal with these cases. -- micah From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 23 11:36:58 2019 Received: (at 33613) by debbugs.gnu.org; 23 Sep 2019 15:36:58 +0000 Received: from localhost ([127.0.0.1]:36798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCQOY-0005q4-Eo for submit@debbugs.gnu.org; Mon, 23 Sep 2019 11:36:58 -0400 Received: from quimby.gnus.org ([80.91.231.51]:38680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCQOW-0005pw-AK for 33613@debbugs.gnu.org; Mon, 23 Sep 2019 11:36:56 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iCQOS-00008i-LQ; Mon, 23 Sep 2019 17:36:55 +0200 From: Lars Ingebrigtsen To: micah anderson Subject: Re: bug#33613: 25.2; mail-header-parse-address: scan-error "Unbalanced parenthesis" 7 32 References: <87r2exb6cg.fsf@riseup.net> Date: Mon, 23 Sep 2019 17:36:52 +0200 In-Reply-To: <87r2exb6cg.fsf@riseup.net> (micah anderson's message of "Tue, 04 Dec 2018 11:32:31 -0500") Message-ID: <87d0fr3tyj.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: micah anderson writes: > mail-header-parse-address("dr ebs (\\_O<) ") > mml-secure-check-user-id([cl-struct-epg-key none I've now made mml-secure-check-user-id ignore keys that aren't valid email addresses instead of bugging out in Emacs 27. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 33613 Cc: 33613@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) micah anderson writes: > mail-header-parse-address("dr ebs (\\_O<) ") > mml-secure-check-user-id([cl-struct-epg-key none I've now made mml-secure-check-user-id ignore keys that aren't valid email addresses instead of bugging out in Emacs 27. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 23 11:37:04 2019 Received: (at control) by debbugs.gnu.org; 23 Sep 2019 15:37:04 +0000 Received: from localhost ([127.0.0.1]:36802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCQOd-0005qm-Pf for submit@debbugs.gnu.org; Mon, 23 Sep 2019 11:37:03 -0400 Received: from quimby.gnus.org ([80.91.231.51]:38698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCQOc-0005qP-4G for control@debbugs.gnu.org; Mon, 23 Sep 2019 11:37:02 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iCQOZ-000090-DL for control@debbugs.gnu.org; Mon, 23 Sep 2019 17:37:01 +0200 Date: Mon, 23 Sep 2019 17:36:59 +0200 Message-Id: <87blvb3tyc.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #33613 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 33613 fixed close 33613 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 33613 fixed close 33613 27.1 quit From unknown Sat Aug 16 19:16:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 22 Oct 2019 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator