diff options
| author | Pawel Zelawski <pawel.zelawski@outlook.com> | 2026-01-23 11:37:56 +0100 |
|---|---|---|
| committer | Pawel Zelawski <pawel.zelawski@outlook.com> | 2026-01-23 11:37:56 +0100 |
| commit | fbc80fe79ce823534a58197dd3173f29f81d6bcb (patch) | |
| tree | 3cbb05850a7ee33ff951b55b469704cbbcfb99ec /package.json | |
| parent | 491058ae03ba1f0ae70fe3c684002c9e8e864a53 (diff) | |
fix: correct public key recovery to use toBytes() and addRecoveryBit()
- Changed point.toRawBytes() to point.toBytes() to match @noble/curves v2 API
- Added .addRecoveryBit(actualRecoveryId) to signature for proper recovery
- Returns both compressed/uncompressed public keys for verification
- Fixes signature verification regression in v2.0.0
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index e326047..1edba61 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "digiid-ts", - "version": "2.0.0", + "version": "2.0.1-beta.0", "description": "A modern TypeScript implementation of the DigiID authentication protocol.", "main": "dist/digiid-ts.umd.js", "module": "dist/digiid-ts.es.js", @@ -78,4 +78,4 @@ "glob": "^10.5.0", "brace-expansion": "^2.0.2" } -} +}
\ No newline at end of file |
