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
The Object.attribute function always returns a fixed value of the P256 curve OID (see following code excerpt).
This is obviously wrong for non P256 keys and leads to errors when using the module with at least pkcs11-tool.
The real information about the key could be found in the certificate (SubjectPublicKeyInfo), but that is not available in the PrivateKey and PublicKey trait.
Maybe the Key objects could be extended to provide this information.
The text was updated successfully, but these errors were encountered:
The
Object.attribute
function always returns a fixed value of the P256 curve OID (see following code excerpt).This is obviously wrong for non P256 keys and leads to errors when using the module with at least pkcs11-tool.
The real information about the key could be found in the certificate (SubjectPublicKeyInfo), but that is not available in the PrivateKey and PublicKey trait.
Maybe the Key objects could be extended to provide this information.
The text was updated successfully, but these errors were encountered: