Skip to content

S/MIME encrypted emails in Sent folder not being decrypted #12670

@Geniuve

Description

@Geniuve

SmimeCertificateMapper.php.patch

SmimeService.php.patch

Steps to reproduce

  1. Configure your Nextcloud Mail account for S/MIME encrypted mails by installing your private/public key pair (certificate) as well as a public key (certificate) of your recipient and linking your private key to your email account
  2. Send an encrypted email from Nextcloud Mail
  3. Select your 'Sent' folder and open an encrypted email
  4. You should encounter an error ("Not found")

Expected behavior

Sent encrypted emails should be decrypted to enable viewing by the sender/owner.

Actual behavior

Sent encrypted emails are not being decrypted. An error message is displayed where the message body should appear.

Mail app version

5.6.13

Nextcloud version

32.0.7

Mailserver or service

on premise

Operating system

Debian 12

PHP engine version

PHP 8.2

Nextcloud memory caching

No response

Web server

Apache (supported)

Database

MySQL

Additional info

Suggested solution: see attached

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions