Filip Skokan
8d625a139d
ci: clean electron app exit
2019-07-29 15:30:17 +02:00
Filip Skokan
1b6153b87d
chore(release): 1.6.0
2019-07-27 21:39:45 +02:00
Filip Skokan
51db802f39
style: fix lint
2019-07-27 21:39:33 +02:00
Filip Skokan
1cf0da0812
test: fix flaky tests
2019-07-27 21:33:02 +02:00
Filip Skokan
e7ad82cbbc
feat: electron v6.x support
2019-07-27 21:19:14 +02:00
Filip Skokan
24acd201b6
fix: use the correct ECPrivateKey version when importing EC JWK
2019-07-27 16:35:39 +02:00
Filip Skokan
188c2c34f1
chore(release): 1.5.2
2019-07-27 15:31:52 +02:00
Filip Skokan
181fd0954e
fix: importing x5c in electron requires the input split
2019-07-27 15:31:24 +02:00
Filip Skokan
60efc06a93
chore(release): 1.5.1
2019-07-27 11:23:07 +02:00
Filip Skokan
1dc7f35bd2
fix: correctly pad integers when importing RSA JWK
2019-07-27 11:14:01 +02:00
Filip Skokan
9cca30fd4a
chore: update package.json keywords
...
[skip ci]
2019-07-23 17:01:48 +02:00
Filip Skokan
0364da673c
chore(release): 1.5.0
2019-07-23 14:56:44 +02:00
Filip Skokan
6c98b61597
feat: validate JWTs according to a JWT profile - ID Token
...
It is now possible to pass a profile to `JWT.verify` and have the JWT
validated according to it. This makes sure you pass all the right
options and that required claims are present, prohibited claims are
missing and that the right JWT typ is used.
More profiles will be added in the future.
2019-07-23 14:50:16 +02:00
Filip Skokan
baa2f4d04b
style: indent index.d.ts
2019-07-22 22:40:15 +02:00
Filip Skokan
98af967ef6
test: test jwt sign options over existing payload
2019-07-22 22:38:03 +02:00
Filip Skokan
418e311c8d
chore: update dev deps, code lint
2019-07-21 18:05:57 +02:00
Filip Skokan
c77c7945ab
chore: update sponsor links
2019-07-18 19:37:36 +03:00
Filip Skokan
051099d192
chore(release): 1.4.1
2019-07-14 19:30:36 +03:00
Filip Skokan
36c9ce20c5
fix: honour the JWT.sign jti option
...
fixes #33
2019-07-14 19:30:04 +03:00
Filip Skokan
10a1b6400d
chore(release): 1.4.0
2019-07-08 22:10:10 +02: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
7f0ad30666
docs: update changelog.md
...
[skip ci]
2019-06-21 15:26:19 +02:00
Filip Skokan
c51dc28cfd
docs: update changelog.md
2019-06-21 15:09:38 +02:00
Filip Skokan
2969e559c6
chore(release): 1.3.0
2019-06-21 15:03:20 +02:00
Filip Skokan
48655f8399
chore: update dependencies
2019-06-20 23:35:34 +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
80cdd4f4f5
chore: update dependencies
2019-06-16 18:32:58 +02:00
Filip Skokan
83186af455
chore: remove github funding yml section
...
[skip ci]
2019-06-09 11:23:24 +02:00
Filip Skokan
68591969f6
chore: update devDependencies
2019-06-06 17:53:52 +02:00
Filip Skokan
bf3d3cec1c
chore: update github bug report template
...
[skip ci]
2019-05-29 18:46:15 +02:00
Filip Skokan
67beaae815
style: enable lint with esnext features
2019-05-27 17:23:07 +02:00
Filip Skokan
1432681891
docs: update README.md
...
[skip ci]
2019-05-27 09:56:08 +02:00
Filip Skokan
d4258beaf3
docs: update docs/README.md
...
[skip ci]
2019-05-26 15:44:20 +02:00
Filip Skokan
9f9542e54f
docs: fix changelog
...
[skip ci]
2019-05-25 23:07:54 +02:00
Filip Skokan
0231841687
chore(release): 1.2.0
2019-05-25 22:53:03 +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
2eae293760
feat: instances of JWKS.KeyStore are now iterable (e.g. for ... of)
2019-05-25 22:18:27 +02:00
Filip Skokan
5496a60945
chore: add FUNDING.yml
2019-05-25 18:54:34 +02:00
Filip Skokan
b1abdff637
chore(release): 1.1.0
2019-05-23 20:09:26 +02:00
Filip Skokan
2557e50dc0
test: update test coverage tool to c8
2019-05-23 20:03:51 +02:00
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
6b7c92ab69
chore: add sponsor placement
...
[skip ci]
2019-05-23 07:38:21 +02:00
Filip Skokan
ce69aee4dd
style: index.d.ts 4 spaces
...
[skip ci]
2019-05-13 10:57:03 +02:00
Filip Skokan
de92f7b3d4
chore(release): 1.0.2
2019-05-13 10:37:14 +02:00
Filip Skokan
c7a8606e4d
fix: add missing keystore.toJWKS() .d.ts definition
...
fixes #25
2019-05-13 10:34:46 +02:00
Filip Skokan
46eb7edb80
refactor: mention thumbprint rather then kid in ref oct key thumbprint
2019-03-01 19:42:10 +02:00
Filip Skokan
c30e93621a
chore(release): 1.0.1
2019-04-27 20:05:01 +02:00