-
Notifications
You must be signed in to change notification settings - Fork 7
Feat/runtime upgrades #1218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
isabeleliassen
merged 15 commits into
csg-org:main
from
InspiringApps:feat/runtime-upgrades
Dec 2, 2025
Merged
Feat/runtime upgrades #1218
Changes from 5 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
4f6e962
Add client signature example data
jusdino 22d3d80
Move comment to valid location
jusdino 6e7a3fc
Remove unneeded example-generation test
jusdino b6cd4e2
Upgrade Python runtimes to 3.14
jusdino a8c2f7a
Upgrade backend to Node 24
jusdino 6251ef4
Remove aws-lambda dependency (#1213)
jusdino 1a18c92
Frontend/investigative info (#1196)
jsandoval81 c97769b
Downgrade CodeBuild runtimes, revise tests
jusdino d60b502
Upgrade cdk and deps
jusdino e2eec84
Upgrade GH actions, isolate purchases checks
jusdino 5dcf516
Fix GH action paths
jusdino 450f94b
Fix typo in test dates
jusdino 2b16f7b
Merge branch 'main' into feat/runtime-upgrades
jusdino 92222b4
Upgrade action versions
jusdino 68f813e
PR feedback
jusdino File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| *.pem | ||
| *.pub |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
149 changes: 149 additions & 0 deletions
149
backend/compact-connect/docs/signature_auth_examples.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,149 @@ | ||
| ================================================================================ | ||
|
jlkravitz marked this conversation as resolved.
|
||
| Signature Authentication Examples | ||
| ================================================================================ | ||
|
|
||
| This document provides example HTTP requests demonstrating the | ||
| CompactConnect signature authentication scheme. | ||
|
|
||
| Each example includes: | ||
| 1. The raw HTTP request with signature headers | ||
| 2. The plaintext string that was signed | ||
| 3. The base64-encoded string that was signed | ||
|
|
||
| ================================================================================ | ||
|
|
||
| Example 1: GET /v1/compacts/aslp/jurisdictions/al/providers/query | ||
| -------------------------------------------------------------------------------- | ||
|
|
||
| Raw HTTP Request: | ||
|
|
||
| GET /v1/compacts/aslp/jurisdictions/al/providers/query?limit=10&offset=0&status=active HTTP/1.1 | ||
| Host: api.example.com | ||
| Content-Type: application/json | ||
| User-Agent: CompactConnect-Client/1.0 | ||
| Authorization: Bearer <token> | ||
| X-Algorithm: ECDSA-SHA256 | ||
| X-Timestamp: 2025-11-19T21:21:21.242166Z | ||
| X-Nonce: d34b90dd39e64c739f9b22070d0433bf | ||
| X-Key-Id: test-key-001 | ||
| X-Signature: MEYCIQDxGk8KYQskZaiD2XCCvZJBlLz7TXPM8nW7BqcfTTO5ygIhAPtLd+oBgdMHfskhlCjFf/dc2fFzz9jcgaxsxXdA5Ddg | ||
|
|
||
|
|
||
| Plaintext String to Sign: | ||
|
|
||
| GET | ||
| /v1/compacts/aslp/jurisdictions/al/providers/query | ||
| limit=10&offset=0&status=active | ||
| 2025-11-19T21:21:21.242166Z | ||
| d34b90dd39e64c739f9b22070d0433bf | ||
| test-key-001 | ||
|
|
||
|
|
||
| Base64-Encoded String to Sign: | ||
|
|
||
| R0VUCi92MS9jb21wYWN0cy9hc2xwL2p1cmlzZGljdGlvbnMvYWwvcHJvdmlkZXJzL3F1ZXJ5CmxpbWl0PTEwJm9mZnNldD0wJnN0YXR1cz1hY3RpdmUKMjAyNS0xMS0xOVQyMToyMToyMS4yNDIxNjZaCmQzNGI5MGRkMzllNjRjNzM5ZjliMjIwNzBkMDQzM2JmCnRlc3Qta2V5LTAwMQ== | ||
|
|
||
|
|
||
| ================================================================================ | ||
|
|
||
| Example 2: POST /v1/compacts/aslp/jurisdictions/al/providers | ||
| -------------------------------------------------------------------------------- | ||
|
|
||
| Raw HTTP Request: | ||
|
|
||
| POST /v1/compacts/aslp/jurisdictions/al/providers?validate=true HTTP/1.1 | ||
| Host: api.example.com | ||
| Content-Type: application/json | ||
| User-Agent: CompactConnect-Client/1.0 | ||
| Authorization: Bearer <token> | ||
| X-Algorithm: ECDSA-SHA256 | ||
| X-Timestamp: 2025-11-19T21:21:21.245504Z | ||
| X-Nonce: 26cd4a44b74f425d8630d1ea9c98127e | ||
| X-Key-Id: test-key-002 | ||
| X-Signature: MEUCIQDoIo1XqJo6X6HTt2CbZTWN1RI5Jex0EFwb9MoLXrKVnQIgV883LXq3fKdiv1hwU98Kt7hBQKO+2hyt8D3bL6GJlDw= | ||
|
|
||
|
|
||
| Plaintext String to Sign: | ||
|
|
||
| POST | ||
| /v1/compacts/aslp/jurisdictions/al/providers | ||
| validate=true | ||
| 2025-11-19T21:21:21.245504Z | ||
| 26cd4a44b74f425d8630d1ea9c98127e | ||
| test-key-002 | ||
|
|
||
|
|
||
| Base64-Encoded String to Sign: | ||
|
|
||
| UE9TVAovdjEvY29tcGFjdHMvYXNscC9qdXJpc2RpY3Rpb25zL2FsL3Byb3ZpZGVycwp2YWxpZGF0ZT10cnVlCjIwMjUtMTEtMTlUMjE6MjE6MjEuMjQ1NTA0WgoyNmNkNGE0NGI3NGY0MjVkODYzMGQxZWE5Yzk4MTI3ZQp0ZXN0LWtleS0wMDI= | ||
|
|
||
|
|
||
| ================================================================================ | ||
|
|
||
| Example 3: GET /v1/compacts/aslp/jurisdictions/al/providers/12345 | ||
| -------------------------------------------------------------------------------- | ||
|
|
||
| Raw HTTP Request: | ||
|
|
||
| GET /v1/compacts/aslp/jurisdictions/al/providers/12345 HTTP/1.1 | ||
| Host: api.example.com | ||
| Content-Type: application/json | ||
| User-Agent: CompactConnect-Client/1.0 | ||
| Authorization: Bearer <token> | ||
| X-Algorithm: ECDSA-SHA256 | ||
| X-Timestamp: 2025-11-19T21:21:21.245591Z | ||
| X-Nonce: 3e1aa862e0ee4c1e94e44f2ce35a89a7 | ||
| X-Key-Id: test-key-003 | ||
| X-Signature: MEYCIQChYjYNjARVQZx53V551i2x6acWcvOF7ipe8pu/tHYwKQIhAISUX+oxCtPBKLOc2tqpJg6FTKX7pR8ULWXSWKO2Ira5 | ||
|
|
||
|
|
||
| Plaintext String to Sign: | ||
|
|
||
| GET | ||
| /v1/compacts/aslp/jurisdictions/al/providers/12345 | ||
|
|
||
| 2025-11-19T21:21:21.245591Z | ||
| 3e1aa862e0ee4c1e94e44f2ce35a89a7 | ||
| test-key-003 | ||
|
|
||
|
|
||
| Base64-Encoded String to Sign: | ||
|
|
||
| R0VUCi92MS9jb21wYWN0cy9hc2xwL2p1cmlzZGljdGlvbnMvYWwvcHJvdmlkZXJzLzEyMzQ1CgoyMDI1LTExLTE5VDIxOjIxOjIxLjI0NTU5MVoKM2UxYWE4NjJlMGVlNGMxZTk0ZTQ0ZjJjZTM1YTg5YTcKdGVzdC1rZXktMDAz | ||
|
|
||
|
|
||
| ================================================================================ | ||
|
|
||
| Example 4: POST /path | ||
| -------------------------------------------------------------------------------- | ||
|
|
||
| Raw HTTP Request: | ||
|
|
||
| POST /path?a=1&b=value%20two HTTP/1.1 | ||
| Host: api.example.com | ||
| Content-Type: application/json | ||
| User-Agent: CompactConnect-Client/1.0 | ||
| Authorization: Bearer <token> | ||
| X-Algorithm: ECDSA-SHA256 | ||
| X-Timestamp: 2025-11-11T19:09:53Z | ||
| X-Nonce: 54ebdc56-4eae-4627-94e1-11ff27a3ec88 | ||
| X-Key-Id: eLicenseKey | ||
| X-Signature: MEQCIFed8UTChmWcKS6yNtjn5KRNVXbRgwn3RC6NZBMUMKOoAiB2xtyQlPft8Dq24rjz28rK8D7hwsZ3BDy4SYQZrmeeTw== | ||
|
|
||
|
|
||
| Plaintext String to Sign: | ||
|
|
||
| POST | ||
| /path | ||
| a=1&b=value%20two | ||
| 2025-11-11T19:09:53Z | ||
| 54ebdc56-4eae-4627-94e1-11ff27a3ec88 | ||
| eLicenseKey | ||
|
|
||
|
|
||
| Base64-Encoded String to Sign: | ||
|
|
||
| UE9TVAovcGF0aAphPTEmYj12YWx1ZSUyMHR3bwoyMDI1LTExLTExVDE5OjA5OjUzWgo1NGViZGM1Ni00ZWFlLTQ2MjctOTRlMS0xMWZmMjdhM2VjODgKZUxpY2Vuc2VLZXk= | ||
|
|
||
|
|
||
| ================================================================================ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.