cpp-jwt/include/jwt
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
..
detail Compilation error on VS2017 #11 2018-05-02 12:33:25 +05:30
impl update nlohmann json library 2019-05-31 00:45:35 +05:30
json update nlohmann json library 2019-05-31 00:45:35 +05:30
test Fix tests to compile #9 2018-04-25 12:06:10 +05:30
algorithm.hpp Fix parsing of alg claim to be RFC compliant 2020-01-16 00:42:50 -05:00
assertions.hpp '__builtin_unreachable' is not available on Windows 2019-03-21 12:31:02 +00:00
base64.hpp Fix char signedness in DMap 2019-07-13 20:10:20 +02:00
config.hpp fix clang-cl build on windows 2019-12-09 09:23:37 +01:00
error_codes.hpp Finished README 2018-01-02 11:45:12 +05:30
exceptions.hpp Added checks and tests for iat/jti/sub 2017-12-29 01:10:41 +05:30
jwt.hpp Use std::string_view if c+17 is available 2019-06-17 17:31:06 +02:00
parameters.hpp Add api to supply secret based on decoded payload 2019-02-16 15:36:12 -06:00
short_string.hpp Fixed the copyright permission on all source 2017-12-27 15:56:23 +05:30
stack_alloc.hpp Fixed the copyright permission on all source 2017-12-27 15:56:23 +05:30
string_view.hpp Make C++ string_view detection work with MSVC 2019-10-31 14:44:19 -04:00