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

pkcs12: add PKCS12#set_mac #788

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 16, 2024

  1. pkcs12: add PKCS12#set_mac

    Add a binding for PKCS12_set_mac() to set MAC parameters and
    (re-)calculate MAC for the content.
    
    This allows generating PKCS ruby#12 with consistent MAC parameters with
    different OpenSSL versions. OpenSSL 3.0 changed the default hash
    function used for HMAC and the KDF from SHA-1 to SHA-256.
    
    Fixes: ruby#772
    rhenium committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    85d9f26 View commit details
    Browse the repository at this point in the history