Skip to content
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

Add upload token configuration #36

Merged
merged 6 commits into from
Sep 5, 2023
Merged

Add upload token configuration #36

merged 6 commits into from
Sep 5, 2023

Conversation

byo
Copy link
Contributor

@byo byo commented May 13, 2023

Such upload token is a trivial protection against
unauthorized upload of data. Even if such data would pass the validation, huge amounts of data can be generated in order to perform a DoS attack by abusing storage requirements of the node.

Such upload token is a trivial protection against
unauthorized upload of data. Even if such data would
pass the validation, huge amounts of data can be generated
in order to perform a DoS attack by abusing storage
requirements of the node.
@codecov
Copy link

codecov bot commented May 13, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.40% 🎉

Comparison is base (bb893a4) 88.18% compared to head (9c808a4) 88.59%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
+ Coverage   88.18%   88.59%   +0.40%     
==========================================
  Files          29       29              
  Lines        1837     1903      +66     
==========================================
+ Hits         1620     1686      +66     
  Misses        181      181              
  Partials       36       36              
Files Changed Coverage Δ
pkg/cmd/cinode_web_proxy/root.go 100.00% <100.00%> (ø)
pkg/cmd/public_node/root.go 100.00% <100.00%> (ø)
pkg/datastore/webinterface.go 92.30% <100.00%> (+1.00%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@byo byo merged commit 90fc2f5 into master Sep 5, 2023
16 of 17 checks passed
@byo byo deleted the add-upload-token branch September 5, 2023 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant