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
I cannot import an spsk private key (secp256k1) on azure key vault. The result is: Error: The property "key" must be a valid JsonWebKey object.
Any solution / workaround ?
tnks
The text was updated successfully, but these errors were encountered:
Found the cause of the issue. For p256k alone "curve:" parameter is empty when filling in the fields of the key in JWK format. It is filled with the return value of key.Params().Name
Once I fill in the curve parameter statically when key.Params().Name is empty the import succeeds without any issue.
If you are building signatory from the source you can add the workaround here for now. j.Curve = key.Params().Name if j.Curve == "" { j.Curve = "P-256K" }
For the fix, I have to figure out things as the crypto library doesn't support this curve yet.
I cannot import an spsk private key (secp256k1) on azure key vault. The result is:
Error: The property "key" must be a valid JsonWebKey object.
Any solution / workaround ?
tnks
The text was updated successfully, but these errors were encountered: