Skip to content
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

Cryptographic Message Syntax (CMS) API #152

Open
marcoscaceres opened this issue May 9, 2024 · 2 comments
Open

Cryptographic Message Syntax (CMS) API #152

marcoscaceres opened this issue May 9, 2024 · 2 comments

Comments

@marcoscaceres
Copy link
Contributor

marcoscaceres commented May 9, 2024

Introduction

This proposal advocates for the development of a web standard for the Cryptographic Message Syntax (CMS) API, specifically tailored to enhance the security of email communications through S/MIME. CMS, as described in RFC 5652, is fundamental for signing, encrypting, decrypting, and verifying email messages, facilitating end-to-end secure email communication. For example:

const message = await window.crypto.cms.encrypt(algorithm, key, recipients, emailContent);

This code snippet illustrates how developers could securely encrypt email content using recipient public keys managed through the CMS API.

Feedback

We welcome all feedback and discussion related to this proposal. Please feel free to comment in this thread or file specific issues against the explainer. For a more comprehensive understanding, see the full Cryptographic Message Syntax (CMS) API Explainer.

@yoavweiss
Copy link
Collaborator

Hey Marcos! Can you expand on the use case for this? Is this destined to enable/simplify the implementation of web-based email clients that include encryption?

@marcoscaceres
Copy link
Contributor Author

That is correct. It’s for end to end encrypted emails in web clients

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants