Torba, Tamas (U513810)
fa499a9d2c
Add LibreSSL version number in algorithms.hpp
2020-11-16 14:33:25 +01:00
Nikita Karatun
20d997dd2f
fix: algorithm::NONE string representation capitalized, tests linkage fixes
2020-07-08 16:28:19 +03:00
Andrew Wiik
9624da5e59
Fix parsing of alg claim to be RFC compliant
...
The alg claim should always be treated as a case-sensitive value
according to the RFC spec which you can find here:
https://tools.ietf.org/html/rfc7515#section-4.1.1 .
The same RFC spec also says it must be present, if it is empty
it is not present so it should not be converted to the "none"
algo as the "none" algo is an algorithm and not the absence of
one.
Finally the "none" algorithm as a string should be "none" not
"NONE" according to the IANA register for JWS Signature and
Encryption Algorithms which can be found here:
https://www.iana.org/assignments/jose/jose.xhtml#web-signature-encryption-algorithms
2020-01-16 00:42:50 -05:00
Matt Powley
ff21be2947
'__builtin_unreachable' is not available on Windows
...
Replaced with macro that inserts Windows equivalent
2019-03-21 12:31:02 +00:00
Arun M
64de7b6f1d
Ptential Fix for VS2015 compile fail #27
2018-10-03 22:07:08 +05:30
Samer Afach
00343347b2
Fixed many warnings that appear due to assert not being executed in
...
release mode.
2018-05-30 22:44:38 +02:00
Samer Afach
34fdb34b44
Minor to make the code compile with -pedantic-errors flag in g++
2018-05-21 14:06:48 +02:00
Samer Afach
a9562500a0
More inline definitions to for header files to avoid double definition
...
problems.
2018-05-20 02:57:13 +02:00
Arun M
d60dd2c926
Fix tests to compile #9
2018-04-25 12:06:10 +05:30
Arun M
f8f0d37263
Openssl make does not work #5
2018-04-04 14:00:40 +05:30
Arun M
9487758b8c
Compilation works with g++ 6.4
2018-01-03 10:59:35 +05:30
Arun M
98979a55d1
string_view to jwt::string_view
2017-12-27 21:10:43 +05:30
Arun M
27e73646ae
Fixed the copyright permission on all source
2017-12-27 15:56:23 +05:30
Arun M
e5eb28716a
Added copyright header
2017-12-27 15:39:38 +05:30
Arun M
b5088a6d9c
Added nbf check and more exception and error code handling
2017-12-20 18:07:08 +05:30
Arun M
234411a550
Remove the debug code
2017-11-26 18:56:55 +05:30
Arun M
aaf5c9bb46
PEM signing now works...silly double pointergit add -A Test code still needs to be removed
2017-11-25 22:44:16 +05:30
Arun M
5a150780cf
PEM verification code added
2017-11-24 19:59:13 +05:30
Arun M
fc294cbc8a
jwt_object API fixes
2017-11-23 17:24:56 +05:30
Arun M
0751d033dc
Remove the use of static deletors
2017-11-23 15:10:35 +05:30
Arun M
53a281640f
Add error codes for signing error checks
2017-11-23 12:27:26 +05:30
Arun M
da6d4932c3
Add algorithm parameter
2017-11-21 16:43:46 +05:30
Arun M
81e6b2392e
Verification
2017-11-20 00:38:55 +05:30
Arun M
796abd6e65
Implement verify. Part 1
2017-11-09 23:42:04 +05:30
Arun M
e7d52450d6
Payload data type addded
2017-11-04 19:21:46 +05:30
Arun M
733696bf49
Added RSA algorithms (Not tested)
2017-11-03 19:55:17 +05:30
Arun M
87e27ec31d
HMAC algo added
2017-11-03 09:57:12 +05:30