Charles Lehner
|
2178cc7506
|
Add EdDSA (Ed25519) (#154)
|
2022-02-02 22:10:11 +01:00 |
Vincent Prouillet
|
34ea194179
|
Move crypto to a dir
|
2019-11-08 19:00:19 +00:00 |
Vincent Prouillet
|
210e96063d
|
Reorganise tests
|
2019-11-03 15:36:19 +00:00 |
Vincent Prouillet
|
b8627260b2
|
Update to edition 2018
|
2019-07-06 20:36:32 +02:00 |
Vincent Prouillet
|
20013a4e4f
|
Fixed conflicts
|
2019-06-16 18:00:00 +02:00 |
Vincent Prouillet
|
84ee604e88
|
trait -> enum
|
2019-06-16 17:51:43 +02:00 |
Kan-Ru Chen
|
c26bdf7e06
|
Support for RSASSA-PSS signing algorithm
As specified in https://tools.ietf.org/html/rfc7518#section-3.5
- PS256 - RSASSA-PSS using SHA-256 hash algorithm
- PS384 - RSASSA-PSS using SHA-384 hash algorithm
- PS512 - RSASSA-PSS using SHA-512 hash algorithm
|
2019-06-08 03:08:54 +09:00 |
Jake Shadle
|
c5db9fbe32
|
Fix tests
|
2019-05-15 16:20:25 +02:00 |
Vincent Prouillet
|
8f0809318d
|
rustfmt
|
2018-10-28 19:58:35 +01:00 |
himanoa
|
4bd4c8b3de
|
feat: Implement FromStr trait for Algorithm
|
2018-08-31 03:53:55 +09:00 |
Vincent Prouillet
|
5528497f5a
|
Fix validation not working properly
Close #51
|
2018-07-25 15:42:02 +02:00 |
Mike Engel
|
d30a7599a8
|
Add a method to decode a token without signature validation
- Solves #48
- `dangerous_unsafe_decode`
- No docs (aside from cargo) since people probably shouldn't use it
|
2018-03-13 20:47:43 -06:00 |
Vincent Prouillet
|
7907b1cd79
|
Fix readme
|
2017-11-14 17:18:25 +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
|
d213fb8a62
|
Remove validate_signature option and add decode_header
|
2017-08-25 17:48:53 +09:00 |
Vincent Prouillet
|
fc9f83b837
|
No need to pass an algorithm to decode
|
2017-04-22 15:21:44 +09:00 |
Vincent Prouillet
|
57c513c757
|
Actually take a ref to Validation
Seems like I updated the docs but not the code...
|
2017-04-14 20:32:40 +09:00 |
Vincent Prouillet
|
50d676865f
|
Add test for decode without validating signature
|
2017-04-12 18:03:28 +09:00 |
Vincent Prouillet
|
410499e6b6
|
Add validation
|
2017-04-12 17:51:05 +09:00 |
Vincent Prouillet
|
c244e835e0
|
Take ref to Header, not by value
|
2017-04-11 12:54:32 +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 |