SAML-Toolkits / php-saml

Simple SAML toolkit for PHP
MIT License
1.23k stars 469 forks source link

FIX missing encrypted private key handler #547

Closed atm-quentin closed 1 year ago

pitbulk commented 1 year ago

@atm-quentin The toolkit does not support PKCS8 encrypted format. There is no support to decrypt the encrypted key, so this format is not supported in the formatPrivateKey method.

You can execute:

openssl rsa -in encrypted_pem.key -out pem.key

provide the pass phrase and generate a "RSA PRIVATE KEY"

atm-quentin commented 1 year ago

ok thanks