-
Notifications
You must be signed in to change notification settings - Fork 1
Release 2.6.0 -- add TOTP endpoints #140
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
Changes from all commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
61cf03b
Merge branch 'main' into develop
briskt 150d272
Merge pull request #127 from silinternational/main
briskt e5fcf94
Update CODEOWNERS
ethancanne b15a75a
Merge pull request #128 from sil-org/rename-org
ethancanne 46d5a35
add the POST /totp endpoint which creates a new TOTP
briskt d517caf
make api-key tests a bit more precise
briskt 3dea567
refactor router to reduce duplication and remove an external dependency
briskt c3471c6
limit test server to DELETE
briskt 4230fbf
add /router to Docker image
briskt 8f52fd7
clean up .dockerignore
briskt 995c106
add documentation for POST /totp
briskt 940426d
Merge branch 'new-totp-endpoint' into route-refactor
briskt cd6f2a7
remove unused containers from the Docker Compose configuration
briskt 62dfc1d
remove incorrect note in the open API spec
briskt 3a4cba5
create TOTP table in "make dbinit"
briskt 1736edd
CDK doesn't need to be in the Dockerfile
briskt f825c6f
don't return the error details in authentication response
briskt f732781
add missing route, BeginRegistration, which was defined for Lambda
briskt c592228
use CDK and SAM to serve the Lambda locally
briskt 4de9c3b
add some documentation details for clarity (PR feedback)
briskt 677b643
PR feedback: simplify region assignment
briskt e4b81ae
Merge pull request #129 from sil-org/new-totp-endpoint
briskt 2f60d6c
Merge branch 'develop' into route-refactor
briskt bb13f4a
Merge branch 'route-refactor' into misc
briskt 1835c16
Merge branch 'misc' into cdk-sam-testing
briskt e71f1d9
address a SonarQube security alert about log injection
briskt 97a89a1
new test helper newPasscode()
briskt 5199dae
implement DELETE /totp/{uuid} endpoint
briskt c183360
remove satori/go-uuid
briskt 7ebb231
new test helper newRequest
briskt 2f2e093
implement POST /totp/{uuid}/validate endpoint
briskt 38e8e10
simplify route list to a map (rather than a slice of struct)
briskt ea28e49
move Delete Credential docs to OpenAPI spec
briskt 6ae2f21
Merge pull request #130 from sil-org/route-refactor
briskt 70373e2
simplify mux in u2fserver
briskt dc59029
Merge pull request #131 from sil-org/misc
briskt 0613302
Merge pull request #132 from sil-org/cdk-sam-testing
briskt 4f10b97
remove trailing slash from Delete Credential route
briskt 2a89fb0
don't send error detail to client
briskt cd41169
move mux init outside test loop
briskt 91666c2
another place where SonarQube flagged as vulnerable to injection attack
briskt be1f8ac
Merge pull request #133 from sil-org/feature/totp-delete
briskt d69c196
Merge branch 'develop' into feature/remove-satori
briskt 3051f62
Merge pull request #134 from sil-org/feature/remove-satori
briskt 87dbb03
Merge branch 'develop' into feature/totp-validate
briskt 12aaa92
move response error consts to global scope
briskt fbe11c8
do not respond to client with a detailed error message (again)
briskt f866572
don't use a double pointer, even though json.Decode handles it OK
briskt 5c43f82
move mux init outside test loop
briskt 88db0e9
Merge pull request #135 from sil-org/feature/totp-validate
briskt 83e7e50
Merge branch 'develop' into feature/simplify-routes
briskt 05a0ed5
Merge pull request #136 from sil-org/feature/simplify-routes
briskt 896f37c
fix TOTP Validate - decrypt and use the actual secret
briskt 1eda72e
log errors but don't send the details to the client
briskt 2ef424d
refine the simpleError type to be a bit more useful
briskt ee2bf57
didn't intend to commit this
briskt 80a7339
remove unused code
briskt f946511
Merge pull request #137 from sil-org/fix-totp-validate
briskt f55dfd7
PR feedback (typo, nested errors.Is, default in switch, use const)
briskt dc28fad
rename local variable by Sonar recommendation
briskt f1c99db
Merge pull request #138 from sil-org/safe-response
briskt 36639c5
Merge pull request #139 from sil-org/remove-unused
briskt a769b05
remove unnecessary indirection
briskt 3f40446
rename docker-compose.yml to compose.yaml
briskt 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 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,11 @@ | ||
root = "." | ||
tmp_dir = "tmp" | ||
|
||
[build] | ||
bin = "" | ||
cmd = './build.sh' | ||
delay = 100 | ||
exclude_dir = ["tmp", "cdk"] | ||
full_bin = "sam local start-api --port 8160 --template cdk/cdk.out/twosv-api-dev.template.json --env-vars cdk/env.json" | ||
include_ext = ["go"] | ||
kill_delay = "0s" |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
* @silinternational/developers | ||
*.tf @silinternational/tf-devs | ||
*.go @silinternational/go-devs | ||
go.* @silinternational/go-devs | ||
* @sil-org/developers | ||
*.tf @sil-org/tf-devs | ||
*.go @sil-org/go-devs | ||
go.* @sil-org/go-devs |
briskt marked this conversation as resolved.
Show resolved
Hide resolved
|
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
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.