Commit Graph

142 Commits

Author SHA1 Message Date
Dominik Thalhammer
1663f72f67 Merge pull request #67 from prince-chrismc/master
Correcting CMakeLists.txt to sport the latest release version
2020-05-10 00:39:04 +02: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
Tyler Stubenvoll
deadb58c23 Fixed cmake for vendored picojson.
The CMake file was not handling the case of an internal
picojson build, causing include errors in externally
built packages. This was due to an inversion of the
logic.
2020-04-01 13:32:42 -07:00
Chris Mc
6793369939 token expected as per jwt.io
https://jwt.io/#debugger-io?token=eyJhbGciOiJIUzI1NiJ9.eyJuYW1lc3BhY2UiOnsiYXBpLXgiOlsxXX19.F8I6I2RcSF98bKa0IpIz09fRZtHr1CWnWKx2za-tFQA
2020-03-28 17:30:09 -04:00
Christopher McArthur
92ddc67817 Adding SetObject to ClaimTests 2020-03-28 17:19:15 -04:00
Chris Mc
6284781937 correcting usage of rsa_exception in ecdsa alg 2020-03-25 09:49:03 -04:00
Dominik Thalhammer
af87682610 Merge pull request #59 from prince-chrismc/patch-1
Adding stream operators to jwt::claim
2020-03-24 14:32:54 +01:00
Chris Mc
e2b4067d6f adding missing &
bad copy pasting
2020-03-24 09:31:03 -04:00
Chris Mc
42310e634d adding stream operators to claims
easier to parse and output claims
2020-03-24 09:09:41 -04:00
Chris Mc
bea25f039b removing code duplication from explicit option 2020-03-24 09:05:50 -04:00
Dominik Thalhammer
d0ca7e1d18 Merge pull request #54 from prince-chrismc/master
Update project to use cmake ( and vcpkg )
2020-03-19 13:49:27 +01:00
Dominik Thalhammer
78251c5099 Change minimum openssl versio to 1.0.2 in cmake 2020-03-19 13:47:30 +01:00
Dominik Thalhammer
6e1faa114e Try without custom openssl build 2020-03-19 13:29:38 +01:00
Dominik Thalhammer
85e9e5c05d Fix path to test executable 2020-03-18 21:48:55 +01:00
Dominik Thalhammer
969fa333da Revert to symlinking because make install fails in travis 2020-03-18 21:43:57 +01:00
Dominik Thalhammer
b57ac3aab4 Fix googletest 2020-03-18 21:39:42 +01:00
Dominik Thalhammer
c9e7b80452 Merge remote-tracking branch 'upstream/master' 2020-03-18 21:22:04 +01:00
Dominik Thalhammer
fae2875072 Add build status to readme 2020-03-17 20:03:20 +01:00