-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
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
RSA-OAEP key signing error #263
Comments
@bunyaminatik Please try to get the private key from the storage with a signing mechanism const alg = {
name: "RSASSA-PKCS1-v1_5",
hash: "SHA-256",
};
const privateKey = await provider.keyStorage.getItem("<private key id>", alg, false, ["sign"]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have a smart card that has rsa key pairs and Qualified certificate. But rsa key type is RSA-OAEP. When I try to sign with this key, it returns 'key does not match that of operation'. Because key usages returns empty. But I can use this key in bouncy castle on java for signing.
How could we solve that. Please help me.
The text was updated successfully, but these errors were encountered: