summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2024-07-03 19:40:07 +0900
committerKazuki Yamaguchi <k@rhe.jp>2024-12-22 03:33:03 +0900
commitc79b4354074742ca1cbbb25a4f04bbffeb58407d (patch)
tree28976df5c0e1872e708a4c8472ea65dc38b37943 /spec/ruby
parent78f55ccd9be6c1893f07c841843a75f3b988dcf2 (diff)
[ruby/openssl] 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 #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: https://github.com/ruby/openssl/issues/772 https://github.com/ruby/openssl/commit/f5ed2a74b6
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12421
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions