This repository was archived by the owner on Jan 28, 2026. It is now read-only.
Commit bf5f161
authored
Set and check "alg" JWK property for EdDSA keys (#3)
When exporting Ed25519 and Ed448 keys as JWK, set the "alg" property to "EdDSA".
When importing Ed25519 and Ed448 keys from JWK, if the "alg" property exists,
check that it is "EdDSA".1 parent 4eeeea0 commit bf5f161
1 file changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2230 | 2230 | | |
2231 | 2231 | | |
2232 | 2232 | | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
2233 | 2241 | | |
2234 | 2242 | | |
2235 | 2243 | | |
| |||
2524 | 2532 | | |
2525 | 2533 | | |
2526 | 2534 | | |
| 2535 | + | |
| 2536 | + | |
| 2537 | + | |
| 2538 | + | |
| 2539 | + | |
| 2540 | + | |
2527 | 2541 | | |
2528 | 2542 | | |
2529 | 2543 | | |
| |||
3110 | 3124 | | |
3111 | 3125 | | |
3112 | 3126 | | |
| 3127 | + | |
| 3128 | + | |
| 3129 | + | |
| 3130 | + | |
| 3131 | + | |
| 3132 | + | |
| 3133 | + | |
| 3134 | + | |
3113 | 3135 | | |
3114 | 3136 | | |
3115 | 3137 | | |
| |||
3404 | 3426 | | |
3405 | 3427 | | |
3406 | 3428 | | |
| 3429 | + | |
| 3430 | + | |
| 3431 | + | |
| 3432 | + | |
| 3433 | + | |
| 3434 | + | |
3407 | 3435 | | |
3408 | 3436 | | |
3409 | 3437 | | |
| |||
0 commit comments