GNU bug report logs -
#50154
[Rmail]: Cannot save attachments from decryped email
Previous Next
To reply to this bug, email your comments to 50154 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#50154
; Package
emacs
.
(Sat, 21 Aug 2021 21:28:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ariel Costas <ariel <at> costas.dev>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 21 Aug 2021 21:28:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#50154
; Package
emacs
.
(Sun, 22 Aug 2021 09:50:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 50154 <at> debbugs.gnu.org (full text, mbox):
> 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 <at> gnu.org>
>
> 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 <at> gnu.org
:
bug#50154
; Package
emacs
.
(Sun, 22 Aug 2021 10:30:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 50154 <at> debbugs.gnu.org (full text, mbox):
> 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 <at> gnu.org
:
bug#50154
; Package
emacs
.
(Sun, 22 Aug 2021 10:57:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 50154 <at> debbugs.gnu.org (full text, mbox):
> From: Ariel Costas <ariel <at> costas.dev>
> 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 <at> gnu.org
:
bug#50154
; Package
emacs
.
(Sun, 29 Aug 2021 11:12:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 50154 <at> debbugs.gnu.org (full text, mbox):
> 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 <at> gnu.org
:
bug#50154
; Package
emacs
.
(Sun, 29 Aug 2021 11:20:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 50154 <at> debbugs.gnu.org (full text, mbox):
> From: Ariel Costas <ariel <at> costas.dev>
> 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.
This bug report was last modified 3 years and 293 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.