-
-
Notifications
You must be signed in to change notification settings - Fork 271
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
Make S/MIME algorithms configurable (signature algorithm for signing, key encapsulation and cipher algorithms for encryption) #498
Comments
bbottema
added a commit
that referenced
this issue
Mar 20, 2024
…n the defaults from smime-util itself, so we can start replacing it with our own values
bbottema
added a commit
that referenced
this issue
Mar 20, 2024
…r encryption algorithms, and actually use it. Added tests to test some variations, including both RSA (already present) and DSA (added new key for this in pkcs store).
bbottema
changed the title
Configurable to set CMSAlgorithm.AES256_CBC instead of CMSAlgorithm.DES_EDE3_CBC in SmimeUtil.class
Make S/MIME algorithms configurable (signature algorithm for signing, key encapsulation and cipher algorithms for encryption)
Mar 20, 2024
I think it was about time this was configurable. I'm almost done with it. |
Feature released in 8.7.1. Please refer to the documentation on signing and encrypting with S/MIME. You can now set any signature algorithm when signing and any key encapsulation algorithm and cipher algorithm when encrypting. Enjoy! |
To give a specific example of your request: Email emailToBeEncrypted = currentEmailBuilder
.(..)
.encryptWithSmime(SmimeEncryptConfig.builder()
.x509Certificate(yourCertificate)
.cipherAlgorithm("AES256_CBC")
.build())
.buildEmail(); |
Love it! Let me test it. I have several projects that require different
types of cipher algorithms. It makes my life easier.
Thank you!
…On Thu, Mar 21, 2024 at 2:08 PM Benny Bottema ***@***.***> wrote:
To give a specific example of your request:
Email emailToBeEncrypted = currentEmailBuilder
.(..)
.encryptWithSmime(SmimeEncryptConfig.builder()
.x509Certificate(yourCertificate)
.cipherAlgorithm("AES256_CBC")
.build())
.buildEmail();
—
Reply to this email directly, view it on GitHub
<#498 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHMGUTWQH4B2WNLXHI6XF33YZMV2RAVCNFSM6AAAAABE5CNMOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJTGM3TCNRYHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Best regards,
Aibek Sariev
|
bbottema
added a commit
that referenced
this issue
Mar 22, 2024
…n the defaults from smime-util itself, so we can start replacing it with our own values
bbottema
added a commit
that referenced
this issue
Mar 22, 2024
…r encryption algorithms, and actually use it. Added tests to test some variations, including both RSA (already present) and DSA (added new key for this in pkcs store).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: