Commit Graph

90 Commits

Author SHA1 Message Date
Michael Pfaff c562d2f22e
Use crosstime git instead of local 2022-03-06 12:17:15 -05:00
Michael Pfaff 3948597cd9
Remove no_verify feature flag in favor of cfg(target_arch) 2022-03-06 12:11:22 -05:00
Michael Pfaff 86ba5e1d6c
Support for WASM 2022-02-27 23:24:26 -05:00
Vincent Prouillet d8a33def00 New minor version for docs 2022-02-03 20:50:31 +01:00
Vincent Prouillet af684c146f Get ready for release 2022-02-02 22:10:11 +01:00
Vincent Prouillet 1a46cfa7c9 Add default feature use_pem 2022-02-02 22:10:11 +01:00
Vincent Prouillet 4598ba0a8c Beta 7 2022-02-02 22:10:11 +01:00
Vincent Prouillet d73f3dd3a3 Beta 6 2022-02-02 22:10:11 +01:00
Vincent Prouillet 855793f6a9 Beta 5 2022-02-02 22:10:11 +01:00
Adam Gleave 369d1090bb (`next`) Remove chrono (#213)
* Remove chrono from all dependencies

* Fix tests

* Fix tests and comments
2022-02-02 22:10:11 +01:00
Vincent Prouillet 733d29aa87 Add back Validation::default()
Closes #208
2022-02-02 22:10:11 +01:00
Vincent Prouillet 2e8aa8d3f8 Beta 3 2022-02-02 22:10:11 +01:00
Vincent Prouillet a11106faff Add types for JWK/JWKS based on biscuit (#195)
* Add types for JWK/JWKS based on biscuit

* Address comments

* Fix issues
2022-02-02 22:10:11 +01:00
Vincent Prouillet b6dafd63dd Make Validation::algorithms an error if empty 2022-02-02 22:10:11 +01:00
Vincent Prouillet 6f05ec9a1a v8 beta1 2022-02-02 22:10:11 +01:00
Vincent Prouillet 48770d4797 Prepare for v8 2022-02-02 22:10:11 +01:00
Vincent Prouillet 445dfe037e Prepare for v8 2022-02-02 22:10:11 +01:00
Piotr Maks 90b9700748
Clippy (#146)
* Bump minimum required Rust version to 1.40

Motivation for this change is use of `#[non_exhaustive]` attribute that
was stabilized in Rust 1.40.0

* Migrate benchmarks to criterion

Remove use of unstable features in favour of criterion benchmarks

* Enable clippy in Github Actions

* Fix clippy::manual_non_exhaustive

Remove manual implementations of the non-exhaustive pattern. Instead
use the `#[non_exhaustive]` attribute.

* Allow reexport of deprecated function

Silence rustc `deprecated` working in function reexport

* Remove redundant clone

* Fix various clippy warnings

* Remove redundant pattern
* Use `unreachable!()` to fail test
* No need to add `&` to all patterns
2020-08-31 12:04:57 +02:00
Vincent Prouillet 7a7367361f
Prepare for 7.2.0 (#143) 2020-06-30 21:25:25 +02:00
Vincent Prouillet 952d34c139 v7.1.2 2020-06-16 12:07:08 +02:00
Vincent Prouillet cf6ac78714
Update for 7.1.1 (#134) 2020-06-09 22:00:37 +02:00
Marc Mettke 3cae0df3dd
Updating base64 to 0.12 (#133) 2020-06-09 21:50:19 +02:00
Vincent Prouillet fa05ece73c Prepare for 7.1.0 2020-03-01 19:58:18 +01:00
Vincent Prouillet 2484d47f7d v7.0.1 2020-01-30 21:28:00 -08:00
Vincent Prouillet b9989d14cf Prepare for release 2020-01-28 18:18:21 -08:00
Vincent Prouillet 1cc14b04eb Beta 1 2020-01-21 07:41:55 -08:00
Vincent Prouillet 77ae0effc8 Add DecodingKey 2019-12-29 21:50:06 +01:00
Vincent Prouillet bfcfc1d341 Handle aud not being a sequence
Closes #110
2019-11-28 19:27:33 +01:00
Vincent Prouillet 499b439cb0 Wrong badge 2019-11-15 20:39:19 +01:00
Vincent Prouillet 8d678086eb v7 alpha 1 2019-11-15 20:37:47 +01:00
Vincent Prouillet 1f6d0ffb2c Refactor decoding 2019-11-11 20:16:34 +01:00
Vincent Prouillet 8169ee3d9f Remove chrono from deps 2019-11-11 19:47:35 +01:00
Vincent Prouillet b27981549f Not working yet jwk decoding 2019-11-09 11:42:40 +00:00
Vincent Prouillet 417e00780d Use serde with derive feature 2019-11-03 15:46:08 +00:00
Vincent Prouillet 210e96063d Reorganise tests 2019-11-03 15:36:19 +00:00
Levi 571898252f Add PEM decoding support (#106)
* Add PEM support with pem and simple_asn1. Documentation TODO

* Make pkcs1 and pkcs8 versions of the RSA key, confirm they pass tests.

* Add documentation, simplify

* Update readme

* Bump pem version

* Remove extra print
2019-11-03 12:22:51 +00:00
Brian Smith f7423d075a Use *ring* 0.16.5. 2019-08-10 11:38:54 -10:00
Vincent Prouillet b8627260b2 Update to edition 2018 2019-07-06 20:36:32 +02:00
Vincent Prouillet 357eb4c539 Update changelog 2019-06-16 18:03:21 +02:00
Jake Shadle 5d01baea94 Bump ring 2019-05-15 16:16:49 +02:00
Vincent Prouillet b2d57edc72 Release new version 2019-05-10 16:49:31 -07:00
Vincent Prouillet 0ccb61eea5 Update some things for v6 2019-03-22 09:40:08 +01:00
Vincent Prouillet b4e0ae5f6d
Merge branch 'next' into master 2019-03-22 09:24:02 +01:00
Vincent Prouillet 71d5cb19f7 Update base64 2019-02-04 18:39:46 +01:00
Jasper Bryant-Greene 8a495d3a4e updated ring dependency 2019-02-01 12:12:33 +08:00
Jasper Bryant-Greene 1f6ae28566 ring -> 0.14.1, updated other deps 2019-01-18 10:34:12 +08:00
Alex Gaynor 716fe8b64d Upgraded ring to 0.14 2019-01-13 00:20:34 +00:00
Jasper Bryant-Greene 9883fab729 implemented ECDSA signing, updated ring to 0.14 alpha 2019-01-09 09:46:06 +08:00
Vincent Prouillet 4a5d69bdc0 Release 5.0.1 2018-09-10 12:43:45 +02:00
Vincent Prouillet 109978ab6b Remove error-chain
Fix #52, #56, #57
2018-07-25 14:46:30 +02:00
Matt Hauck 94917bfe2c Update ring 2018-07-13 15:50:34 -07:00
Vincent Prouillet 9056a2912f Update base64 2018-03-19 12:31:38 +01:00
Vincent Prouillet 7e394c98e1 v4.0.0 2017-11-22 17:25:46 +01:00
Vincent Prouillet eae3743017 Make it mandatory to specify algorithm 2017-10-22 13:23:46 +02:00
Vincent Prouillet 3985915da6 Update error-chain and make typ public 2017-09-07 16:46:40 +09:00
Vincent Prouillet 7e36d3f7bb Update ring and fix leeway docs 2017-08-30 18:09:57 +09:00
Vincent Prouillet 01d6b906e0 v2.0.3 2017-07-18 20:38:46 +09:00
Vincent Prouillet ff6e8a3490 Update changelog and base64 2017-06-24 15:18:07 +09:00
Jacob Chang 8b4228cba1 Update dependencies (#33)
* Update ring to 0.11.0

* Update chrono to 0.4

* Bump to version 2.0.2
2017-06-24 15:15:45 +09:00
Brian Smith 610a2cbfdb Bump version to 2.0.1. 2017-05-08 18:38:19 -10:00
Brian Smith 58899486bc Update to *ring* 0.9.4. 2017-05-08 18:37:56 -10:00
Vincent Prouillet 8c492f1413 Update base64 crate 2017-04-23 14:16:38 +09:00
Mike Engel ca59ac1f02
Update serde, serde_json, and serde_derive to 1.0 2017-04-21 15:16:52 -06:00
Vincent Prouillet d343e9c8b6 V2 Beta 1 2017-04-20 12:33:33 +09:00
Vincent Prouillet 64ad3187eb Cleanup crypto nesting and remove error-chain default features 2017-04-14 20:23:28 +09:00
Vincent Prouillet 410499e6b6 Add validation 2017-04-12 17:51:05 +09:00
Vincent Prouillet bdeefe5ed7 Fix bench and docs 2017-04-11 12:58:50 +09:00
Vincent Prouillet f7d0a7a002 Work on RSA 2017-04-11 12:40:55 +09:00
Vincent Prouillet e3a4294e85 Move to serde + base64
Remove Part trait
Move tests to tests directory
Reorganise code
2017-04-11 12:40:40 +09:00
Vincent Prouillet e60cb57f0f Release 1.1.7 2017-04-02 15:31:22 +09:00
Claus Matzinger 8de24e2a63
updated ring dependency to 0.7 2017-04-01 21:02:08 +02:00
Vincent Prouillet f9d6d9d685 Release 1.1.6 2017-02-13 14:18:43 +09:00
Vincent Prouillet 75ce72e4ce Update ring 2016-12-26 13:19:15 +09:00
Vincent Prouillet c55e4770c0 Update ring 2016-10-11 16:13:21 +02:00
Vincent Prouillet d423550209 Release v1.1.5 2016-08-24 12:50:32 +01:00
Vincent Prouillet 2ba03d6f06 Update ring to 0.3 2016-08-24 12:49:07 +01:00
Vincent Prouillet b00a28e9c9 Release 1.1.4 2016-08-23 17:46:37 +01:00
Vincent Prouillet 3f986f54a8 rust-crypto -> ring 2016-08-23 17:39:18 +01:00
Vincent Prouillet ea5506d8d8 Release 1.1.3 2016-04-25 11:34:14 +01:00
Vincent Prouillet f606089806 Release 1.1.2 2016-04-11 12:08:21 +01:00
Vincent Prouillet 92bc6b8dd4 Release 1.1.1 2016-03-29 16:28:57 +01:00
Vincent Prouillet 498fc7eb05 1.1.0 2016-02-29 10:32:13 +00:00
Vincent Prouillet c49ccb02a1 Update clippy 2016-02-29 10:26:36 +00:00
Vincent Prouillet 7d1b17e877 Update description and clippy version 2016-01-07 14:01:07 +00:00
Vincent Prouillet 4ce022fca2 Prepare for 1.0 release 2015-12-22 17:17:53 +00:00
Vincent Prouillet 620eadefb6 Updated docs 2015-11-08 12:08:44 +00:00
Vincent Prouillet e11579c604 Rename to jsonwebtoken 2015-11-02 23:27:28 +00:00
Vincent Prouillet 96acf8f143 Move benches to a folder + add license 2015-11-02 21:15:45 +00:00
Vincent Prouillet 2253cdec4f wip crypto 2015-11-01 19:32:43 +00:00
Vincent Prouillet 7585a7f0f9 Initial commit 2015-10-31 15:37:15 +00:00