Pliable Pixels
aaed02722a
note on libssl-dev and one example of token expiry time based on current time
2019-05-03 16:23:57 -04:00
Dominik Thalhammer
656f8f8195
Merge pull request #23 from martin-flaska/fixes
...
Fix checking for fallthrough attribute support for older compilers
2019-05-02 22:52:55 +02:00
Martin Flaska
c80539368f
Fix checking for fallthrough attribute support for older compilers
...
GCC 4.9 (tested on 4.9.3) doesn't have __has_cpp_attribute.
Compilation fails with:
include/jwt-cpp/jwt.h:1139:24: error: missing binary operator before token "("
#if __has_cpp_attribute(fallthrough)
^
Signed-off-by: Martin Flaska <flegy@flegy.sk >
2019-05-02 12:26:27 +02:00
Dominik Thalhammer
72057d73a3
Merge pull request #22 from webfolderio/master
...
Vcpkg support
2019-04-30 21:30:46 +02:00
webfolderio
e5f9c7309f
Added vcpkg support
2019-04-29 15:35:40 +03:00
Dominik Thalhammer
f0e37a79f6
Added helpers to load cert instead of public key
...
closes #18
2019-04-20 22:06:02 +02:00
Dominik Thalhammer
eb8c30c304
Use empty body instead of default function
...
closes #19
2019-04-20 21:38:04 +02:00
Dominik Thalhammer
2b3ddae668
Added string overload for audience setter ( #13 )
2019-02-18 18:55:12 +01:00
Dominik Thalhammer
7169e4d0b8
Bugfix invalid aud handling
...
aud field might be a string instead of a set if there is only one.
closes #13
2019-02-18 16:13:26 +01:00
Dominik Thalhammer
c9b7a6c181
Doxygen documentation
2018-12-06 20:43:57 +01:00
Dominik Thalhammer
6c91034b17
Bugfix, cppcheck fixes, picojson update
...
* Updated picojson to current master
* Fixed a bug where wrong variable was used
* Fixed some style issues detected by cppcheck
* Added explicit modifier to jwt::claim. Enable them by defining JWT_CLAIM_EXPLICIT to 1. This is default off for compatibility, but will be default on at a later time.
2018-12-05 13:01:32 +01:00
Dominik Thalhammer
c232c6ae7b
Small fixes for G++ 7.3
...
closes #10
2018-11-26 18:24:24 +01:00
Dominik Thalhammer
669a91ef8b
Merge pull request #9 from codacy-badger/codacy-badge
...
Add a Codacy badge to README.md
2018-10-08 00:13:02 +02:00
The Codacy Badger
6c1f4a5a6c
Add Codacy badge
2018-10-07 22:10:25 +00:00
Dominik Thalhammer
fdd44f5d91
Update README.md
2018-10-07 23:48:25 +02:00
Dominik Thalhammer
1357588eb9
Added support for PS256, PS384 and PS512
...
Added support for RSA-PSS signatures
closes #2
2018-10-07 23:37:44 +02:00
Dominik Thalhammer
df0509d408
Added testcases for PS256 and PS384
2018-10-07 22:26:30 +02:00
Dominik Thalhammer
67d61e7a3d
Added test cases for RS512
2018-10-04 08:11:28 +02:00
Dominik Thalhammer
a7fe03bd1f
Update README.md
...
Added note about known issues.
2018-09-26 13:41:48 +02:00
Dominik Thalhammer
572ec3526c
Merge pull request #3 from ThalmicRevane/fix_warnings
...
Fix warnings in JWT
2018-08-02 15:40:35 +02:00
Dominik Thalhammer
bb395371f6
Merge pull request #4 from ThalmicRevane/global_funcs_inline
...
Mark global functions inline
2018-08-02 15:36:02 +02:00
Edwin Vane
c7e8f87192
Fix warnings in JWT
...
JIRA: None
2018-08-02 09:27:37 -04:00
Edwin Vane
43c280595d
Mark global functions inline
...
Without this including the jwt header in multiple translation units will
end up with ODR violations.
JIRA: None
2018-08-02 09:25:44 -04:00
Dominik Thalhammer
c9de5fbd1e
README updated
2018-07-14 17:26:32 +02:00
Dominik Thalhammer
6208cc5409
Added readme
2018-07-14 16:48:32 +02:00
Dominik Thalhammer
e162b97f5b
Move gtest main, makefile improvements
...
* Move gtest main into separate file to keep testfiles clean.
* Add explicit std=c++11 to support compilers where c++11 is not yet the default.
* Remove -lssl because only crypto is needed
2018-07-14 16:17:05 +02:00
Dominik Thalhammer
6a21de184f
Merge pull request #1 from galuha/feature
...
Added support for openssl 1.1. Removed gtest src dependencies
2018-07-14 16:08:25 +02:00
Andrey Galushkin
55cf120e5b
Fixed std::chrono::_V2::system_clock::time_point
2018-07-14 16:26:57 +03:00
Andrey Galushkin
8a6961ba7c
Added support for openssl 1.1. Removed gtest src dependencies
2018-07-14 14:59:27 +03:00
Dominik Thalhammer
15c3483e62
Create LICENSE
2018-02-28 16:41:30 +01:00
Dominik Thalhammer
70eec9d017
Fixed ecdsa and small improvments
2017-11-02 15:25:40 +01:00
Dominik Thalhammer
fda6dd069d
Add ecdsa
2017-10-31 16:06:39 +01:00
Dominik Thalhammer
72d2b32c5d
Initial code commit
2017-10-30 22:06:53 +01:00
Dominik Thalhammer
10fa92916d
🎪 Added .gitattributes & .gitignore files
2017-10-28 23:44:49 +02:00