Commit graph

134 commits

Author SHA1 Message Date
Arun M
1e9667ae0d update nlohmann json library 2019-05-31 00:45:35 +05:30
Arun Muralidharan
10337fcefc
Merge pull request #42 from leoTlr/master
prevent gcc warnings
2019-04-04 11:58:16 +05:30
leoTlr
4234eea1bf prevent -Wimplicit-fallthrough= warning with gcc 8.2.1 2019-04-04 00:27:39 +02:00
leoTlr
a3a0d9c0ec prevent -Wunused-parameter warning with gcc 8.2.1 2019-04-04 00:26:54 +02:00
leoTlr
31df3b8bd4 compile with -Wextra 2019-04-04 00:24:25 +02:00
Arun Muralidharan
742ef512a4
Merge pull request #41 from MatthewPowley/WindowsFix
'__builtin_unreachable' is not available on Windows
2019-03-22 14:41:07 +05:30
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 Muralidharan
cdcc26134e
Merge pull request #40 from huangminghuang/lambda_secret
Add api to supply secret based on decoded payload
2019-02-17 16:51:34 +05:30
Huang-Ming Huang
74b7b344c6 Add api to supply secret based on decoded payload 2019-02-16 15:36:12 -06:00
Arun Muralidharan
2d2c093652
Merge pull request #39 from huangminghuang/master
Some cmake improvements
2019-02-12 22:39:50 +05:30
Huang-Ming Huang
0b68fd46fb Some cmake improvements 2019-02-11 14:10:38 -06:00
Arun M
1cbc5eb5a5 compile error with master #37 2018-11-20 19:08:08 +05:30
Arun Muralidharan
fe2e06141f
Merge pull request #35 from mhfrantz/issue-33/move-semantics.v1
issue-33: Add test showing how to invoke move ctor
2018-11-02 22:34:22 +05:30
Matt Frantz
1b105f4772 SFINAE guard on jwt_object's universal reference constructor
This allows the move constructor to be preferred in some cases.
2018-11-01 13:28:49 -07:00
Arun M
6e27aa4c86 Merge 2018-10-27 12:08:08 +05:30
Arun M
1e588256f4 Narrowing errors compiling for ARM #36 2018-10-27 12:07:06 +05:30
Matt Frantz
043c8429d4 issue-33: Add test showing how to invoke move ctor 2018-10-24 17:44:15 -07:00
Arun Muralidharan
5804dba959
Merge pull request #32 from meastman/json-decode-out-of-bounds-read
Fix out of bounds read in base64_decode
2018-10-04 07:31:09 +05:30
Matt Eastman
8cb5ea3d5e Fix out of bounds read in base64_decode 2018-10-03 17:24:11 -05:00
Arun M
64de7b6f1d Ptential Fix for VS2015 compile fail #27 2018-10-03 22:07:08 +05:30
Arun M
e5ecca4f38 'str_to_type' has a non-throwing exception specification but can still throw #31 2018-09-29 00:24:08 +05:30
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 Muralidharan
b1140707cc
Merge pull request #23 from TheQuantumPhysicist/master
Fixed many warnings that appear due to assert not being executed in release mode.
2018-05-31 09:42:51 +05:30
Arun Muralidharan
ea3bcd6223
Merge pull request #22 from TheQuantumPhysicist/FixErrorCategoryComparison
Fix a major error in error_code category checking implementations.
2018-05-31 09:36:24 +05:30
Samer Afach
bef9e9d553 Fix a major error in error_code category checking implementations.
Errors some times don't throw exceptions due to implementation
differences.
2018-05-31 01:49:47 +02:00
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
Arun M
077e6f3f07 ES256/384 signature verification fails #20 2018-05-22 18:07:19 +05:30
Arun Muralidharan
d475665b72
Merge pull request #19 from TheQuantumPhysicist/master
Minor error fix to make the flag -pedantic-errors work
2018-05-21 18:27:48 +05:30
Samer Afach
9ff6e50b5e Merge branch 'master' of https://github.com/arun11299/cpp-jwt 2018-05-21 14:08:10 +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
Arun Muralidharan
1aaffabe90
Merge pull request #18 from TheQuantumPhysicist/master
Make it possible to only include base64.hpp without everything
2018-05-20 13:20:17 +05:30
Samer Afach
a9562500a0 More inline definitions to for header files to avoid double definition
problems.
2018-05-20 02:57:13 +02:00
Samer Afach
22856e9da2 Functions made inline because they're in the header. Otherwise multiple
definition errors will appear when this file is included.
2018-05-20 00:47:37 +02:00
Samer Afach
8ef6d055ae Make it possible to only include base64.hpp without having to include
jwt.hpp by adding missing includes to resolve incomplete types.
2018-05-19 21:38:25 +02:00
Arun Muralidharan
549235f009
Merge pull request #17 from TheQuantumPhysicist/master
Fix more signed/unsigned warnings.
2018-05-19 22:53:34 +05:30
Samer Afach
1fcfbaac75 Fix more signed/unsigned warnings. 2018-05-19 19:03:46 +02:00
Arun Muralidharan
0227be3445
Merge pull request #16 from TheQuantumPhysicist/master
Fixed a few warnings about signed and unsigned comparison.
2018-05-19 21:54:49 +05:30
Samer Afach
e5fc25bbe8 Fixed a few warnings about signed and unsigned comparison. 2018-05-19 16:29:12 +02:00
Arun M
55c36d4c30 Enable compiler warnings 2018-05-19 18:43:28 +05:30
Arun M
99d041deb9 Some tests don't pass #14 2018-05-18 20:26:06 +05:30
Arun M
672fb0c15d Update readme 2018-05-03 00:31:35 +05:30
Arun M
21c08b636c Compilation issue in VS2017 #12 2018-05-02 23:05:22 +05:30
Arun M
aefef6dce2 Compilation issue in VS2017 #12 2018-05-02 21:51:33 +05:30
Arun M
2cb65f231a Expects the two arrays in file base64.cpp to be in double curly braces on Linux 2018-05-02 21:26:23 +05:30
Arun M
9ddaa092cb Compilation error on VS2017 #11 2018-05-02 12:33:25 +05:30
Arun M
d60dd2c926 Fix tests to compile #9 2018-04-25 12:06:10 +05:30
Arun M
32099f6691 Fix the JWT logo #8 2018-04-07 17:55:04 +05:30
Arun M
f8f0d37263 Openssl make does not work #5 2018-04-04 14:00:40 +05:30
Arun M
dfaa507c0b Issue #6 Help using RSA public/private keypairs to sign #6 2018-04-04 11:29:29 +05:30