Commit Graph

158 Commits

Author SHA1 Message Date
Christopher McArthur
ddffc6c03c detection idiom to help validate traits 2020-05-21 22:04:21 -04:00
Christopher McArthur
474a870889 adding verification test 2020-05-20 21:24:46 -04:00
Christopher McArthur
8ba9dc1b96 correcting sstream reset 2020-05-20 21:13:16 -04:00
Christopher McArthur
cb9165b3ba using operator<< instead of function call 2020-05-20 21:04:56 -04:00
Christopher McArthur
8ec4bfb836 removing duplication 2020-05-20 15:06:41 -04:00
Christopher McArthur
44592aeb5a testing nholmann json array 2020-05-20 14:39:13 -04:00
Christopher McArthur
f45db90c43 fixing error is nholmann traits 2020-05-20 14:36:50 -04:00
Christopher McArthur
b3de79da98 testing just picojson templating 2020-05-20 14:26:48 -04:00
Christopher McArthur
767c3fc827 [skip ci] more progress 2020-05-20 14:23:28 -04:00
Christopher McArthur
f5e3716c99 [skip ci] more progress 2020-05-19 23:33:19 -04:00
Christopher McArthur
41d767d926 traits v2 2020-05-19 22:54:55 -04:00
Christopher McArthur
45ccd617ad rough nholmann/json traits 2020-05-19 21:34:40 -04:00
Christopher McArthur
56ffe083ae tester that compiles 2020-05-18 22:25:19 -04:00
Christopher McArthur
494cb2c051 wip
low laptop battery
2020-05-16 21:30:08 -04:00
Chris Mc
b7ed684a3b Update traits.h 2020-05-16 00:23:17 -04:00
Chris Mc
c5663f5f2b Update traits.h 2020-05-16 00:17:26 -04:00
Chris Mc
c1cfb735f7 Create traits.h 2020-05-15 23:57:46 -04:00
Christopher McArthur
10a86f528d correcting package version 2020-05-07 17:10:37 -04:00
Dominik Thalhammer
34bb0644ea Merge pull request #61 from prince-chrismc/master
Adding SetObject to ClaimTests
2020-05-02 15:13:32 +02:00
Dominik Thalhammer
f62fe8b9cd Merge branch 'master' into master 2020-05-02 15:03:28 +02:00
Dominik Thalhammer
6b349fda50 Merge pull request #66 from prince-chrismc/verify-aud-string
Verify aud string and complex object
2020-05-02 15:02:02 +02:00
Dominik Thalhammer
0c803ed905 Merge branch 'master' into verify-aud-string 2020-05-02 14:59:09 +02:00
Dominik Thalhammer
1e0387b4ce Merge pull request #65 from prince-chrismc/padding-for-decode
Exposing private utilities to helpers for helping with other JOSE related tasks
2020-05-02 14:56:33 +02:00
Chris Mc
aa001544e2 correcting usage of stream operator 2020-04-15 23:53:26 -04:00
Chris Mc
5df90e9c11 fixing ambiguous 2020-04-15 23:52:17 -04:00
Chris Mc
385afc3bd7 fixing string literal 2020-04-15 23:48:47 -04:00
Chris Mc
d8f1170826 simplified object compare 2020-04-15 23:44:45 -04:00
Chris Mc
9dec02d571 adding tests for new functionality 2020-04-15 23:37:55 -04:00
Chris Mc
c9d04be14a adding support for aud as string
making sure to compare complex objects in verifier

inspired by dcbf0ddbfd
2020-04-15 23:33:20 -04:00
Chris Mc
a4bb9dc796 fixing warning 2020-04-15 22:55:17 -04:00
Chris Mc
5477d3f749 missed namespace for helper
only tested with openssl 1.1.1d RIP
2020-04-15 22:54:08 -04:00
Chris Mc
20a992fff3 changing whitespace
just to see if CI will pass today
2020-04-15 22:34:52 -04:00
Chris Mc
fa806e7be9 fixing conversion warnings on windows
where sizeof(size_t) != sizeof(int) since x86 still exists
2020-04-11 14:05:50 -04:00
Christopher McArthur
79370dcf1e making sure there warnings 2020-04-11 12:58:19 -04:00
Christopher McArthur
1c14473875 correcting copy paste errors 2020-04-11 12:58:19 -04:00
Chris Mc
141ae3cac0 replacing decimal for hex
to be consistent with other places in the code
to follow the numbering style of openssl
2020-04-11 12:58:19 -04:00
Chris Mc
bc932e8ab4 adding macro for fall-through
removing code duplication
2020-04-11 12:58:19 -04:00
Chris Mc
103532688d exposing private functions as helpers
this is to help with other JOSE tasks
2020-04-11 12:58:19 -04:00
Chris Mc
56b6c8e531 removing duplication 2020-04-11 12:58:19 -04:00
Chris Mc
0b0ca4c345 using original source for pad/trim 2020-04-11 12:58:19 -04:00
Chris Mc
27673b058d adding test code fro pad and trim 2020-04-11 12:58:19 -04:00
Chris Mc
33c40b023f fixing padding + adding a trim 2020-04-11 12:58:19 -04:00
Chris Mc
be603cd74e add utility for adding padding
useful in when decoding ( padding is optional )
2020-04-11 12:58:19 -04:00
Chris Mc
bb5df74e69 Merge branch 'master' into master 2020-04-07 17:38:40 -04:00
Dominik Thalhammer
5afe5a73b6 Merge pull request #60 from prince-chrismc/patch-2
correcting usage of `rsa_exception` in `ecdsa` alg
2020-04-07 18:00:10 +02:00
Dominik Thalhammer
cf8a6c326c Merge branch 'master' into patch-2 2020-04-07 17:09:21 +02:00
Dominik Thalhammer
9e11f2e690 Merge pull request #62 from tjstub/cmake-picojson-fix
Fixed cmake for vendored picojson.
2020-04-07 17:08:45 +02:00
Dominik Thalhammer
6925b59fb8 Merge branch 'master' into cmake-picojson-fix 2020-04-07 17:06:44 +02:00
Dominik Thalhammer
12cc83b604 Merge pull request #64 from prince-chrismc/patch-1
fixes #57
2020-04-07 17:06:22 +02:00
Chris Mc
18761ec28b fixes #57 2020-04-07 10:57:22 -04:00