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

Add support for decrypting S/MIME messages #11555

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Nov 6, 2024

  1. first python API proposition

    first round-trip tests
    
    feat: made asn1 structures readable
    
    refacto: adapted existing functions accordingly
    
    feat/pkcs12: added symmetric_decrypt
    
    feat: deserialize 3 possible encodings
    
    feat: handling AES-128
    
    feat: raise error when no recipient is found
    
    feat/pkcs7: added decanonicalize function
    
    feat/asn1: added decode_der_data
    
    feat/pkcs7: added smime_enveloped_decode
    
    tests are the round-trip (encrypt & decrypt)
    
    more tests for 100% python coverage
    
    test support pkcs7_encrypt with openssl
    
    added algorithm to pkcs7_encrypt signature
    
    refacto: decrypt function is clearer
    
    flow is more natural
    
    refacto: added all rust error tests
    
    refacto: added another CA chain for checking
    
    fix: const handling
    
    Refactor PKCS7Decryptor to pkcs7_decrypt
    
    refacto: removed SMIME_ENVELOPED_DECODE from rust code
    
    refacto: removed decode_der_data
    
    adapted tests accordingly
    
    removed the PEM tag check
    
    added tests for smime_decnonicalize
    
    one more test case
    
    Update src/rust/src/pkcs7.rs
    
    Co-authored-by: Alex Gaynor <[email protected]>
    
    took comments into account
    
    pem to der is now outside of decrypt
    
    fix: removed test_support pkcs7_encrypt
    
    added vector for aes_256_cbc encrypted pkcs7
    
    feat: not using test_support decrypt anymore
    
    added new vectors for PKCS7 tests
    
    feat: using pkcs7 vectors
    
    removed previous ones
    
    fix: changed wrong function
    
    feat: added certificate issuer check
    
    test: generating the RSA chain
    
    removed the vectors accordingly
    nitneuqr committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    fd8db30 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. Configuration menu
    Copy the full SHA
    9eed863 View commit details
    Browse the repository at this point in the history
  2. went too fast ^^

    nitneuqr committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    91b014c View commit details
    Browse the repository at this point in the history