-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMimeP7M/parse #1159
Comments
@chibenwa So as we are grooming this and team seems a bit confused, to confirm what you want here: I have an attachment in a mail encapsulating a smime structure and with the jmap request SMimeP7M/parse we should parse and decode it, return the result that then the front would display in the message view correct? Ok. We obviously should check as well then that the smime signature on the attachment is correct too, and return I guess an error if it's not valid instead? |
Correct But we do not need to check signature again: thats done beforehand and result is exposed in mail headers... |
No no no error if invalid signature or you cannot read smime message with unknown ca for instance Other mua like tb do not behave this way |
Unscheduled as our customer also seem to use Display on the webmail is nice enough. It's not unlikely webmail display of I asked @guimard clarifications. |
Why?
Some smime messages consists of a p7m attachment that encapsulate the mime structure and their display is suboptimal in the webmail
We wishes to offer essentials for nicer display in the wemails
IE when opening the mail a display similar to the one of thunderbird:
What
Offer a
SMimeP7M/parse
JMAP route that would allow parsing those messages and expose them asEmailBodyStructure
Note that we also need to handle download of such body parts.
Would return:
Note that body parts blobId follow the following syntax:
smimep7m_{nested-blobid}?{path-to-mimepart within smime message}
So
smimep7m_123456?1_2_3
means take message 123456 and interpret it as smimep7m then take the first body part of the first multipart and then the second body of the second multipart and then the trird of the most inner multipart.Nesting a p7m in a p7m is out of scope.
Subtasks
The text was updated successfully, but these errors were encountered: