42 Commits

Author SHA1 Message Date
arunmu-nx
b9528b32eb #102 Prevent Algo confusion attack 2025-04-22 18:49:16 +05:30
Nikita Karatun
20d997dd2f fix: algorithm::NONE string representation capitalized, tests linkage fixes 2020-07-08 16:28:19 +03:00
Carlos Gomes Martinho
f43b6e93fa chore: use both options for gtest include dir variable 2020-02-24 13:26:13 +01:00
Carlos Gomes Martinho
d4b5525eb9 chore: use old lib variables for cmake 2020-02-24 13:16:44 +01:00
Carlos Gomes Martinho
de69fd2133 build: improve cmake scripts 2020-02-24 09:21:52 +01:00
Andrew Wiik
92cac1ecbd Updated tests and README for RFC Fixes 2020-01-16 00:56:41 -05:00
Huang-Ming Huang
74b7b344c6 Add api to supply secret based on decoded payload 2019-02-16 15:36:12 -06:00
Huang-Ming Huang
0b68fd46fb Some cmake improvements 2019-02-11 14:10:38 -06:00
Matt Frantz
043c8429d4 issue-33: Add test showing how to invoke move ctor 2018-10-24 17:44:15 -07:00
Matt Eastman
8cb5ea3d5e Fix out of bounds read in base64_decode 2018-10-03 17:24:11 -05:00
Arun M
129731da56 Add option to remove type fromt he jwt_header #26 2018-08-05 15:10:53 +05:30
Arun M
87dcef903f Why does the existence of a signature algorithm entail a required verification? #24 2018-05-31 20:36:07 +05:30
Arun M
077e6f3f07 ES256/384 signature verification fails #20 2018-05-22 18:07:19 +05:30
Samer Afach
1fcfbaac75 Fix more signed/unsigned warnings. 2018-05-19 19:03:46 +02:00
Arun M
55c36d4c30 Enable compiler warnings 2018-05-19 18:43:28 +05:30
Arun M
3bb3c6cf3b Added tests for invalid signature 2018-01-02 12:30:19 +05:30
Arun M
a5728dd397 use find instead of count on std::set. libc++ has a bug in that count is not cont member function. 2018-01-02 12:04:45 +05:30
Arun M
6302055db1 Readme changes for example code and fixed header decoding 2017-12-29 16:26:37 +05:30
Arun M
f13d6d7fb7 Added tests for ES algorithm support 2017-12-29 15:21:16 +05:30
Arun M
161e5d8753 Add support for additional headers 2017-12-29 14:44:17 +05:30
Arun M
7ddf7ec3e9 Added checks and tests for iat/jti/sub 2017-12-29 01:10:41 +05:30
Arun M
babdd4f0a6 Added RSA tests 2017-12-28 23:48:29 +05:30
Arun M
e813a75e27 Remove case insensitive compare for has_claim API 2017-12-28 16:39:49 +05:30
Arun M
4a4217a9f4 Cmake support added for tests. Complete.Huh. 2017-12-28 15:44:47 +05:30
Arun M
bd73699001 Added cmake support 2017-12-28 14:13:49 +05:30
Arun M
b78b18e855 Added tests for exception throwing APIs 2017-12-28 09:24:58 +05:30
Arun M
7e9e49569f Added test for overwriting claims 2017-12-28 09:06:46 +05:30
Arun M
98979a55d1 string_view to jwt::string_view 2017-12-27 21:10:43 +05:30
Arun M
5771f97c1c Added more verification tests and fixes 2017-12-27 15:25:53 +05:30
Arun M
e662b445dd Added tests for expiration 2017-12-27 14:34:23 +05:30
Arun M
e42720a446 Added more documentation and some bug fixes in verification process 2017-12-27 12:18:44 +05:30
Arun M
3d9e15b5c8 Added documentation comments to jwt.hpp 2017-12-27 11:25:33 +05:30
Arun M
a5e18cc4f4 Added exception handling and test for key/secret not present 2017-12-26 20:35:51 +05:30
Arun M
99f3c1db86 Make secret an optional argument for decode 2017-12-26 20:20:53 +05:30
Arun M
6c2bbe9ad0 Added more decode tests 2017-12-26 19:51:17 +05:30
Arun M
d7e4add937 Change signature for has_claim_with_value API 2017-12-26 14:16:35 +05:30
Arun M
c62a9498d9 Handle exception for header and payload decode into error code 2017-12-26 13:11:48 +05:30
Arun M
204092e588 Added signature validation test 2017-12-26 09:21:24 +05:30
Arun M
cb1847142e Fail with no key if algorithm is not NONE 2017-12-25 21:35:28 +05:30
Arun M
f8eebbede0 Fix string view overload for claim value 2017-12-25 12:42:38 +05:30
Arun M
98ea0d6e58 Added more encoding tests 2017-12-24 17:04:44 +05:30
Arun M
9a7925cca5 Added tests and gtest support 2017-12-21 19:07:50 +05:30