Commit Graph

23 Commits

Author SHA1 Message Date
Chris Mc
ca110ade5b 🔧 Improved CMake options and macros to prevent collisions (#109)
* exclude any folder prefixed with build

* seeing how far generator expresstion will go

* refactor cmake + outline some tests

* adding missing install destiniation

* rolling back some changes since the workflow was no support by CMake

* adding missing include

* fixing old variable names being used

* using target_compile_definitions instead of options

* correct options for CI + reporting errors for consumer

* using sudo to install

* fix bad variable

* trying CMAKE_PREFIX_PATH

* removing recursive call

* remove options from generators + dedicated exports target

* remove pthread link lib (unused)

* install targets files + include

* add missing main

* remove install prefix

* revive CMAKE_PREFIX_PATH it's really needed

* fix collision on DISABLE_BASE64 + more cmake tests

* bump cmake version + test minimum

* fix job names

* fix bad replace

* fix bad permissions

* fix install of picojson

* adding missing ifndef and overload for pico and no base64

* linting

* test for version

* trying to find version

* [test] remove semver prerelase from CMake

* fixing some documentation issues

* limit cmake test to only related files

* touch up docs

* making sure new helper supports no base64 mode

* some doc fixes

* Update cmake.yml

* Update .github/workflows/cmake.yml

* Update .gitignore
2020-11-29 15:56:53 +01:00
Sonkeng Maldini
f85e6dfe90 Update README.md (#108) 2020-11-14 11:34:15 +01:00
Speeder
49d29e3d43 Added EdDSA support (#95)
* Fixed a build error

`jwt.h` previously depended on the nlohmann JSON library's inclusion of `iso646.h`, which defines the `not` operator.

* Added EdDSA support

https://github.com/Thalhammer/jwt-cpp/issues/79
Disabled EdDSA support when building with OpenSSL <1.1.1. Support for EdDSA came with OpenSSL version 1.1.1, incl. API extensions.

* Fixed build generation for Microsoft Visual Studio

* Fixed MSVC build warnings "hides previous local declaration"

* Fixed narrowing warnings when building with OpenSSL 1.0.2

* Compacted the string buffer initialization code pattern

As per review comment: https://github.com/Thalhammer/jwt-cpp/pull/95#discussion_r462985506

* adding eddsa openssl tests

* adding on mock openssl call as a test

* adding more mock openssl call to test failures

Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
2020-08-03 23:40:08 +02:00
Chris Mc
ee11e8873e 🔖 set version to 0.5.0-rc.0 (#93) 2020-07-29 20:15:41 +02:00
Chris Mc
6a5cf85385 Apply suggestions from code review
Co-Authored-By: Dominik Thalhammer <Thalhammer@users.noreply.github.com>
2020-07-08 09:40:21 -04:00
Chris Mc
a0f51e74df 🖊️ improving examples 2020-07-07 23:40:40 -04:00
Chris Mc
ef5bba2659 Update README.md 2020-07-07 22:03:55 -04:00
Chris Mc
00f96ea6e7 🖊️ improving documentation
around namespaces and implementating traits
2020-07-07 20:01:20 -04:00
Dominik Thalhammer
23bc2efcfc Merge branch 'master' into compile-examples 2020-07-06 12:24:08 +02:00
Dominik Thalhammer
98e767f019 Change coverage url 2020-07-06 12:19:17 +02:00
Chris Mc
191b3cf216 adding coverage badge 2020-07-05 21:49:17 -04:00
Chris Mc
6a41dbaf31 adding link to RSA examples 2020-07-01 15:39:49 -04:00
Christopher McArthur
0505ac8bc4 adding overview to readme
explaining macros/configurations
2020-06-10 21:23:30 -04:00
Dominik Thalhammer
fae2875072 Add build status to readme 2020-03-17 20:03:20 +01:00
Steven Lam
df5c5717f6 Fixed example code in README for token creation 2019-10-25 15:48:42 -04: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
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
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
a7fe03bd1f Update README.md
Added note about known issues.
2018-09-26 13:41:48 +02: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