Closed user163 closed 11 months ago
Thank you for reporting this! Are you planning to open a PR with the fix?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The documentation should be adapted to the current state of development, e.g. for version 7.2.2 according to the documentation ES256KSigner: The supported encodings for the private key are hex, base64, base64url, and base58btc.
However, according to code only
Uint8Array
is allowed:function ES256KSigner(privateKey: Uint8Array, recoverable = false)
.Note: Before version 6.0.0 it was indeed possible to pass the key in various binary-to-text encodings.