Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Conversation

@MrJaeger
Copy link
Contributor

@MrJaeger MrJaeger commented Jun 9, 2021

Purpose

Send the upload token via header, which is more secure than as a URL param.

Tests and Risks?

I updated tests to pass, but not sure there's a good way thus token is being set as a header :(

Update the SHA hash files

Done

@MrJaeger MrJaeger requested a review from thomasrockhu June 9, 2021 18:23
@thomasrockhu thomasrockhu requested a review from a team June 9, 2021 18:31
@thomasrockhu
Copy link
Contributor

Should be good after you fix tests, will review again before merging in

@codecov
Copy link

codecov bot commented Jun 9, 2021

Codecov Report

Merging #439 (2c3ae19) into master (965008c) will increase coverage by 0.03%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #439      +/-   ##
==========================================
+ Coverage   45.78%   45.82%   +0.03%     
==========================================
  Files          20       20              
  Lines        2859     2859              
==========================================
+ Hits         1309     1310       +1     
+ Misses       1550     1549       -1     
Flag Coverage Δ
test 39.22% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
codecov 67.64% <50.00%> (+0.06%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 965008c...2c3ae19. Read the comment docs.

@MrJaeger MrJaeger merged commit c3ccd59 into master Jun 10, 2021
@MrJaeger MrJaeger deleted the andrew__send-token-via-header branch June 10, 2021 16:23
sbeidas added a commit that referenced this pull request Jul 9, 2021
* Fix go regex (#436)

* Send Upload Token via Header (#439)

* Send token via HTTP header vs. URL param

* Revert testing change

* Update script to use token in header

* update SHASUM

* maybe fix tests?

* Undo accidental deletion

* More test fixes

* fix build

Co-authored-by: Tom Hu <[email protected]>
Co-authored-by: Andrew Jaeger <[email protected]>
thomasrockhu added a commit that referenced this pull request Jul 10, 2021
* Releasing new version of the uploader (#445)

* Fix go regex (#436)

* Send Upload Token via Header (#439)

* Send token via HTTP header vs. URL param

* Revert testing change

* Update script to use token in header

* update SHASUM

* maybe fix tests?

* Undo accidental deletion

* More test fixes

* fix build

Co-authored-by: Tom Hu <[email protected]>
Co-authored-by: Andrew Jaeger <[email protected]>

* Update to 1.0.4

Co-authored-by: Subhi Beidas <[email protected]>
Co-authored-by: Andrew Jaeger <[email protected]>
thomasrockhu added a commit that referenced this pull request Jul 20, 2021
* Releasing new version of the uploader (#445)

* Fix go regex (#436)

* Send Upload Token via Header (#439)

* Send token via HTTP header vs. URL param

* Revert testing change

* Update script to use token in header

* update SHASUM

* maybe fix tests?

* Undo accidental deletion

* More test fixes

* fix build

Co-authored-by: Tom Hu <[email protected]>
Co-authored-by: Andrew Jaeger <[email protected]>

* Update to 1.0.4

Co-authored-by: Subhi Beidas <[email protected]>
Co-authored-by: Andrew Jaeger <[email protected]>
thomasrockhu added a commit that referenced this pull request Jul 21, 2021
* Pull in `1.0.4` into `master` (#448)

* Releasing new version of the uploader (#445)

* Fix go regex (#436)

* Send Upload Token via Header (#439)

* Send token via HTTP header vs. URL param

* Revert testing change

* Update script to use token in header

* update SHASUM

* maybe fix tests?

* Undo accidental deletion

* More test fixes

* fix build

Co-authored-by: Tom Hu <[email protected]>
Co-authored-by: Andrew Jaeger <[email protected]>

* Update to 1.0.4

Co-authored-by: Subhi Beidas <[email protected]>
Co-authored-by: Andrew Jaeger <[email protected]>

* 1.0.5 - Fix token uploads for self-hosted (#454)

* fix: Prevent deploys if tag is not unique (#452)

* docs: Add deprecation warning (#451)

* fix: add query support for token (self-hosted) (#453)

* fix: add query support for token (self-hosted)

* fix: mask the token in output

Co-authored-by: Tom Hu <[email protected]>

* chore: bump version

* chore: trigger new deploy with tag 1.0.5

* fail if release fails (#447)

* fix: Do not set PR on closed GitHub PRs (#456)

* fix: Update GitHub Actions server URL (#457)

* fix: Update GitHub Actions server URL

* fix: Update tests

* patch: bump to 1.0.6 (#458)

Co-authored-by: Subhi Beidas <[email protected]>
Co-authored-by: Andrew Jaeger <[email protected]>
Co-authored-by: Joe Becher <[email protected]>
Co-authored-by: Joe Becher <[email protected]>
Co-authored-by: Matthew Berryman <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants