Skip to content

Not sure if my browser implementation is correct ... #181

Answered by panva
fazulk asked this question in Q&A
Discussion options

You must be logged in to vote

@fazulk the sign argument is meant to be a KeyLike (type alias), in the browser this means all asymmetric keys need to be CryptoKey instances, e.g. imported via https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/importKey

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@panva
Comment options

@panva
Comment options

@fazulk
Comment options

Answer selected by fazulk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants