-
Notifications
You must be signed in to change notification settings - Fork 18
Reconsider exportPrivateKey() #391
Copy link
Copy link
Open
Description
exportPrivateKey() was mostly tacked onto the Signer interface as a hack, and I don't particularly like it. The vast majority of Signer implementations will implement this solely to have it return a "not exportable" failure.
I would strongly prefer if we moved it to a ExportablePrivateKey trait interface (or similar) that is only implemented by signers that actually can have exportable private keys; in particular, ephemeral signers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels