Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support signing and verification using ECDSA #2280

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Conversation

cpetrov
Copy link
Member

@cpetrov cpetrov commented Nov 23, 2023

Introduce the methods crypto.subtle.sign() and
crypto.subtle.verify() to create and verify ECDSA signatures.

Currently, only the combination of the algorithm ECDSAinDERFormat and
SHA-256 hash is supported.

The algorithm ECDSAinDERFormat is similar to the ECDSA algorithm
used in SubtleCrypto, with the distinction that signature is encoded
in the DER format, diverging from the IEEE-P1363 format used in
SubtleCrypto.

@cpetrov cpetrov changed the base branch from master to pr-ecdsa-keys November 23, 2023 18:33
snippets/crypto-sign.ts Show resolved Hide resolved
src/tabris/Crypto.ts Outdated Show resolved Hide resolved
Base automatically changed from pr-ecdsa-keys to master December 6, 2023 12:37
Introduce the methods `crypto.subtle.sign()` and
`crypto.subtle.verify()` to create and verify ECDSA signatures.

Currently, only the combination of the algorithm `ECDSAinDERFormat` and
`SHA-256` hash is supported.

The algorithm `ECDSAinDERFormat` is similar to the `ECDSA` algorithm
used in `SubtleCrypto`, with the distinction that signature is encoded
in the DER format, diverging from the IEEE-P1363 format used in
`SubtleCrypto`.
@cpetrov cpetrov merged commit 7cedf01 into master Dec 6, 2023
1 check passed
@cpetrov cpetrov deleted the pr-subtle-sign branch December 6, 2023 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants