From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21290 invoked from network); 4 Aug 2021 07:11:15 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 4 Aug 2021 07:11:15 -0000 Received: from localhost ([::1]:51086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBB3Z-0000WP-U5 for ml@inbox.vuxu.org; Wed, 04 Aug 2021 03:11:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBB3W-0000WC-Ub for info-gnus-english@gnu.org; Wed, 04 Aug 2021 03:11:10 -0400 Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:54872) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBB3V-0007pU-80 for info-gnus-english@gnu.org; Wed, 04 Aug 2021 03:11:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=+ANbYqkwJu32bqiAgnBa1ok5STjBOKG09ttofhBQC4U=; b=tbzZdatXLrjwx9fIsagV+Ig5Yq +xAeaumLD5T+3m9u5TZTQXdBV8iXC5TKJM2UvtTs7oLDYfczWYWZ/zKFp71j6mtYD2YsK2ft9DLOr SmVt9bVw8AgNQu9VeKM4T2EVpeht1LzfSAc72uHf0anlr/fATyPfuP5bifLaD8hA6fKo=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBB3Q-0004ju-88; Wed, 04 Aug 2021 09:11:06 +0200 From: Lars Ingebrigtsen To: Adam =?utf-8?Q?Sj=C3=B8gren?= Subject: Re: Subject of PGP-encrypted emails References: <877dh2jtdo.fsf@tullinup.koldfront.dk> Date: Wed, 04 Aug 2021 09:11:03 +0200 In-Reply-To: <877dh2jtdo.fsf@tullinup.koldfront.dk> ("Adam =?utf-8?Q?Sj?= =?utf-8?Q?=C3=B8gren=22's?= message of "Tue, 03 Aug 2021 20:05:55 +0200") Message-ID: <875ywlhego.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: info-gnus-english@gnu.org Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: "info-gnus-english" Adam Sj=C3=B8gren writes: > I noticed that instead of including an unencrypted Subject:-header, it > is replaced by "Subject: ..." and then 'filled in' when the message is > decrypted. Hm... I guess it would be possible to update the Summary buffer, too, but it'd be pretty awkward -- do we want to redo the threading, for instance?=20 > I wonder if anyone has looked into adapting Gnus to do something similar? > > Or maybe just do the same extraction and 'filling in' of the Subject: > when reading an encrypted email sent from Thunderbird. > > It looks like what Thunderbird does it that it generates an > encrypted.asc which decrypts to a MIME message, which has a part that > includes the Subject:-header: > > Content-Type: multipart/mixed; boundary=3D"80MRq3onMnRYcWyMqpzN3xR7VKum= L3WsW"; > protected-headers=3D"v1" > Subject: Dette er emnelinien > From: Test Testersen > To: =3D?UTF-8?Q?Adam_Sj=3Dc3=3Db8gren?=3D > Message-ID: > > So the display-part is perhaps easier than the sending part. We could update the headers in the Article buffer easily enough, but on the other hand -- if the user wants to respond to this in clear text, hitting `C-d' first is easy enough, and ... do we want to encourage responding to encrypted stuff in clear text? (I mean, if we just rewrite the Article buffer Subject/From/etc headers, then hitting `r' will use those, and then we might reveal... stuff...) > I also noticed that Thunderbird included an Autocrypt:-header, which > seems to include the public key of the sender - I haven't looked into > it, but it might be worth adding support for that in Gnus as well? Or > maybe it's a waste of bandwidth... What does the Autocrypt header do? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no