Open paihu opened 2 weeks ago
You are right, the example code provided in #654 had another error and I skipped the main question.
Should we add a binding for PKCS12_set_mac()
?
I think adding the PKCS12_set_mac() binding would be beneficial to maintain backward compatibility with legacy OpenSSL.
Issue https://github.com/ruby/openssl/issues/654 closed but it doesn't seem to be resolved.
Here's what we created using the legacy provider:
It uses sha256 instead of sha1.
current
OpenSSL::PKCS12.create
not support-macalg
https://github.com/pyca/cryptography/issues/7293#issuecomment-1199167579