You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like only RSA private key type can be used since ECDSA private key is not supported and exception OpenSSL::PKey::RSAError is raised with error message Neither PUB key nor PRIV key: nested asn1 error. I'm trying to do SAML request signing and there is no option to change this and line of code that breaks in a gem is OpenSSL::PKey::RSA.new(formatted_private_key) in lib/onelogin/ruby-saml/settings.rb and method is get_sp_key. Is there a possibility to change this since OpenSSL library does support reading different key reference https://docs.ruby-lang.org/en/2.4.0/OpenSSL/PKey.html
The PKey module offers support for three popular public/private key algorithms:
RSA (OpenSSL::PKey::RSA)
DSA (OpenSSL::PKey::DSA)
Elliptic Curve Cryptography (OpenSSL::PKey::EC)
The text was updated successfully, but these errors were encountered:
Looks like only RSA private key type can be used since ECDSA private key is not supported and exception
OpenSSL::PKey::RSAError
is raised with error messageNeither PUB key nor PRIV key: nested asn1 error
. I'm trying to do SAML request signing and there is no option to change this and line of code that breaks in a gem isOpenSSL::PKey::RSA.new(formatted_private_key)
inlib/onelogin/ruby-saml/settings.rb
and method isget_sp_key
. Is there a possibility to change this sinceOpenSSL
library does support reading different key reference https://docs.ruby-lang.org/en/2.4.0/OpenSSL/PKey.htmlThe PKey module offers support for three popular public/private key algorithms:
The text was updated successfully, but these errors were encountered: