nextcloud / mail

💌 Mail app for Nextcloud
https://apps.nextcloud.com/apps/mail
GNU Affero General Public License v3.0
831 stars 257 forks source link

Encrypt messages using S/MIME #7668

Closed ChristophWurst closed 1 year ago

ChristophWurst commented 1 year ago

Is your feature request related to a problem? Please describe.

As a user I want to protect my outgoing messages with S/MIME encryption.

Describe the solution you'd like

The UI should offer the user an option to encrypt an outgoing message. This requires the app to also know the recipient public keys, or a way to retrieve them.

To make the message readable for the sender, it might make sense to also encrypt the message with their own public key. This could be configurable.

The trust model is to protect messages outside the boundaries of an organization. Therefore the server and its admins are trusted. Public and private keys may be known in plain text on the server-side.

Describe alternatives you've considered

N/a

Additional context

This is part of https://github.com/nextcloud/mail/issues/7085

ChristophWurst commented 1 year ago

We will need to check if there is a certificate for every recipient. https://github.com/nextcloud/mail/blob/88c825e2f9b465f7e144b44ed70a42296fad4700/src/components/Composer.vue#L174-L180 is already there and the smime warning can look similar.

kesselb commented 1 year ago

is already there and the smime warning can look similar.

Thank you for the tip.

image

That should work for smime too.