generated from cloud-gov/.github
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle all SNS messages with valid signatures
This commit implements and tests the full SNS endpoint, which can confirm the subscription and act on notifications. It includes a tested implementation of SNS signature verification. It also includes one experimental fuzz test for the SNS verification. There's currently no CI infrastructure for running tests at all, let alone fuzzing, but I've run them locally and they pass.
- Loading branch information
1 parent
5d37c62
commit 1df3188
Showing
9 changed files
with
454 additions
and
60 deletions.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# CSB Helper | ||
|
||
## Conventions | ||
|
||
Test functions are ordered in test files as follows: | ||
|
||
1. Individual unit tests (`TestXxx`) | ||
1. Table-driven tests | ||
1. Benchmark tests (`BenchmarkXxx`) | ||
1. Fuzz tests (`FuzzXxx`) | ||
1. Example tests (`ExampleXxx`) |
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
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.