Commit Graph

35 Commits

Author SHA1 Message Date
cd2d80cb09
Rewrite mjwt library to better support keystores 2024-07-27 17:14:21 +01:00
5d1bd6f8fd
Update rsa-helper
Add read limit for key loader in signer
2024-06-10 17:51:11 +01:00
690b9f9512
Pedantic: Remove defensive programming on receivers. 2024-06-09 21:31:01 +01:00
3201964fec
Fix pendantic negation issue. 2024-06-09 21:23:28 +01:00
9a1029861c
Update go mod sum
Fix up KeyStore
2024-06-09 21:20:46 +01:00
5e627ed024
Update version of rsa-helper. 2024-06-09 21:18:23 +01:00
fe2d905236
Fix error joining issues in KeyStore. 2024-06-09 21:15:28 +01:00
a94ed7a2e5
Fix up KeyStore directory read. 2024-06-09 21:00:18 +01:00
a0d03c0dfb
Fix pedantic string check for nul in access token generator command. 2024-06-09 20:46:25 +01:00
d76a534346
Fix up new tests for auth kID support. 2024-06-09 20:40:13 +01:00
dc95ed754c
Add kID support to auth. 2024-06-09 20:31:53 +01:00
ce5eccfb3c
Finish up tests (mjwt_test).
Fix MJwt func naming.
Move seperate errors.New to a global var
2024-06-09 19:31:12 +01:00
407f8510b6
Add extra tests for signer_test and verifier_test 2024-06-09 18:40:43 +01:00
6fbc9e3c1f
Fix key_store tests
Add key_store support to signer and verifier
2024-06-09 16:49:57 +01:00
32cfa7a30d
Fix key store issues + tests. 2024-06-09 01:06:19 +01:00
3a7b3dd250
In progress. 2024-06-09 01:06:19 +01:00
545b688391
Upgrade to using github.com/1f349/rsa-helper
Add key_store implementation.
2024-06-09 01:06:19 +01:00
6a34395d8e
Add test workflow 2024-06-09 01:01:58 +01:00
ca4e4b7cae
Add empty claims type 2024-02-24 16:03:06 +00:00
ab84ded3a1
Add tests for search and filter 2024-02-14 23:58:52 +00:00
1792211ca2
Filter permissions that match multiple wildcard inputs 2024-02-14 20:04:55 +00:00
82d4a4a414
ParsePermStorage from string 2024-02-14 19:55:19 +00:00
2ecf871565
Fix this string slice being nil 2024-02-08 13:29:14 +00:00
994bb4e478
Properly validate registered claims 2023-11-28 17:47:00 +00:00
9a859eb2d7
Major refactor 2023-10-29 12:28:21 +00:00
d1feee2ec3
Add readme, license and search perms feature, remove .idea 2023-10-27 09:00:20 +01:00
d29f481a3c
Allow access to public and private keys 2023-10-25 17:37:55 +01:00
8769decef2
Read or create private key using filepath 2023-06-30 15:22:26 +01:00
37f499440d
Update api to add more usability and add cli 2023-06-20 00:32:16 +01:00
9ea1842360
Add test for NewMJwtVerifierFromFile 2023-06-19 11:40:28 +01:00
8806e30591
Add comments to all of this 2023-06-18 18:09:49 +01:00
fc6e076f24
Thunder and lightning caused a powercut just committing my progress before continuing 2023-06-18 13:03:41 +01:00
b859e3a63a
Add SignJwt to Provider 2022-12-09 13:22:10 +00:00
c1712f1c1d
Separate generate and sign methods for raw jwt.Claims 2022-12-09 12:53:36 +00:00
3312a37264
First commit 2022-12-04 13:42:35 +00:00