Commit Graph

4166 Commits

Author SHA1 Message Date
Herman Slatman
a24b2a5c84
Add test case for validateWireOIDCClaims 2024-01-16 10:15:32 +01:00
Herman Slatman
8f129a6ced
Add test for wireDPOP01Validate 2024-01-15 22:36:31 +01:00
Herman Slatman
d84abac4df
Add test for wireOIDC01Validate 2024-01-15 21:59:20 +01:00
Herman Slatman
a2304c8498
Add tests for Wire ID parsing 2024-01-15 20:27:56 +01:00
Herman Slatman
c46434f6e0
Make the example Wire handle consistent 2024-01-15 19:46:18 +01:00
Herman Slatman
bca179d611
Make the Wire API integration test a bit more like the real flow 2024-01-15 19:37:37 +01:00
Herman Slatman
2efd1f682d
Fix expected error type check 2024-01-15 16:31:00 +01:00
Herman Slatman
7d5a79190d
Add tests for Wire OIDC and DPoP token persistence 2024-01-15 16:25:53 +01:00
Herman Slatman
768a08965d
Store transformed OIDC token 2024-01-15 13:47:44 +01:00
Herman Slatman
29202eff26
Add support for functions in OIDC token transformation template 2024-01-15 13:17:44 +01:00
Herman Slatman
d5b0d92bce
Fix Wire ID token test comment 2024-01-12 17:03:55 +01:00
Herman Slatman
0ad381b092
Add OIDC token template transformation 2024-01-12 16:48:21 +01:00
Herman Slatman
2c27e865cb
Fix linting issue 2024-01-12 12:04:04 +01:00
Herman Slatman
9bb1b24bf1
Change kid and dpop validation 2024-01-12 10:44:49 +01:00
Herman Slatman
3f37feae78
Merge pull request #1671 from smallstep/herman/wire-configuration-refactor
Wire ACME extension configuration refactor
2024-01-12 10:26:14 +01:00
Herman Slatman
c8160caacd
Fix test; reworded error message 2024-01-12 10:22:25 +01:00
Herman Slatman
24795720e1
Perform initialization of DPoP and OIDC options once 2024-01-12 10:16:02 +01:00
Herman Slatman
79739e5073
Change signature algorithm property name 2024-01-12 09:48:49 +01:00
Herman Slatman
7eacb68361
Merge branch 'herman/remove-rusty-cli' into herman/wire-configuration-refactor 2024-01-11 21:29:15 +01:00
Herman Slatman
44721a7d58
Remove debug err print 2024-01-11 21:24:39 +01:00
Herman Slatman
348363abce
Add Wire DPoP proof claims verification 2024-01-11 21:19:24 +01:00
Herman Slatman
1bf807add3
Use base64 encoded signing key format 2024-01-11 17:04:08 +01:00
Herman Slatman
1f5f756fce
Make Wire options more robust 2024-01-11 16:14:53 +01:00
Herman Slatman
6ef64b6ed6
Refactor the Wire option configuration 2024-01-11 15:08:44 +01:00
Herman Slatman
b6fc0005d5
Add verification of maximum expiry time for Wire tokens 2024-01-11 14:24:34 +01:00
Herman Slatman
b964c97750
Add validation of handle and token to Wire verification 2024-01-11 13:47:17 +01:00
Herman Slatman
acad227b25
Put Wire options in lower level wire struct 2024-01-11 13:18:43 +01:00
Herman Slatman
cd9480ab14
Fix test for parseAndVerifyWireAccessToken 2024-01-11 12:45:29 +01:00
Herman Slatman
897688a831
Merge branch 'wire-acme-extensions' into herman/remove-rusty-cli 2024-01-11 12:03:52 +01:00
Herman Slatman
ca8855767d
Fix and add more tests to Wire order identifier validation 2024-01-11 11:47:06 +01:00
Herman Slatman
70a2f431fa
Address review remarks 2024-01-11 11:06:39 +01:00
Herman Slatman
de25740567
Change name of test for Wire Order 2024-01-10 21:16:04 +01:00
Herman Slatman
c7892e9cd3
Remove the rusty-jwt-cli configuration 2024-01-10 20:51:19 +01:00
Herman Slatman
a423151207
Merge branch 'wire-acme-extensions' into herman/remove-rusty-cli 2024-01-10 20:48:55 +01:00
Herman Slatman
ffd887f8cc
Fix tests for ACME Wire provisioner 2024-01-10 20:23:01 +01:00
Herman Slatman
8997ce1a1e
Disable wire-dpop-01 and wire-oidc-01 by default 2024-01-10 20:06:02 +01:00
Herman Slatman
bf8c17e3ec
Remove the Wire oidc and dpop from attestation formats 2024-01-10 19:12:22 +01:00
Herman Slatman
033aef9f9d
Merge branch 'wire-acme-extensions' into herman/remove-rusty-cli 2024-01-10 18:57:51 +01:00
Herman Slatman
6a98fea1f3
Fix linter issues 2024-01-10 18:36:24 +01:00
Herman Slatman
8faf26c593
Change KeyAuth back to old behavior (for now) 2024-01-10 18:32:18 +01:00
beltram
bf5f1201ea
fix: keyauth was not bound to the id token 2024-01-10 17:15:54 +01:00
Herman Slatman
e2a2e00526
Make template use DeviceId for now 2024-01-10 17:15:03 +01:00
Herman Slatman
29fa6621b1
Remove the Wire CLI invocatation 2024-01-10 15:12:28 +01:00
Herman Slatman
7a464cdb17
Use require to check for errors in Wire integration test 2024-01-09 21:52:00 +01:00
Herman Slatman
776a839a42
Fix linter issues and improve error handling 2024-01-09 21:31:19 +01:00
Herman Slatman
f5a2f436df
Fix missing DPoP and OIDC tokens for Wire integration test 2024-01-09 18:24:37 +01:00
Herman Slatman
eb9893bd21
Refactor logic for processing WireID identifiers in Order
Processing `WireID` identifiers, the Wire subject, and the Wire
DPoP and OIDC tokens is now conditional.
2024-01-09 18:22:21 +01:00
Herman Slatman
40668ae09e
Refactor WireID target processing a bit 2024-01-09 16:52:09 +01:00
Herman Slatman
01169b2483
Make the Target optional in Challenge object
This is a non-standard property in the ACME challenge response, so
we shouldn't return it if it's not set. Also made it an optional
field in the DB.
2024-01-09 16:43:18 +01:00
Herman Slatman
85309bb8ec
Fix the integration test 2024-01-09 00:33:01 +01:00