From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ariel Costas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#50154: [Rmail]: Cannot save attachments from decryped email Date: Sat, 21 Aug 2021 20:27:17 +0000 Message-ID: <0102017b6a656f19-9f5b43e3-6315-4b4c-9469-883aa0d2ee88-000000@eu-west-1.amazonses.com> Reply-To: Ariel Costas Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="751"; mail-complaints-to="usenet@ciao.gmane.io" To: 50154@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 21 23:28:13 2021 Return-path: Envelope-to: geb-bug-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 1mHYXE-000ASL-K9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Aug 2021 23:28:13 +0200 Original-Received: from localhost ([::1]:47074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHYXD-0005fn-GN for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Aug 2021 17:28:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHYX4-0005dy-Ry for bug-gnu-emacs@gnu.org; Sat, 21 Aug 2021 17:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54626) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mHYX4-0004uC-Jd for bug-gnu-emacs@gnu.org; Sat, 21 Aug 2021 17:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mHYX4-00080Q-5a for bug-gnu-emacs@gnu.org; Sat, 21 Aug 2021 17:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ariel Costas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Aug 2021 21:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50154 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.162958123430698 (code B ref -1); Sat, 21 Aug 2021 21:28:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Aug 2021 21:27:14 +0000 Original-Received: from localhost ([127.0.0.1]:37937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHYWE-0007yy-6q for submit@debbugs.gnu.org; Sat, 21 Aug 2021 17:27:14 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:49684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <0102017b6a656f19-9f5b43e3-6315-4b4c-9469-883aa0d2ee88-000000@mail.costas.dev>) id 1mHXaV-0006SL-DY for submit@debbugs.gnu.org; Sat, 21 Aug 2021 16:27:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <0102017b6a656f19-9f5b43e3-6315-4b4c-9469-883aa0d2ee88-000000@mail.costas.dev>) id 1mHXaT-00007e-Qq for bug-gnu-emacs@gnu.org; Sat, 21 Aug 2021 16:27:31 -0400 Original-Received: from a7-23.smtp-out.eu-west-1.amazonses.com ([54.240.7.23]:55459) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from <0102017b6a656f19-9f5b43e3-6315-4b4c-9469-883aa0d2ee88-000000@mail.costas.dev>) id 1mHXaM-0005tT-BW for bug-gnu-emacs@gnu.org; Sat, 21 Aug 2021 16:27:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=dbjf277sxfqvcitqewlqwv72dug4udzr; d=costas.dev; t=1629577637; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; bh=VV3MOuHqR7ndbIMIQmEnn1WO4BqVju+dbWQoOQqNslE=; b=NuC6vK0NZHdZo3PXlBRdAWdz3EX4DvSwnqOWpfLgr/oggnnaIgHsWCMxp6mC2tva X2NHuLk/3UTaqMYTIenb5bifDBaTok/UaVaghubyUXxpHu4X3OdVrcCSww9ENRAHde1 /RDucXn5ja6CJfYPKmuYNDQUMM2FXcCR6QeUyC4E= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=uku4taia5b5tsbglxyj6zym32efj7xqv; d=amazonses.com; t=1629577637; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Feedback-ID; bh=VV3MOuHqR7ndbIMIQmEnn1WO4BqVju+dbWQoOQqNslE=; b=FGqAasNQDlw0LuO/Ok68szNU/iK0YmH7JF1LAibhgl0ed5gUKdc0icwvD24eGDHQ PEEOZ71z0J1Kj2OFCOYL/KfUJL3LMPtE+qhSkAIa4q7y0tx6UUWtZ2dmKA1UICOvbD9 fpm4JkkuzjdRr3tY3sM5Q6/9amboLUaVaSyEXsd0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=costas.dev; s=mail; t=1629577637; bh=VV3MOuHqR7ndbIMIQmEnn1WO4BqVju+dbWQoOQqNslE=; h=From:To:Subject:Date:From; b=xH3uU8+eYZvP3w8dzk3weikz+N7ocl+y0oHEkTrriho6rs4nmCwT+aQXNtyGTR+JM JqCGhjhrCvdBY73eDKPNVxy+raAQUKybAHnX+NOdCXk9NzuLjhQ3nlBZ7YSgbsTK5n 8pkvZmmGyjD0axAlpF2BEBd8qovPuXXlNQS1hzJkXBVY5ZTFAtjVegpsi9l4T6cJOT nBVBvp8DDH822KyBMaggS0UX1GhDlKplIQD6HkQOwswnE7Bv0DGy82M3su7MplE+4A p/DOPewWH0yFA8p1Fdctu055PCfCehz74r3QYh7R1XtBgT5fgNhEUBL2YNz7ofnqSN W3sZ1toqgIDgg== Feedback-ID: 1.eu-west-1.u42cjhJLz89h5tO3tttko6rzc3rjWalb+v41EBzwiRw=:AmazonSES X-SES-Outgoing: 2021.08.21-54.240.7.23 Received-SPF: pass client-ip=54.240.7.23; envelope-from=0102017b6a656f19-9f5b43e3-6315-4b4c-9469-883aa0d2ee88-000000@mail.costas.dev; helo=a7-23.smtp-out.eu-west-1.amazonses.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 21 Aug 2021 17:27:08 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212389 Archived-At: When I receive an unencrypted email on my inbox and view it through Rmail, I get the option to save the file. [1:text/plain Show] [2:image/jpeg Show Save:My_attachment.jpg (400kB)] However, when I receive an encrypted message, and decrypt it with `M-x rmail-epa-decrypt`, I get to see the plaintext of all the email, with the multipart/mixed Content-Type, the email's body and then another part with the attachment as base64, without an option to save it to my disk. Content-Type: multipart/mixed;boundary=---------------------BOUNDARY -----------------------BOUNDARY Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 The body of the message -----------------------BOUNDARY Content-Type: mime/type; filename="My_attachment.format"; name="My_attachment.format" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="My_attachment.jpg"; name="My_attachment.format" Apparently, when decrypting the email, Rmail doesn't parse its contents to highlight it or show the attachments as on the first scenario. -- Ariel Costas https://costas.dev Encrypt your email -- https://emailselfdefense.org/ GnuPG public key -- https://costas.dev/pgp