We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96baf7e commit cafc297Copy full SHA for cafc297
desktop/core/ext-py3/pysaml2-7.3.1/src/saml2/sigver.py
@@ -481,7 +481,7 @@ def import_rsa_key_from_file(filename, passphrase=None):
481
with open(filename, "rb") as fd:
482
data = fd.read()
483
passphrase = bytes(passphrase, 'ascii') if passphrase else None
484
- key = saml2.cryptography.asymmetric.load_pem_private_key(data)
+ key = saml2.cryptography.asymmetric.load_pem_private_key(data, passphrase)
485
return key
486
487
0 commit comments