From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 10 03:57:02 2016 Received: (at submit) by debbugs.gnu.org; 10 Dec 2016 08:57:03 +0000 Received: from localhost ([127.0.0.1]:36525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFdSo-0004rN-CC for submit@debbugs.gnu.org; Sat, 10 Dec 2016 03:57:02 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFdSm-0004r3-EX for submit@debbugs.gnu.org; Sat, 10 Dec 2016 03:57:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFdSf-0007Ge-R8 for submit@debbugs.gnu.org; Sat, 10 Dec 2016 03:56:55 -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]:58755) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cFdSf-0007GS-Nj for submit@debbugs.gnu.org; Sat, 10 Dec 2016 03:56:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFdSd-0002so-LL for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 03:56:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFdSa-0007CC-24 for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 03:56:51 -0500 Received: from mail.kapsi.fi ([217.30.184.167]:52245) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cFdSZ-00074T-QO for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 03:56:47 -0500 Received: from dsl-roibrasgw1-54fb8f-106.dhcp.inet.fi ([84.251.143.106] helo=mithlond.arda) by mail.kapsi.fi with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1cFdSO-0007rV-R5 for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 10:56:36 +0200 Received: from dtw by mithlond.arda with local (Exim 4.84_2) (envelope-from ) id 1cFdSO-0001or-DY for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2016 10:56:36 +0200 From: Teemu Likonen To: bug-gnu-emacs@gnu.org Subject: 25.1.90; Gnus: Sending a GnuPG-signed message executes the signing operation twice when using gcc field in the message (annoyance with smartcards) Date: Sat, 10 Dec 2016 10:56:36 +0200 Message-ID: <871sxgw4aj.fsf@iki.fi> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SA-Exim-Connect-IP: 84.251.143.106 X-SA-Exim-Mail-From: tlikonen@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false 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.4 (----) 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: -4.4 (----) In Gnus, when sending a GnuPG-signed message the signing operation is executed twice if the message has gcc field for storing local copy. It seems that the background "gpg --detach-sign" process is executed once for the outgoing message and once for the local copy (gcc). It's a small annoyance (and first a surprise) when using external OpenPGP smartcard for the secret-key operation. My Yubikey smartcard has to be touched before secret key operation is allowed. Some other smartcards require pin code on physical machine. Would a single sign operation suffice in Gnus? After all, it's just two copies of the same message? In GNU Emacs 25.1.90.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5) of 2016-12-08 built on mithlond Repository revision: 08decbd04b8346323b80f0dea84a462fe1f46b3f Windowing system distributor 'The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.6 (jessie) Configured using: 'configure --prefix=/home/dtw/.local --with-x-toolkit=gtk3 --with-xwidgets --with-wide-int' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS Important settings: value of $LC_MESSAGES: C value of $LANG: fi_FI.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Group Minor modes in effect: diff-auto-refine-mode: t gnus-topic-mode: t gnus-undo-mode: t ido-everywhere: t global-undo-tree-mode: t show-paren-mode: t winner-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 transient-mark-mode: t Load-path shadows: ~/.emacs.d/omat/elisp/loaddefs hides /home/dtw/.local/share/emacs/25.1.90/lisp/loaddefs Features: (shadow emacsbug vc-git diff-mode conf-mode timezone dired-aux sh-script smie executable shr dom sendmail wcheck-mode nnir gnus-fun flow-fill sort gnus-cite qp mm-archive mail-extr gnus-bcklg gnus-async gnus-ml disp-table bs char-fold misearch multi-isearch org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view subr-x jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func suomalainen-kalenteri solar cal-dst holidays hol-loaddefs cal-menu calendar cal-loaddefs tabify imenu man gnus-topic nndraft nnmh epa-file epa network-stream nsm auth-source starttls nnmbox nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap nntp gnus-cache gnus-bogofilter gnus-sum gnus-group gnus-undo nnnotmuch nnml gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message dired format-spec rfc822 mml mml-sec password-cache epg mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader gnus-util mail-utils mm-util help-fns mail-prsvr wid-edit ido undo-tree diff paren winner rx slime-fancy slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-scratch slime-presentations advice bridge slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-repl elp slime-parse slime derived gud apropos compile etags xref cl-seq project eieio eieio-core arc-mode archive-mode noutline outline easy-mmode pp comint ansi-color ring hyperspec cl-macs thingatpt browse-url cl slime-autoloads edmacro kmacro finder-inf tex-site info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib server 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 xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 486780 47564) (symbols 48 49228 7) (miscs 40 1479 2071) (strings 32 118529 18925) (string-bytes 1 3461974) (vectors 16 50528) (vector-slots 8 1676572 174589) (floats 8 1089 851) (intervals 56 21472 360) (buffers 976 116) (heap 1024 81998 12287)) From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 11 18:42:45 2018 Received: (at control) by debbugs.gnu.org; 11 Apr 2018 22:42:45 +0000 Received: from localhost ([127.0.0.1]:46759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6ORw-0004NQ-SO for submit@debbugs.gnu.org; Wed, 11 Apr 2018 18:42:44 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:51009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f6ORv-0004NJ-8J for control@debbugs.gnu.org; Wed, 11 Apr 2018 18:42:43 -0400 Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1f6ORs-0003ZU-TT for control@debbugs.gnu.org; Thu, 12 Apr 2018 00:42:42 +0200 Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f6ORn-0003Ik-3r for control@debbugs.gnu.org; Thu, 12 Apr 2018 00:42:35 +0200 To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #25155 Message-Id: Date: Thu, 12 Apr 2018 00:42:35 +0200 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 (-) forcemerge 25155 25249 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 22 20:16:43 2019 Received: (at 25155) by debbugs.gnu.org; 23 Sep 2019 00:16:43 +0000 Received: from localhost ([127.0.0.1]:34699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCC1z-0002fd-7W for submit@debbugs.gnu.org; Sun, 22 Sep 2019 20:16:43 -0400 Received: from quimby.gnus.org ([80.91.231.51]:49818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCC1y-0002fW-Bk for 25155@debbugs.gnu.org; Sun, 22 Sep 2019 20:16:42 -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 1iCC1u-0004i6-56; Mon, 23 Sep 2019 02:16:40 +0200 From: Lars Ingebrigtsen To: Teemu Likonen Subject: Re: bug#25155: 25.1.90; Gnus: Sending a GnuPG-signed message executes the signing operation twice when using gcc field in the message (annoyance with smartcards) References: <871sxgw4aj.fsf@iki.fi> Date: Mon, 23 Sep 2019 02:16:37 +0200 In-Reply-To: <871sxgw4aj.fsf@iki.fi> (Teemu Likonen's message of "Sat, 10 Dec 2016 10:56:36 +0200") Message-ID: <878sqfeuje.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: Teemu Likonen writes: > Would a single sign operation suffice in Gnus? After all, it's just two > copies of the same message? Indeed. But, man, was this difficult to debug, because putting a `debug' statement into any of the mml functions just didn't work. It turns out you had to say 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: 25155 Cc: 25155@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 (-) Teemu Likonen writes: > Would a single sign operation suffice in Gnus? After all, it's just two > copies of the same message? Indeed. But, man, was this difficult to debug, because putting a `debug' statement into any of the mml functions just didn't work. It turns out you had to say (let ((inhibit-redisplay nil)) (debug)) to get it to debug. (I've now amended the doc string.) So that took like nine hours, and it turns out that (logically enough) the second call to the encoding function is done from `gnus-inews-do-gcc'. It doesn't really know anything about what may have happened before -- it just interprets the Gcc header, and then calls `message-encode-message-body', which will encode the data again. So to avoid the double encoding, Message needs some way to tell this function not do to that, but instead cache the encoded value and make `gnus-inews-do-gcc' use that instead. Hm... Perhaps a buffer-local variable will do the trick... I think I'll have a look at that tomorrow. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 23 05:46:34 2019 Received: (at 25155) by debbugs.gnu.org; 23 Sep 2019 09:46:34 +0000 Received: from localhost ([127.0.0.1]:35090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCKvR-0007FG-Hm for submit@debbugs.gnu.org; Mon, 23 Sep 2019 05:46:34 -0400 Received: from quimby.gnus.org ([80.91.231.51]:59856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCKvP-0007F3-CO for 25155@debbugs.gnu.org; Mon, 23 Sep 2019 05:46:31 -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 1iCKvJ-0004mq-JL; Mon, 23 Sep 2019 11:46:29 +0200 From: Lars Ingebrigtsen To: Teemu Likonen Subject: Re: bug#25155: 25.1.90; Gnus: Sending a GnuPG-signed message executes the signing operation twice when using gcc field in the message (annoyance with smartcards) References: <871sxgw4aj.fsf@iki.fi> <878sqfeuje.fsf@gnus.org> Date: Mon, 23 Sep 2019 11:46:25 +0200 In-Reply-To: <878sqfeuje.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 23 Sep 2019 02:16:37 +0200") Message-ID: <87muevcpla.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: Lars Ingebrigtsen writes: > I think I'll have a look at that tomorrow. I've now implemented this. 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: 25155 Cc: 25155@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 (-) Lars Ingebrigtsen writes: > I think I'll have a look at that tomorrow. I've now implemented this. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 23 05:46:38 2019 Received: (at control) by debbugs.gnu.org; 23 Sep 2019 09:46:38 +0000 Received: from localhost ([127.0.0.1]:35093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCKvW-0007Fd-Fw for submit@debbugs.gnu.org; Mon, 23 Sep 2019 05:46:38 -0400 Received: from quimby.gnus.org ([80.91.231.51]:59872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCKvU-0007FT-Tt for control@debbugs.gnu.org; Mon, 23 Sep 2019 05:46:37 -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 1iCKvS-0004my-9j for control@debbugs.gnu.org; Mon, 23 Sep 2019 11:46:36 +0200 Date: Mon, 23 Sep 2019 11:46:33 +0200 Message-Id: <87lfufcpl2.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #25155 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 25155 fixed close 25155 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 25155 fixed close 25155 27.1 quit From unknown Wed Jun 18 23:17:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 21 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