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

cms: Encrypt, Decrypt, or Verify Functions #1204

Open
dhouck opened this issue Aug 23, 2023 · 2 comments
Open

cms: Encrypt, Decrypt, or Verify Functions #1204

dhouck opened this issue Aug 23, 2023 · 2 comments

Comments

@dhouck
Copy link

dhouck commented Aug 23, 2023

This is either a feature request or a documentation request.

Looking through the documentation, I can see how I could sign a message using the cms crate, using the cms::builder::SignedDataBuilder class. I donʼt see how to encrypt or decrypt data, or how to verify the signatures created here.

Am I just missing something obvious, or are these not supported? Based on the repo name I would assume it was intended to be just the types, but signing is it looks like other operations are also supported for other formats. If I am looking at the wrong repository, could you direct me to the right RustCrypto project for this, if there is one, and include that in the docs?

@tarcieri
Copy link
Member

See #1115

@dhouck
Copy link
Author

dhouck commented Aug 23, 2023

That looks useful for encryption but not for verification/decryption, if Iʼm reading it right? Which is useful, although unfortunately the part I personally most want is signature verification.

@tarcieri tarcieri changed the title CMS Encrypt, Decrypt, or Verify Functions cms: Encrypt, Decrypt, or Verify Functions Aug 18, 2024
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