Skip to content

Make S/MIME algorithms configurable (signature algorithm for signing, key encapsulation and cipher algorithms for encryption) #498

Closed

Description

@asariev
No description provided.

Activity

  1. added this to the 8.7.0 milestone on Mar 19, 2024
  2. self-assigned this
    on Mar 19, 2024
  3. added 3 commits that reference this issue on Mar 20, 2024
  4. 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)[/+] on Mar 20, 2024
  5. bbottema commented on Mar 20, 2024

    @bbottema
    Owner

    I think it was about time this was configurable. I'm almost done with it.

  6. added a commit that references this issue on Mar 20, 2024
  7. bbottema commented on Mar 20, 2024

    @bbottema
    Owner

    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!

  8. bbottema commented on Mar 21, 2024

    @bbottema
    Owner

    To give a specific example of your request:

    Email emailToBeEncrypted = currentEmailBuilder
        .(..)
        .encryptWithSmime(SmimeEncryptConfig.builder()
    		.x509Certificate(yourCertificate)
    		.cipherAlgorithm("AES256_CBC")
    		.build())
        .buildEmail();
  9. asariev commented on Mar 21, 2024

    @asariev
    Author
  10. added 4 commits that reference this issue on Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions