Repository navigation
#30 part 7: encrypting what the owner sends - #1116
Merged
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on #1036
Part 7 of #30: outgoing mail can be Encrypted at Send.
What changes for the person
sendMail, Graph draft send, EWS and JMAP all refuse a message that is to be Encrypted and isn't. JMAP accounts can't turn Encrypt on yet.Drafts
feat/30-encrypted-drafts-upload, no PR yet).Crypto choices
rsaEncryption(PKCS#1 v1.5), which every mail program reads, or with RSAES-OAEP (RFC 3560) when the certificate's key is anid-RSAES-OAEPone (SHA-224 or longer, MGF1 on the same hash, no label). RSA certificates only; EC certificates are refused for now.How it was checked
hostile_params_never_panicstays green.openpgpandsmimefuzz targets.cargo xtask cipasses, apart from one test (opening_kind_tests) that depends on the desktop it runs on and is known to fail on this machine. Nothing was tried against a real mailbox, server or card.What was left out
Human-reviewed, AI-assisted, nobody's mailbox harmed.
Summary by CodeRabbit