Filip Skokan
c77c7945ab
chore: update sponsor links
2019-07-18 19:37:36 +03:00
Filip Skokan
211d7af5db
feat: add secp256k1 EC Key curve and ES256K
...
This is as per
- https://tools.ietf.org/html/draft-ietf-cose-webauthn-algorithms-01
- https://mailarchive.ietf.org/arch/msg/cose/91MouVA43DefbpQOB7l5daCEeIc
2019-07-08 22:04:29 +02:00
Filip Skokan
2619091789
docs: update docs
2019-07-07 20:46:37 +02:00
Filip Skokan
8dac7a18fe
docs: update docs, link to pending node issues
2019-07-06 20:00:53 +02:00
Filip Skokan
5b53cb0155
fix: limit calculation of missing RSA private components
...
- this deprecates the use of `JWK.importKey` in favor of
`JWK.asKey`
- this deprecates the use of `JWKS.KeyStore.fromJWKS` in favor of
`JWKS.asKeyStore`
Both `JWK.importKey` and `JWKS.KeyStore.fromJWKS` could have resulted
in the process getting blocked when large bitsize RSA private keys
were missing their components and could also result in an endless
calculation loop when the private key's private exponent was outright
invalid or tampered with.
The new methods still allow to import private RSA keys with these
optimization key parameters missing but its disabled by default and one
should choose to enable it when working with keys from trusted sources
It is recommended not to use @panva/jose versions with this feature in
its original on-by-default form - v1.1.0 and v1.2.0 These will
2019-06-20 23:32:13 +02:00
Filip Skokan
1432681891
docs: update README.md
...
[skip ci]
2019-05-27 09:56:08 +02:00
Filip Skokan
9d46c48fd5
feat: add support for JWK x5c, x5t and x5t#S256
2019-05-25 22:34:28 +02:00
Filip Skokan
6b7c92ab69
chore: add sponsor placement
...
[skip ci]
2019-05-23 07:38:21 +02:00
Filip Skokan
b5cb98a085
docs: update README.md
2019-04-27 20:01:42 +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
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
2e33e1cc2b
feat: add EC P-256K JWK and ES256K sign/verify support
2019-03-27 10:35:02 +01:00
Filip Skokan
ed7c38be9c
docs: link OKP to github issue
2019-03-11 21:54:36 +01:00
Filip Skokan
d6923bdb31
docs: quick readme examples showing protected header
...
[skip ci]
2019-03-11 15:52:36 +01:00
Filip Skokan
61d844c4ce
docs: typos and more differences
2019-03-04 09:52:20 +01:00
Filip Skokan
dba1abdaf3
feat: add JWT.sign/verify/decode
2019-02-27 22:38:30 +01:00
Filip Skokan
b656702276
docs: documentation, README, .github files, getting ready to publish
2019-02-26 23:46:58 +01:00
Filip Skokan
d08a2d6ad1
docs: update README.md
2019-02-24 18:41:23 +01:00
Filip Skokan
77fe241aa7
feat: add decrypt/verify complete and algorithm options
2019-02-22 22:26:33 +01:00
Filip Skokan
cb718b545b
feat: add JWE zip support
2019-02-21 23:39:32 +01:00
Filip Skokan
962c1f5021
feat: b64 (rfc7797) support
2019-02-21 22:51:32 +01:00
Filip Skokan
7bc3cc4c71
feat: resolving alg/enc, crit members, add tests
2019-02-20 23:12:08 +01:00
Filip Skokan
775ea638b6
chore: cleanup
2019-02-10 17:45:55 +01:00
Filip Skokan
f3265330c8
feat: add ECDH-ES direct and key agreement KW
2019-01-27 19:20:32 +01:00
Filip Skokan
fc903aeab8
docs: update readme
2019-01-27 11:40:16 +01:00
Filip Skokan
dae457913f
feat: add PBES2 KW
2019-01-27 11:17:30 +01:00
Filip Skokan
526025a3c6
docs: feature tables
2019-01-27 08:08:56 +01:00
Filip Skokan
c1db0702a0
feat: add hmac
2018-11-03 13:21:42 +01:00
Filip Skokan
b8709756f0
chore: initial commit
2018-11-03 12:30:32 +01:00