Filip Skokan
6e3d6fd111
feat: compute private RSA key p, q, dp, dq, qi when omitted
...
resolves #26
2019-05-23 19:51:45 +02:00
Filip Skokan
b0ff436daf
fix: reject rsa keys without all factors and exponents with a specific message
2019-05-23 19:20:30 +02:00
Filip Skokan
23b874cc20
feat: add JWK key_ops support, fix .algorithms() op returns
...
BREAKING CHANGE: key.algorithms(op) un+wrapKey was split into correct
wrapKey/unwrapKey/deriveKey returns
BREAKING CHANGE: keystore.all and keystore.get `operation` option was
removed, `key_ops: string[]` supersedes it
2019-04-23 14:30:51 +02:00
Filip Skokan
1159b0df4e
feat: add key.toPEM() export function with optional encryption
2019-04-23 14:30:50 +02:00
Filip Skokan
2dbd3ed43a
feat: add OKP Key and EdDSA sign/verify support
...
BREAKING CHANGE: node.js minimal version is now v12.0.0 due to its
added EdDSA support (crypto.sign, crypto.verify and eddsa key objects)
resolves #12
2019-04-23 14:30:49 +02:00
Filip Skokan
e21fea106b
revert: add EC P-256K JWK and ES256K sign/verify support
...
BREAKING CHANGE: removing ES256K alg and EC P-256K crv support until the
IETF WG decides on what the final names will be.
2019-04-07 14:13:10 +02:00
Filip Skokan
764b86309c
fix: properly restrict EC curves in generate(Sync)
2019-03-28 09:42:27 +01:00
Filip Skokan
fb7ae33ce2
chore: remove done todos
...
[skip ci]
2019-03-27 11:17:59 +01:00
Filip Skokan
2e33e1cc2b
feat: add EC P-256K JWK and ES256K sign/verify support
2019-03-27 10:35:02 +01:00
Filip Skokan
c5c985b1ab
refactor: use pem from asn1.js
2019-03-26 20:47:01 +01:00
Filip Skokan
12357f8ae1
refactor: source in asn1.js to remove some transitive dependencies
2019-03-26 18:24:10 +01:00
Filip Skokan
a6d83d1d8e
refactor: explicitly check EC curves supported
2019-03-26 09:42:22 +01:00
Filip Skokan
8892994922
refactor: revert the windows fix, bump keyto
2019-03-25 09:49:50 +01:00
Filip Skokan
57f1692d99
fix: key.toJWK() fixed on windows
...
* ci: try different os builds
* fix: key.toJWK() fixed on windows
resolves #17
2019-03-19 18:26:42 +01:00
Filip Skokan
2ad441831d
refactor: use import rather then new
2019-03-11 21:28:45 +01:00
Filip Skokan
d5fc18e4d2
refactor: less relying on KeyObject prototype
2019-03-04 20:04:42 +01:00
Filip Skokan
7bc3cc4c71
feat: resolving alg/enc, crit members, add tests
2019-02-20 23:12:08 +01:00
Filip Skokan
7f84ce9252
feat: add ES521 support, start test suite
2018-11-03 14:30:20 +01:00
Filip Skokan
b8709756f0
chore: initial commit
2018-11-03 12:30:32 +01:00