-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Context
I'm trying to use the EcdsaKeyPair as a utility to generate a stable keypair. For testing purposes I'm:
- Creating a keypair with
exportable = true - Exporting that keypair
- Loading the private key so I have a stable key to reuse across tests / experiments
This works fine using the EdKeypair, but fails with "key is not extractable" when using the p256 plugin.
I believe the problem is that, when creating a new key, the static method does not allow you to specify exportable and hardcodes the extraction parameter to "false" when creating the key.
I have a PR that addresses this issue that I will reference here.
Metadata
Metadata
Assignees
Labels
No labels