Commit Graph

4 Commits (main)

Author SHA1 Message Date
Aydin Mercan 47058098a0
mod: tidy dependencies 2021-12-05 12:59:07 +03:00
Aydin Mercan a7afee7530
internal/publickey: add eddsa tests
Added tests for EdDSA keys. Subsequently, some fixes were introduced.
Also, ECDSA's test names were fixed to avoid collusions.

As a bonus some unused code were removed.
2021-12-05 12:38:31 +03:00
Aydin Mercan 82785c70eb internal/publickey: move from public jwk add tests
Moving algorithm specific jwk code to an internal module.
Not caring about it should be fine(?) to the end user as long
as the library remains vigilantic about it. Also, the crypto.PublicKey
in JWK isn't meant to be used directly anyway.
2021-11-03 20:41:03 +03:00
Aydin Mercan 17de1b90f9 initial commit
- Created the JWK definition with parsing key sets, needs more through
  poking for covering invalid state handling.

- Basic parsing tests with CI
2021-11-02 10:43:52 +03:00