#3982: recipient's S/MIME certificate disappear after sending encrypted email
---------------------+----------------------
Reporter: michele | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: mutt | Version: 1.9.1
Keywords: |
---------------------+----------------------
Tested on Fedora 26 (mutt-1.9.1) and also macOS (NeoMutt 20171027
installed with macport).
How to reproduce:
- start mutt (with default smime.rc)
- enter IMAP password
- compose a new email
- enter a text and exit the editor (vi)
- set the security to "e" (encrypt)
- send
An strace shows that the certificate has been deleted:
{{{
[pid 7621] lstat("/u/mmarcio/.smime/certificates/0cf3fc1c.0",
{st_mode=S_IFREG|0600, st_size=2291, ...}) = 0
[pid 7621] open("/u/mmarcio/.smime/certificates/0cf3fc1c.0",
O_RDWR|O_NOFOLLOW) = 8
[pid 7621] fstat(8, {st_mode=S_IFREG|0600, st_size=2291, ...}) = 0
[pid 7621] fcntl(8, F_GETFL) = 0x28002 (flags
O_RDWR|O_LARGEFILE|O_NOFOLLOW)
[pid 7621] unlink("/u/mmarcio/.smime/certificates/0cf3fc1c.0") = 0
}}}
(full strace attached)
Is this a bug (in that case please fix it) or a feature (is there a
workaround)?
Bests,
Michele
PS: by the way... the encrypted arrives to destination ;-)
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3982>
Mutt <http://www.mutt.org/>
The Mutt mail user agent