We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! I have a problem, when I do this:
key = xmlsec.Key.from_file(p12_path, xmlsec.constants.KeyDataFormatPkcs12, password=pass)
The file .p12 I can extract the private key and certificate whit this:
private_key, certificate, additional_certs = pkcs12.load_key_and_certificates(p12_data, clave.encode("utf-8")) print("🔐 Private key:", private_key)
And then it print: <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPrivateKey object at 0x73e07a4763d0>
Then, the path is fine, and the file also. What do I am doing wrong? Help, thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi! I have a problem, when I do this:
key = xmlsec.Key.from_file(p12_path, xmlsec.constants.KeyDataFormatPkcs12, password=pass)
The file .p12 I can extract the private key and certificate whit this:
private_key, certificate, additional_certs = pkcs12.load_key_and_certificates(p12_data, clave.encode("utf-8"))
print("🔐 Private key:", private_key)
And then it print: <cryptography.hazmat.bindings._rust.openssl.rsa.RSAPrivateKey object at 0x73e07a4763d0>
Then, the path is fine, and the file also. What do I am doing wrong? Help, thanks
The text was updated successfully, but these errors were encountered: