GNU bug report logs - #50154
[Rmail]: Cannot save attachments from decryped email

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Ariel Costas <ariel@HIDDEN>; dated Sat, 21 Aug 2021 21:28:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 50154 <at> debbugs.gnu.org:


Received: (at 50154) by debbugs.gnu.org; 29 Aug 2021 11:19:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 29 07:19:09 2021
Received: from localhost ([127.0.0.1]:55692 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mKIq8-0001Ap-5d
	for submit <at> debbugs.gnu.org; Sun, 29 Aug 2021 07:19:09 -0400
Received: from eggs.gnu.org ([209.51.188.92]:56644)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1mKIq3-0001AG-9J
 for 50154 <at> debbugs.gnu.org; Sun, 29 Aug 2021 07:19:03 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:35198)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1mKIpw-00079D-Sz; Sun, 29 Aug 2021 07:18:52 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4961
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mKIpw-0000cj-6T; Sun, 29 Aug 2021 07:18:52 -0400
Date: Sun, 29 Aug 2021 14:18:39 +0300
Message-Id: <83sfyslcs0.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ariel Costas <ariel@HIDDEN>
In-Reply-To: <0102017b919b8ec9-f3c7f854-cdef-4b50-83d1-1769a4cb2a62-000000@HIDDEN>
 (message from Ariel Costas on Sun, 29 Aug 2021 11:11:36 +0000)
Subject: Re: bug#50154: [Rmail]: Cannot save attachments from decryped email
References: <0102017b919b8ec9-f3c7f854-cdef-4b50-83d1-1769a4cb2a62-000000@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50154
Cc: 50154 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ariel Costas <ariel@HIDDEN>
> Cc: 50154 <at> debbugs.gnu.org
> Date: Sun, 29 Aug 2021 11:11:36 +0000
> 
> I built emacs from source at commit `b0fe06e` and it worked the same: no
> option to save the attachment, only see it inline as base64. Emacs
> latest (master) on Ubuntu 20.04 LTS via tty.

OK, thanks.  I will try to look into this when I have time.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50154; Package emacs. Full text available.

Message received at 50154 <at> debbugs.gnu.org:


Received: (at 50154) by debbugs.gnu.org; 29 Aug 2021 11:11:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 29 07:11:50 2021
Received: from localhost ([127.0.0.1]:55678 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mKIj8-0000wp-7w
	for submit <at> debbugs.gnu.org; Sun, 29 Aug 2021 07:11:50 -0400
Received: from a7-23.smtp-out.eu-west-1.amazonses.com ([54.240.7.23]:41779)
 by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from
 <0102017b919b8ec9-f3c7f854-cdef-4b50-83d1-1769a4cb2a62-000000@HIDDEN>)
 id 1mKIj5-0000wY-Gq
 for 50154 <at> debbugs.gnu.org; Sun, 29 Aug 2021 07:11:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
 s=uku4taia5b5tsbglxyj6zym32efj7xqv; d=amazonses.com; t=1630235496;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:Feedback-ID;
 bh=/LOY87q0lCMkgSWeCKPjYtgg9DPp0jIrE21T9hPXfgw=;
 b=d5SifxHuyji5lFHFCRtmGDhIPv2M2dbgWEXxv6thgk/g0tt+pqCCBCE3ltFusAjw
 Albyw2CkH0x5/8BStYomBYkiF0MK0X5JmDpF6hqG4CA1XKEy4vUKqhUk7BHO+ujFQA5
 RAUftR5HMcirWj3LycwWpQGhYcmPinLj0uCi9E6M=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=costas.dev; s=mail;
 t=1630235495; bh=/LOY87q0lCMkgSWeCKPjYtgg9DPp0jIrE21T9hPXfgw=;
 h=From:To:Cc:Subject:Date:From;
 b=Eqd5SxPpzHZRctOcCCxbEyDcLKLDM2gjlemjKpG3LBb1f80HiTUd1U5k+wu3bTn4h
 8hPnXSXUAWIj5Bvn+jislolM0sTrLIOP+PRKUogXFE03sMdwS0fa95bQMucH9dAx7Z
 sT6DMbhh5WkZPTQIItUhdF9xMATcALOX5Dxip8+2lGNSHV8cu2oEhPhEdo079P3AWu
 00/UI3x4zuGUW2+rOicngO2aDkYTfrmQpW4HSDXO/GlYZSeI0ckskL47HuACaSJjnI
 F2uqw40bHCy8e7XTTK1h1l9RkGAmzmPOVqwYFp5qm88yECEsBcPASoIM2B2ziDhjzi
 JOZIVImGrlUgw==
