Commit Graph

78 Commits

Author SHA1 Message Date
Chris Mc
fa43771a01 Merge branch 'master' into master 2020-03-11 21:52:04 -04:00
Dominik Thalhammer
3af91a3d77 Add travis config file 2020-03-11 15:09:54 +01:00
Chris Mc
15f8b631ac removing picojson dep 2020-01-20 22:25:40 -05:00
Christopher McArthur
a9274eeb39 correcting cpp version 2020-01-20 22:18:16 -05:00
Christopher McArthur
9a197a445e correctly cofiguring config.in to be usable with deps 2020-01-20 22:10:14 -05:00
Christopher McArthur
8086b6ded2 exporting picojson 2020-01-20 20:56:08 -05:00
Christopher McArthur
f110d8d01f prototype for FindPackage install 2020-01-19 22:08:17 -05:00
Christopher McArthur
b818478dde making export group 2020-01-19 21:31:48 -05:00
Christopher McArthur
fa2cfbe605 reverting config files. 2020-01-19 20:50:19 -05:00
Christopher McArthur
bb5a76ec45 trying to figure out cmake config files 2020-01-19 20:38:46 -05:00
Christopher McArthur
cb9066b294 adding cmake config files 2020-01-19 19:45:36 -05:00
Christopher McArthur
85d30bc6b3 remove extra fluff comments 2020-01-19 17:53:47 -05:00
Christopher McArthur
a2c5a93a37 making sure vcpkg does not build tests 2020-01-19 17:44:27 -05:00
Christopher McArthur
03c388b543 [wip] updating vcpkg portfiles 2020-01-19 17:39:00 -05:00
Christopher McArthur
1659e8181d using picojson from vcpkg 2020-01-19 17:38:31 -05:00
Christopher McArthur
a9a1b80eda adding tests to cmake 2020-01-19 17:25:51 -05:00
Christopher McArthur
96528a8872 first draft for cmake support 2020-01-19 17:16:40 -05:00
Christopher McArthur
e342957e69 rm third part headers 2020-01-19 15:19:12 -05:00
Christopher McArthur
3f002e59f1 zapping project files 2020-01-19 15:19:02 -05:00
Christopher McArthur
bb42fd9472 moving tests to a subdir 2020-01-19 15:08:20 -05:00
Dominik Thalhammer
65b632b674 Merge pull request #51 from Optiligence/master
update picojson
2020-01-13 18:38:57 +01:00
Norbert Pfeiler
bf75dbb815 update picojson 2020-01-02 14:28:07 +01:00
Dominik Thalhammer
9bf29556db Bugfix incorrect padding of ECDSA signatures
see #49
2019-12-18 20:04:46 +01:00
Dominik Thalhammer
8d4a8c067f Merge pull request #48 from adesitter/fix-leak-in-ecdsa-verify
Fix memory leak in ecdsa::verify
2019-12-16 12:48:14 +01:00
Arnaud Desitter
6e6c73e54c Fix memory leak in ecdsa::verify 2019-12-16 11:35:27 +00:00
Dominik Thalhammer
46d55db7b2 Merge pull request #47 from Lam-Steven/master
Fixed example code in README for token creation
2019-10-26 20:49:04 +02:00
Steven Lam
df5c5717f6 Fixed example code in README for token creation 2019-10-25 15:48:42 -04:00
Dominik Thalhammer
f85c63806d Make algorith constructors explicit
see #39
2019-09-12 10:18:53 +02:00
Dominik Thalhammer
27f32983fb Bugfix for set_algorithm 2019-08-10 21:27:30 +02:00
Dominik Thalhammer
9c7ae911ee Allow constructing an claim from an container.
closes #35
2019-08-08 22:34:53 +02:00
Dominik Thalhammer
2b85b34ecc Make sign method const and add noexpect where possible.
closes #37
2019-08-08 22:22:38 +02:00
Dominik Thalhammer
08f183b673 Change to quilt package, makefile updates 2019-06-21 17:09:45 +02:00
Dominik Thalhammer
2d76ff8c94 Added debian directory
see #34
2019-06-19 23:37:21 +02:00
Dominik Thalhammer
e2913951f8 Add make install target 2019-06-19 21:27:50 +02:00
Dominik Thalhammer
aafd0b542f Change variable names
closes #30
2019-06-18 12:03:29 +02:00
Dominik Thalhammer
1d2b1bac13 Code cleanup + Bugfix 2019-05-07 13:42:37 +02:00
Dominik Thalhammer
9ab1e1874e Fix typo 2019-05-07 13:25:39 +02:00
Dominik Thalhammer
6b7215d02c Cleanup time example
closes #25
2019-05-07 13:24:31 +02:00
Dominik Thalhammer
4e74d111c0 Allow loading only private key
fixes #21
2019-05-06 10:24:13 +02:00
Dominik Thalhammer
bfca4f6a87 Merge pull request #29 from pliablepixels/master
typecast to avoid errors
2019-05-05 20:21:58 +02:00
Dominik Thalhammer
273c9e325a Fix codacy for real 2019-05-05 20:18:56 +02:00
Dominik Thalhammer
d6c54a4647 Cleanup typecast and fix false positive in codacy 2019-05-05 20:04:51 +02:00
Pliable Pixels
3dbc5a0929 typecast to avoid errors 2019-05-05 11:22:34 -04:00
Dominik Thalhammer
dd0337e64c Merge pull request #26 from pliablepixels/24-notes-example
note on libssl-dev and one example
2019-05-03 22:30:55 +02:00
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