Commit Graph

  • 129731da56 Add option to remove type fromt he jwt_header #26 Arun M 2018-08-05 15:10:53 +05:30
  • 87dcef903f Why does the existence of a signature algorithm entail a required verification? #24 Arun M 2018-05-31 20:36:07 +05:30
  • b1140707cc Merge pull request #23 from TheQuantumPhysicist/master Arun Muralidharan 2018-05-31 09:42:51 +05:30
  • ea3bcd6223 Merge pull request #22 from TheQuantumPhysicist/FixErrorCategoryComparison Arun Muralidharan 2018-05-31 09:36:24 +05:30
  • bef9e9d553 Fix a major error in error_code category checking implementations. Errors some times don't throw exceptions due to implementation differences. Samer Afach 2018-05-31 01:49:47 +02:00
  • 00343347b2 Fixed many warnings that appear due to assert not being executed in release mode. Samer Afach 2018-05-30 22:44:38 +02:00
  • 077e6f3f07 ES256/384 signature verification fails #20 Arun M 2018-05-22 18:07:19 +05:30
  • d475665b72 Merge pull request #19 from TheQuantumPhysicist/master Arun Muralidharan 2018-05-21 18:27:48 +05:30
  • 9ff6e50b5e Merge branch 'master' of https://github.com/arun11299/cpp-jwt Samer Afach 2018-05-21 14:08:10 +02:00
  • 34fdb34b44 Minor to make the code compile with -pedantic-errors flag in g++ Samer Afach 2018-05-21 14:06:48 +02:00
  • 1aaffabe90 Merge pull request #18 from TheQuantumPhysicist/master Arun Muralidharan 2018-05-20 13:20:17 +05:30
  • a9562500a0 More inline definitions to for header files to avoid double definition problems. Samer Afach 2018-05-20 02:57:13 +02:00
  • 22856e9da2 Functions made inline because they're in the header. Otherwise multiple definition errors will appear when this file is included. Samer Afach 2018-05-20 00:47:37 +02:00
  • 8ef6d055ae Make it possible to only include base64.hpp without having to include jwt.hpp by adding missing includes to resolve incomplete types. Samer Afach 2018-05-19 21:38:25 +02:00
  • 549235f009 Merge pull request #17 from TheQuantumPhysicist/master Arun Muralidharan 2018-05-19 22:53:34 +05:30
  • 1fcfbaac75 Fix more signed/unsigned warnings. Samer Afach 2018-05-19 19:03:46 +02:00
  • 0227be3445 Merge pull request #16 from TheQuantumPhysicist/master Arun Muralidharan 2018-05-19 21:54:49 +05:30
  • e5fc25bbe8 Fixed a few warnings about signed and unsigned comparison. Samer Afach 2018-05-19 16:29:12 +02:00
  • 55c36d4c30 Enable compiler warnings Arun M 2018-05-19 18:43:28 +05:30
  • 99d041deb9 Some tests don't pass #14 Arun M 2018-05-18 20:26:06 +05:30
  • 672fb0c15d Update readme Arun M 2018-05-03 00:31:35 +05:30
  • 21c08b636c Compilation issue in VS2017 #12 Arun M 2018-05-02 23:05:22 +05:30
  • aefef6dce2 Compilation issue in VS2017 #12 Arun M 2018-05-02 21:51:33 +05:30
  • 2cb65f231a Expects the two arrays in file base64.cpp to be in double curly braces on Linux Arun M 2018-05-02 21:26:23 +05:30
  • 9ddaa092cb Compilation error on VS2017 #11 Arun M 2018-05-02 12:33:25 +05:30
  • d60dd2c926 Fix tests to compile #9 Arun M 2018-04-25 12:06:10 +05:30
  • 32099f6691 Fix the JWT logo #8 Arun M 2018-04-07 17:55:04 +05:30
  • f8f0d37263 Openssl make does not work #5 Arun M 2018-04-04 14:00:40 +05:30
  • dfaa507c0b Issue #6 Help using RSA public/private keypairs to sign #6 Arun M 2018-04-04 11:29:29 +05:30
  • 3ae6dfa2c5 Updated readme Arun M 2018-01-03 15:18:53 +05:30
  • 56b5299612 missed derivation from false_type Arun M 2018-01-03 15:06:39 +05:30
  • 10a8980ce6 Updated readme with compiler support Arun M 2018-01-03 11:03:08 +05:30
  • 9487758b8c Compilation works with g++ 6.4 Arun M 2018-01-03 10:59:35 +05:30
  • 3bb3c6cf3b Added tests for invalid signature Arun M 2018-01-02 12:30:19 +05:30
  • a5728dd397 use find instead of count on std::set. libc++ has a bug in that count is not cont member function. Arun M 2018-01-02 12:04:45 +05:30
  • 724fe8c3a7 README: fix links 2 Arun M 2018-01-02 11:57:45 +05:30
  • 9f8ff150c8 README: fix links Arun M 2018-01-02 11:56:43 +05:30
  • 06ebf2385e README: Reverted fix links Arun M 2018-01-02 11:54:04 +05:30
  • d9519e08a5 README: Fix links. Arun M 2018-01-02 11:52:28 +05:30
  • 6104f4c462 README: JWT logo. centre. Arun M 2018-01-02 11:50:28 +05:30
  • 50f514f888 README: JWT logo Arun M 2018-01-02 11:49:42 +05:30
  • 34f1c18c52 Finished README Arun M 2018-01-02 11:45:12 +05:30
  • b3dc5997e5 README: claim data types Arun M 2017-12-30 21:52:17 +05:30
  • bcd131bf8e README: updated parameters section Arun M 2017-12-30 21:37:08 +05:30
  • 607cb3b07f Readme updated with support Arun M 2017-12-29 18:22:09 +05:30
  • aabf7e8546 Added second example for readme Arun M 2017-12-29 17:29:24 +05:30
  • 6302055db1 Readme changes for example code and fixed header decoding Arun M 2017-12-29 16:26:37 +05:30
  • 1236071a4f Readme first section Arun M 2017-12-29 15:51:15 +05:30
  • 97d368ad5e Readme ToC Arun M 2017-12-29 15:38:15 +05:30
  • f13d6d7fb7 Added tests for ES algorithm support Arun M 2017-12-29 15:21:16 +05:30
  • 161e5d8753 Add support for additional headers Arun M 2017-12-29 14:44:17 +05:30
  • 7ddf7ec3e9 Added checks and tests for iat/jti/sub Arun M 2017-12-29 01:10:41 +05:30
  • babdd4f0a6 Added RSA tests Arun M 2017-12-28 23:48:29 +05:30
  • e813a75e27 Remove case insensitive compare for has_claim API Arun M 2017-12-28 16:39:49 +05:30
  • 4a4217a9f4 Cmake support added for tests. Complete.Huh. Arun M 2017-12-28 15:44:47 +05:30
  • bd73699001 Added cmake support Arun M 2017-12-28 14:13:49 +05:30
  • b78b18e855 Added tests for exception throwing APIs Arun M 2017-12-28 09:24:58 +05:30
  • 7e9e49569f Added test for overwriting claims Arun M 2017-12-28 09:06:46 +05:30
  • 98979a55d1 string_view to jwt::string_view Arun M 2017-12-27 21:10:43 +05:30
  • 27e73646ae Fixed the copyright permission on all source Arun M 2017-12-27 15:56:23 +05:30
  • e5eb28716a Added copyright header Arun M 2017-12-27 15:39:38 +05:30
  • 7298196ff7 Merge pull request #1 from arun11299/add-license-1 Arun Muralidharan 2017-12-27 15:32:09 +05:30
  • 9e0187969a Create LICENSE Arun Muralidharan 2017-12-27 15:31:51 +05:30
  • 5771f97c1c Added more verification tests and fixes Arun M 2017-12-27 15:25:53 +05:30
  • e662b445dd Added tests for expiration Arun M 2017-12-27 14:34:23 +05:30
  • e42720a446 Added more documentation and some bug fixes in verification process Arun M 2017-12-27 12:18:44 +05:30
  • 3d9e15b5c8 Added documentation comments to jwt.hpp Arun M 2017-12-27 11:25:33 +05:30
  • a5e18cc4f4 Added exception handling and test for key/secret not present Arun M 2017-12-26 20:35:51 +05:30
  • 99f3c1db86 Make secret an optional argument for decode Arun M 2017-12-26 20:20:53 +05:30
  • 6c2bbe9ad0 Added more decode tests Arun M 2017-12-26 19:51:17 +05:30
  • d7e4add937 Change signature for has_claim_with_value API Arun M 2017-12-26 14:16:35 +05:30
  • c62a9498d9 Handle exception for header and payload decode into error code Arun M 2017-12-26 13:11:48 +05:30
  • 204092e588 Added signature validation test Arun M 2017-12-26 09:21:24 +05:30
  • cb1847142e Fail with no key if algorithm is not NONE Arun M 2017-12-25 21:35:28 +05:30
  • f8eebbede0 Fix string view overload for claim value Arun M 2017-12-25 12:42:38 +05:30
  • 98ea0d6e58 Added more encoding tests Arun M 2017-12-24 17:04:44 +05:30
  • 9a7925cca5 Added tests and gtest support Arun M 2017-12-21 19:07:50 +05:30
  • e666406d53 Handle none algorithm Arun M 2017-12-20 18:48:59 +05:30
  • b5088a6d9c Added nbf check and more exception and error code handling Arun M 2017-12-20 18:07:08 +05:30
  • 77c11e8eb9 Ad more exceptions Arun M 2017-12-19 23:01:57 +05:30
  • c484ced63d Exception and non exception based decoding Arun M 2017-12-16 18:50:44 +05:30
  • 7a511c46fe Put verify under different function. Added new error codes for verification failures. Arun M 2017-12-16 16:39:52 +05:30
  • 912e4b5ff9 Populate claims set back when decoding Arun M 2017-12-14 21:20:04 +05:30
  • 6f495c2c16 JWT veririfcation APIs Arun M 2017-12-13 23:57:25 +05:30
  • 7a7353a9ef is_sequence_concept impl Arun M 2017-12-05 17:15:37 +05:30
  • a4a4bd5dff Changed decode function signature Arun M 2017-12-05 16:02:54 +05:30
  • 09bc72c9f7 Added new parameters for decode API Arun M 2017-12-04 19:01:45 +05:30
  • de38b3a82a Added short string type Arun M 2017-12-04 13:23:08 +05:30
  • 9e69389caf Added decode error codes and exceptions Arun M 2017-12-04 13:17:48 +05:30
  • 234411a550 Remove the debug code Arun M 2017-11-26 18:56:55 +05:30
  • aaf5c9bb46 PEM signing now works...silly double pointergit add -A Test code still needs to be removed Arun M 2017-11-25 22:44:16 +05:30
  • 5a150780cf PEM verification code added Arun M 2017-11-24 19:59:13 +05:30
  • f8947b53ac Fix bug in splitter Arun M 2017-11-23 22:04:16 +05:30
  • 9abac3c5d7 More APIs added to jwt_object Arun M 2017-11-23 18:14:32 +05:30
  • 973e7e0249 Fix type concept check. Remove refernce to get key_type et al Arun M 2017-11-23 17:56:38 +05:30
  • fc294cbc8a jwt_object API fixes Arun M 2017-11-23 17:24:56 +05:30
  • 0751d033dc Remove the use of static deletors Arun M 2017-11-23 15:10:35 +05:30
  • 53a281640f Add error codes for signing error checks Arun M 2017-11-23 12:27:26 +05:30
  • 2290c8733a Im provements in base64.hpp Arun M 2017-11-22 15:00:47 +05:30
  • da6d4932c3 Add algorithm parameter Arun M 2017-11-21 16:43:46 +05:30