From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Angel de Vicente Newsgroups: gmane.emacs.help Subject: Signing message reply problem Date: Sun, 30 Oct 2022 00:19:34 +0100 Message-ID: <87eduqfcah.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17693"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:4AvkN6sZWflpHwoH1of6hkL+YhM= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 30 01:20:31 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oov7u-0004Nj-7q for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 30 Oct 2022 01:20:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oov7J-0008R5-Uo; Sat, 29 Oct 2022 19:19:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oov7I-0008Qo-KD for help-gnu-emacs@gnu.org; Sat, 29 Oct 2022 19:19:52 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oov7H-0001LV-2r for help-gnu-emacs@gnu.org; Sat, 29 Oct 2022 19:19:52 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1oov7F-0003ae-8t for help-gnu-emacs@gnu.org; Sun, 30 Oct 2022 01:19:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 3 X-Spam_score: 0.3 X-Spam_bar: / X-Spam_report: (0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "help-gnu-emacs" Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140500 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, I just started experimenting with signing and encrypting mail with Gnus. For most part is working just fine, but I found a situation that is giving me trouble. When I get an e-mail from someone who didn't sign or encrypt their message and then I reply to their mail, I get the following: ,---- | To: "And | Subject: Re: TEST | From: Angel de Vicente | Gcc: nnml:Correo.MAIN | --text follows this line-- |=20 |=20 | "And writes: | > this message is strictly prohibited. More information: | > | <#secure method=3Dpgpmime mode=3Dsign> |=20 | --=20 | =C3=81ngel de Vicente | Research Software Engineer (Supercomputing and BigData) | Tel.: +34 922-605-747 | Web.: http://research.iac.es/proyecto/polmag/ |=20 | GPG: 0x8BDC390B69033F52 `---- In my .emacs file I add the following hook, so that all messages will be signed automatically: (add-hook 'message-setup-hook 'mml-secure-message-sign-pgpmime) and that works fine for regular messages that I start or when replying to previously signed, but if the message I reply to is not signed, then the tag <#secure method=3Dpgpmime mode=3Dsign> is placed in the middle of the message, and the outgoing message is not signed. I can certainly sign it no problems if I issue the command C-c C-m C-s, which then positions the tag again at the beginning of the message, but obviously I would prefer not to do it by hand, because I will most likely forget. Any advice/ideas? Thanks =2D-=20 =C3=81ngel de Vicente Research Software Engineer (Supercomputing and BigData) Instituto de Astrof=C3=ADsica de Canarias (https://www.iac.es/en) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHUBAEBCAA+FiEEGQyM5qDLpMcIDuMKZNn9rnzV6TkFAmNdtQYgHGFuZ2VsLnZp Y2VudGUuZ2Fycmlkb0BnbWFpbC5jb20ACgkQZNn9rnzV6TlhDAv+PQX9adQbZUiq soQRraQoggV1cK+5M3jzxvQUdI9WA7go2dW7vOHTJIfenlLlFJw1srmAOanLOWqA CZBvOFP8u3drB4kc2id05LhfbbPtTI0jZQu7ns/FlzS4Wz6sRBQ6cRV49LXy8spI RVLG4I70KBp+KIAd8f2crvL9PoYjutbBJkxTfhCoBP0+XBpXLbqBGDG27Gl8ICFm hes+UwNdvQh1f9xbflPjdtlxAjKtbDVV8gx0RuJMOQ3Hxjf+tR5RZqEJL3n5uxAr yGcbNsqHXQQwS9ufe86gAbjVSj5pHniMspJj1PV3xY1tkxNZtk0QdMAt6xgYHTrc JsmZfm7V9W4YaQd+o72jOoeHKs0QnKa0qQYAwPR5lksgEsuIuIeyrbI946Gz8y+G YRuHMPGVC357syn4cQ4pg1EiIu6mgmo5Bo1DqKGDv5nNzn6Z1CmJkiSPSH3WaiRi iHUtDt9Oo6dPzyajWIzZ0P3QpoGPscBGT4TRU3lSw8rDkrT0XXVR =wMwz -----END PGP SIGNATURE----- --=-=-=--