-
Notifications
You must be signed in to change notification settings - Fork 90
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
feat(http-signature-utils): move http signature related code to this package #797
Merged
Merged
Changes from all commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
97d10da
feat(http-signature-utils): initial commit
sabineschaller bd71bb0
chore(http-signature-utils): update lockfile
sabineschaller 5a299e2
fix(http-signature-utils): fix package.json
sabineschaller 359cbc9
fix: add http-signature-utils to tsconfig
sabineschaller 29cd5e3
fix: include http-signature-utils in gh workflow
sabineschaller cc52dc6
fix: gh workflow build deps
sabineschaller d07b504
fix: builds
sabineschaller f505324
feat(HSU): pass keyId
sabineschaller 458b88f
Merge branch 'main' into s2-http-sig-utils
sabineschaller ab5fe70
feat(HSU): add Dockerfile and add app to local infrastructure
sabineschaller f6eae9c
feat(HSU): move content digest creation into HSU
sabineschaller b8371bd
Revert "feat(HSU): move content digest creation into HSU"
sabineschaller cefd817
feat(MAP): load private key
sabineschaller 1a111b1
chore: fix build:deps
sabineschaller e19a4a8
Merge branch 'main' into s2-http-sig-utils
sabineschaller 46ab175
fix(MAP): graphql url
sabineschaller ceaa11c
feat(HSU): add content headers to app
sabineschaller e03aff4
fix(HSU): remove `conent-type` and `content-length` headers from app
sabineschaller c589ac7
feat(HSU): add content digest header to app
sabineschaller 9dd1052
fix(HSU): allow for lower case headers
sabineschaller 5bf116a
feat(HSU): move sig verification from auth to HSU
sabineschaller afc70f0
fix: export and imports
sabineschaller a027ee1
Merge branch 'main' into s2-http-sig-utils
sabineschaller e3b0af1
feat(HSU): move sig verification to HSU
sabineschaller 8bcdda1
refactor(HSU): remove koa context from HSU
sabineschaller a293bf2
fix(backend): middleware context
sabineschaller 019a7c5
Merge branch 'main' into s2-http-sig-utils
sabineschaller 6664e26
fix(backend): imports
sabineschaller 0951b09
fix(HSU): remove conent type and length headers from app response
sabineschaller b5dc812
fix(HSU): add missing dependency
sabineschaller 4c8930a
fix: request URL
sabineschaller 3764296
fix(local): readd redis network
sabineschaller c62549c
fix(HSU): removing whitespace
sabineschaller 1db05d5
feat(local): enable sig validation
sabineschaller 742af97
test(HSU): add tests
sabineschaller 889ee01
fix: types
sabineschaller 92d48dc
refactor(auth): remove console.log
sabineschaller 0891bfa
fix(MAP): quote fees
sabineschaller 8f08f94
Merge branch 'main' into s2-http-sig-utils
sabineschaller 69a1089
docs(HSU): add Readme
sabineschaller 21e06f0
feat(HSU): add postman scripts
sabineschaller 1276e17
fix(HSU): formatting
sabineschaller 6dfcb56
fix(HSU): add postman scripts to lintigonre file
sabineschaller 7d2912d
refactor(HSU): verification
sabineschaller 8f85413
fix(HSU): key tmp dir
sabineschaller 5b61e5a
refactor(infrastructure): rename key files
sabineschaller bfa7353
chore(auth): remove jose
sabineschaller 7658735
refactor(open-payments): use createHeaders from utils package
sabineschaller 27d8936
style(HSU): rename validateHttpSigHeaders and verifySigAndChallenge
sabineschaller 44d9241
refactor(auth): only store keyId, not entire key
sabineschaller 9108d93
refactor: remove JWKWithRequired
sabineschaller 96dcee0
refactor(HSU): remove unnecessary type cast
sabineschaller 03a8a73
Merge branch 'main' into s2-http-sig-utils
sabineschaller 45a51d4
chore: update gh workflow actions version
sabineschaller d448a24
chore(HSU): move postman scripts out of src
sabineschaller b759b36
test(HSU): add positive header validation tests
sabineschaller b5e035c
style(HSU): rename verification -> validation
sabineschaller 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
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
public | ||
generated | ||
dist | ||
build | ||
build | ||
postman-scripts |
This file contains 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 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 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 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,3 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MC4CAQAwBQYDK2VwBCIEIEqezmcPhOE8bkwN+jQrppfRYzGIdFTVWQGTHJIKpz88 | ||
-----END PRIVATE KEY----- |
This file contains 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,3 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MC4CAQAwBQYDK2VwBCIEICxfM9mUurUGnwlMMQEDclDEQnX7c49BoGKOB48URBxO | ||
-----END PRIVATE KEY----- |
This file contains 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