Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
61683a6
Add renovate.json
renovate[bot] Nov 3, 2022
abeaa61
Stub out a axum-based rust web service.
rillian Dec 15, 2022
0676723
Stub out axum routes
rillian Jan 10, 2023
5d1233a
Fix up logging
rillian Jan 27, 2023
2b98c57
Stub out the /randomness endpoint
rillian Jan 30, 2023
1e755ee
Stub out /randomness endpoint
rillian Feb 1, 2023
6aacdae
Processes all submitted points.
rillian Feb 3, 2023
3975a2f
cargo fmt
rillian Feb 7, 2023
e621f9b
Update rust deps
rillian Feb 7, 2023
5b63a76
Replace Mutex with RwLock.
rillian Feb 7, 2023
23c4e9b
Add basic comments to types
rillian Feb 9, 2023
a0137ca
Stub out background epoch rotation task
rillian Feb 9, 2023
a0cf909
Rotate OPRF key when epoch list is exhausted.
rillian Feb 9, 2023
48ce3cf
Add error handling
rillian Feb 9, 2023
0896f57
Fix clippy lints
rillian Feb 10, 2023
e77eeec
Fix OPRF key rotation
rillian Feb 13, 2023
acdb3fb
Remove old nitriding implementation
rillian Feb 13, 2023
49c118b
Update Dockerfile to build the new configuration.
rillian Feb 13, 2023
4a54a87
Update Makefile
rillian Feb 13, 2023
3dc48a1
Don't lint nitriding
rillian Feb 14, 2023
d5652ed
Fix build path
rillian Feb 14, 2023
b3daa78
Base container on debian:slim
rillian Feb 15, 2023
c529e8c
Use static builds with the docker container.
rillian Feb 15, 2023
fa22c5f
Use nitriding's static build
rillian Feb 15, 2023
c0b0395
Implement /info endoint
rillian Feb 17, 2023
0951a7b
Enforce current epoch and max points per request.
rillian Feb 17, 2023
1c6477e
Add a test for the root endpoint
rillian Feb 17, 2023
7dc91bf
Update to Rust edition 2021.
rillian Feb 27, 2023
41ed6ed
Update Dockerfile to use golang:1.20
rillian Feb 27, 2023
5074c17
Update start.sh with dev deployment fqdn
rillian Feb 27, 2023
86231bb
Fix typo
rillian Feb 27, 2023
f56033e
fix typo
rillian Feb 27, 2023
1cf8794
Merge remote-tracking branch 'origin/main' into rust
rillian Feb 27, 2023
000b9f8
Merge remote-tracking branch 'origin/main' into rust
rillian Feb 27, 2023
91a361c
Use thiserror to derive error messages
rillian Feb 27, 2023
d7f7f92
Remove map_err calls
rillian Feb 27, 2023
6fa4ea9
Make the star/start up pun explicit
rillian Mar 6, 2023
0ed4bf4
cargo fmt
rillian Mar 6, 2023
981e66a
Add command line switches
rillian Mar 6, 2023
eec9dcd
cargo fmt
rillian Mar 6, 2023
46f9c42
Add test for the /info endpoint
rillian Mar 7, 2023
0e1a3a8
Verify we can parse the server public key
rillian Mar 7, 2023
e8a43dc
Add test for the /randomness endpoint
rillian Mar 8, 2023
d98b622
Consolitate test app into a helper
rillian Mar 8, 2023
d4fec5b
Consolidate request building.
rillian Mar 8, 2023
75319f9
Verify welcome message is utf-8.
rillian Mar 8, 2023
a263104
Shorten test names.
rillian Mar 8, 2023
cd2caf0
Report the next epoch rotation time
rillian Mar 22, 2023
3cdfd2d
Truncate nextEpochTime to the nearest second.
rillian Mar 22, 2023
7373b39
Update InfoResponse test for nextEpochTime field
rillian Mar 22, 2023
5f67b3e
Improve comments
rillian Mar 23, 2023
cd8efb0
Merge remote-tracking branch 'origin/main' into rust
rillian Mar 23, 2023
0b559de
cargo fmt
rillian Mar 23, 2023
163f726
Use fewer temporaries constructing InfoResponse
rillian Mar 23, 2023
2b0af3f
Verify maxPoints and nextEpochTime in InfoResponse test
rillian Mar 23, 2023
0ca2733
Makefile: remove unused deps
rillian Mar 23, 2023
db8c47a
Use is_empty() instead of len() > 0
rillian Mar 29, 2023
033c20a
Test submitting multiple points
rillian Mar 29, 2023
5f0c872
Test specifying an epoch
rillian Mar 29, 2023
9265c40
Bump container base image versions
rillian Mar 29, 2023
33b5d54
Bump rust dependencies
rillian Mar 29, 2023
b75c690
Use port 443 for the exported https interface
rillian Mar 29, 2023
b6f41f9
Bump nitriding to v2.0.1
rillian Mar 29, 2023
bc8ac6d
Hoist timestamp calculation
rillian Mar 31, 2023
19c5953
Let tracing log the config object directly
rillian Mar 31, 2023
633dc29
Mark trace events from epoch_update_loop
rillian Mar 31, 2023
0fb7d89
Add --listen command line switch
rillian Mar 31, 2023
0a58ab0
fixup tests for --listen switch
rillian Mar 31, 2023
4ad8295
Move the tests module to a separate source file
rillian Mar 31, 2023
dbc753f
cargo fmt
rillian Mar 31, 2023
6cf590d
Move the epoch rotation function to a separate module.
rillian Mar 31, 2023
93288d2
Move request handlers into a separate module
rillian Mar 31, 2023
ff0a318
Allow clippy::assertions_on_constants in tests::epoch
rillian Mar 31, 2023
c47465c
cargo fmt
rillian Mar 31, 2023
d9b26ee
Use the Amazon Web Services container registry
rillian Apr 4, 2023
def73b1
Invoke start.sh from the full path.
rillian Apr 4, 2023
896e4a2
Update Makefile
rillian Apr 5, 2023
0f800e7
Update nitriding for the buildcvs=false fix
rillian Apr 5, 2023
67369ed
Add a makefile step to update the nitriding submodule
rillian Apr 5, 2023
c517bb8
Place OPRFState and friends together with the update update loop.
rillian Apr 6, 2023
76bca6f
Pass prove as a false value to ppoprf::server::eval
rillian Apr 6, 2023
f2dd246
github actions: initialize submodules before building
rillian Apr 6, 2023
347c8a7
Test deployment from the rust branch.
rillian Apr 6, 2023
9cbcaef
Make star-randsrv build reproducibly.
Apr 11, 2023
368be97
Merge pull request #55 from brave/reproducible-build
Apr 14, 2023
8c5363c
Return 500 Internal Server Error on LockFailure
rillian Apr 17, 2023
64367e1
Check for overflow incrementing the epoch.
rillian Apr 18, 2023
2adf203
cargo fmt
rillian Apr 18, 2023
0f2fb25
Remove unnecessary borrow.
rillian Apr 18, 2023
e75c152
github actions: remove golang config
rillian Apr 19, 2023
80ed097
Merge pull request #46 from brave/renovate/configure
rillian Apr 20, 2023
334bb06
Don't deploy from the rust branch
rillian Apr 20, 2023
ae95895
Don't checkout submodules for deployment builds.
rillian Apr 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/workflows/makefile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,5 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Setup go
uses: actions/setup-go@v3
with:
go-version: 1.19

- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/[email protected]

- name: Build
run: make
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "nitriding"]
path = nitriding
url = https://github.com/brave/nitriding.git
Loading