From: Ariel Costas <ariel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: bug#50154: [Rmail]: Cannot save attachments from decryped email
Date: Sun, 29 Aug 2021 11:11:36 +0000
Message-ID: <0102017b919b8ec9-f3c7f854-cdef-4b50-83d1-1769a4cb2a62-000000@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
Feedback-ID: 1.eu-west-1.u42cjhJLz89h5tO3tttko6rzc3rjWalb+v41EBzwiRw=:AmazonSES
X-SES-Outgoing: 2021.08.29-54.240.7.23
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 50154
Cc: 50154 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

> Yes, please do.  There were some changes in that code in the recent
> months, and I wonder whether anything's changed as result.  In any
> case, if we need fixes, they will start from what's now in Git, so it
> would be good for you to have that available.

I built emacs from source at commit `b0fe06e` and it worked the same: no
option to save the attachment, only see it inline as base64. Emacs
latest (master) on Ubuntu 20.04 LTS via tty.

Also, Gnus doens't have this problem decrypting attachments, it just
allows to save them after decrypting with GPG.

-- 
Ariel Costas (https://costas.dev)

When replying to emails, please use plaintext: https://useplaintext.email
Make our conversation fully private, use GPG: https://costas.dev/onthenet/#email




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50154; Package emacs. Full text available.

Message received at 50154 <at> debbugs.gnu.org:


Received: (at 50154) by debbugs.gnu.org; 22 Aug 2021 10:56:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 22 06:56:18 2021
Received: from localhost ([127.0.0.1]:38246 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mHl9G-0003pe-3C
	for submit <at> debbugs.gnu.org; Sun, 22 Aug 2021 06:56:18 -0400
Received: from eggs.gnu.org ([209.51.188.92]:34558)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1mHl9E-0003pQ-8f
 for 50154 <at> debbugs.gnu.org; Sun, 22 Aug 2021 06:56:17 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:44638)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1mHl97-0004iF-2V; Sun, 22 Aug 2021 06:56:09 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1056
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mHl96-0000hE-M3; Sun, 22 Aug 2021 06:56:08 -0400
Date: Sun, 22 Aug 2021 13:55:56 +0300
Message-Id: <835yvxychv.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ariel Costas <ariel@HIDDEN>
In-Reply-To: <0102017b6d685636-ba3c713a-4898-4191-8fe2-282a6eadce4c-000000@HIDDEN>
 (message from Ariel Costas on Sun, 22 Aug 2021 10:29:19 +0000)
Subject: Re: bug#50154: [Rmail]: Cannot save attachments from decryped email
References: <0102017b6a656f19-9f5b43e3-6315-4b4c-9469-883aa0d2ee88-000000@HIDDEN>
 <837dgdyfkd.fsf@HIDDEN>
 <0102017b6d685636-ba3c713a-4898-4191-8fe2-282a6eadce4c-000000@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50154
Cc: 50154 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ariel Costas <ariel@HIDDEN>
> Cc: 50154 <at> debbugs.gnu.org
> Date: Sun, 22 Aug 2021 10:29:19 +0000
> 
> > First, which version of Emacs is that?  If it isn't Emacs 28 from the
> > master branch of the Emacs Git repository, could you please try the
> > latest master and see if the problem persists?
> 
> It's GNU Emacs 27.2-1 from the Artix Linux repository, I could try
> installing Emacs 28 from source on another computer and try there

Yes, please do.  There were some changes in that code in the recent
months, and I wonder whether anything's changed as result.  In any
case, if we need fixes, they will start from what's now in Git, so it
would be good for you to have that available.

> > And second, rmail-epa-decrypt should ask whether to replace the
> > original message -- did it ask, and if it did, what was your answer to
> > that question?
> 
> It asks if I want to replace the original message, I usually say no. I
> tried saying yes to get it saved, restart emacs and load the inbox with
> the decrypted message, and it still isn't detected.

OK, thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50154; Package emacs. Full text available.

Message received at 50154 <at> debbugs.gnu.org:


Received: (at 50154) by debbugs.gnu.org; 22 Aug 2021 10:29:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 22 06:29:33 2021
Received: from localhost ([127.0.0.1]:38238 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mHkjN-0003B7-0S
	for submit <at> debbugs.gnu.org; Sun, 22 Aug 2021 06:29:33 -0400
Received: from a7-34.smtp-out.eu-west-1.amazonses.com ([54.240.7.34]:55773)
 by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from
 <0102017b6d685636-ba3c713a-4898-4191-8fe2-282a6eadce4c-000000@HIDDEN>)
 id 1mHkjL-0003Au-Az
 for 50154 <at> debbugs.gnu.org; Sun, 22 Aug 2021 06:29:31 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
 s=dbjf277sxfqvcitqewlqwv72dug4udzr; d=costas.dev; t=1629628160;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type;
 bh=ZkJNQZtnf6KaEBD1DRAO+v6O9Eypk+kmRc+WY2lwKDM=;
 b=DL+fORgnfzKS/+JxrJv/KtKBTEjBiT3DydJIrgO2A8fEt35K2brUeoeorrWaMyr0
 c22vwEcjYkVMdlrFKspViDqHQQWOheLSQlcfJBut1uUWkg37zOfwFQPSd2ZX1l7bdne
 q2sVYmsXKGQoH5tnGiZPPliEqGGwJMQI/ugLcRTM=
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
 s=uku4taia5b5tsbglxyj6zym32efj7xqv; d=amazonses.com; t=1629628160;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type:Feedback-ID;
 bh=ZkJNQZtnf6KaEBD1DRAO+v6O9Eypk+kmRc+WY2lwKDM=;
 b=XCcrrSIEHJVu8K2hLpZXZkekihzbPgeYAu1hlnUL6WrWkJ1OnjdYFlCfzViItuGo
 W0GfuCfW2ozVZSLTnoaItMthWeEJhqy1nxrCO8ssaw2amnGh/RApGRSDXiMK8+1xoAg
 9l4Sf+wVDKR106rI/lpciSfZot5sZ7ERJfZZixNY=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=costas.dev; s=mail;
 t=1629628158; bh=ZkJNQZtnf6KaEBD1DRAO+v6O9Eypk+kmRc+WY2lwKDM=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=VaNxwrKM2y3L7g7boy3bfZ1k79tqodlsv1mwqKXvmTPKsif9soBAh3JiGnX6kEz/g
 TDUL3NhT/G3ddz8ZXZ97TWXtxPm/Ryd/WI9XIS7W7rQlD8mPMAyldAcMz/IORl9LOF
 0LtXszyMl6VOvp8tGX/As9Jcr5E/dol2A9zHkzzzCP4eafa6ZGzzCPL2lIZxDCxCI8
 c98yPpeRXC4gh9vEW7thuR5uAaGAXHGzL4RsNLJvxhKP7pMcif7MaB6k4FyAOhl3f7
 TYDg3iSDlXVscR29nN4XHxdZ6nfV37blAqm/ZLJmIwK3zIFeo53Fkb7VqermNA/yAv
 tlL0WTN7+OICw==
From: Ariel Costas <ariel@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#50154: [Rmail]: Cannot save attachments from decryped email
References: <0102017b6a656f19-9f5b43e3-6315-4b4c-9469-883aa0d2ee88-000000@HIDDEN>
 <837dgdyfkd.fsf@HIDDEN>
Date: Sun, 22 Aug 2021 10:29:19 +0000
In-Reply-To: <837dgdyfkd.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 22 Aug
 2021 12:49:38 +0300")
Message-ID: <0102017b6d685636-ba3c713a-4898-4191-8fe2-282a6eadce4c-000000@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
Feedback-ID: 1.eu-west-1.u42cjhJLz89h5tO3tttko6rzc3rjWalb+v41EBzwiRw=:AmazonSES
X-SES-Outgoing: 2021.08.22-54.240.7.34
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 50154
Cc: 50154 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

> Could you please add more details to your report?
>
> First, which version of Emacs is that?  If it isn't Emacs 28 from the
> master branch of the Emacs Git repository, could you please try the
> latest master and see if the problem persists?

It's GNU Emacs 27.2-1 from the Artix Linux repository, I could try
installing Emacs 28 from source on another computer and try there

> And second, rmail-epa-decrypt should ask whether to replace the
> original message -- did it ask, and if it did, what was your answer to
> that question?

It asks if I want to replace the original message, I usually say no. I
tried saying yes to get it saved, restart emacs and load the inbox with
the decrypted message, and it still isn't detected.

-- 
Ariel Costas https://costas.dev

Encrypt your email -- https://emailselfdefense.org/
  GnuPG public key -- https://costas.dev/pgp




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50154; Package emacs. Full text available.

Message received at 50154 <at> debbugs.gnu.org:


Received: (at 50154) by debbugs.gnu.org; 22 Aug 2021 09:49:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 22 05:49:59 2021
Received: from localhost ([127.0.0.1]:38199 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mHk74-000257-Q0
	for submit <at> debbugs.gnu.org; Sun, 22 Aug 2021 05:49:59 -0400
Received: from eggs.gnu.org ([209.51.188.92]:56724)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1mHk72-00024t-SK
 for 50154 <at> debbugs.gnu.org; Sun, 22 Aug 2021 05:49:57 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:43802)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1mHk6w-0002C5-I7; Sun, 22 Aug 2021 05:49:50 -0400
Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4952
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1mHk6w-0000YH-4e; Sun, 22 Aug 2021 05:49:50 -0400
Date: Sun, 22 Aug 2021 12:49:38 +0300
Message-Id: <837dgdyfkd.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ariel Costas <ariel@HIDDEN>
In-Reply-To: <0102017b6a656f19-9f5b43e3-6315-4b4c-9469-883aa0d2ee88-000000@HIDDEN>
 (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#50154: [Rmail]: Cannot save attachments from decryped email
References: <0102017b6a656f19-9f5b43e3-6315-4b4c-9469-883aa0d2ee88-000000@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50154
Cc: 50154 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Sat, 21 Aug 2021 20:27:17 +0000
> From:  Ariel Costas via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> 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.

Could you please add more details to your report?

First, which version of Emacs is that?  If it isn't Emacs 28 from the
master branch of the Emacs Git repository, could you please try the
latest master and see if the problem persists?

And second, rmail-epa-decrypt should ask whether to replace the
original message -- did it ask, and if it did, what was your answer to
that question?

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#50154; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Aug 2021 21:27:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 21 17:27:14 2021
Received: from localhost ([127.0.0.1]:37937 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mHYWE-0007yy-6q
	for submit <at> debbugs.gnu.org; Sat, 21 Aug 2021 17:27:14 -0400
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@HIDDEN>)
 id 1mHXaV-0006SL-DY
 for submit <at> debbugs.gnu.org; Sat, 21 Aug 2021 16:27:35 -0400
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@HIDDEN>)
 id 1mHXaT-00007e-Qq
 for bug-gnu-emacs@HIDDEN; Sat, 21 Aug 2021 16:27:31 -0400
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@HIDDEN>)
 id 1mHXaM-0005tT-BW
 for bug-gnu-emacs@HIDDEN; 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==
From: Ariel Costas <ariel@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: [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@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
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@HIDDEN;
 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-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 21 Aug 2021 17:27:08 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

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




Acknowledgement sent to Ariel Costas <ariel@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#50154; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 29 Aug 2021 11:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.