Skip to content

feat(github): Verify release uploads for GitHub - #308

Merged
BYK merged 2 commits into
masterfrom
byk/feat/checksum-verify
Oct 5, 2021
Merged

feat(github): Verify release uploads for GitHub#308
BYK merged 2 commits into
masterfrom
byk/feat/checksum-verify

Conversation

@BYK

@BYK BYK commented Oct 5, 2021

Copy link
Copy Markdown
Member

We had an incident where we sent UTF-encoded string
when uploading GitHub release artifacts after an
Octokit upgrade due to misleading types. We haven't
noticed the issue until it was too late as we lack
basic checks such as file size and checksums. This
patch introduces both checks to the GitHub target.

Closes #303.

We had an incident where we sent UTF-encoded string
when uploading GitHub release artifacts after an
Octokit upgrade due to misleading types. We haven't
noticed the issue until it was too late as we lack
basic checks such as file size and checksums. This
patch introduces both checks to the GitHub target.

Closes #303.
@BYK
BYK enabled auto-merge (squash) October 5, 2021 17:11
@BYK

BYK commented Oct 5, 2021

Copy link
Copy Markdown
Member Author

Comment thread src/targets/github.ts Outdated
Co-authored-by: Chad Whitacre <chadwhitacre@sentry.io>
@BYK
BYK merged commit 57e9668 into master Oct 5, 2021
@BYK
BYK deleted the byk/feat/checksum-verify branch October 5, 2021 19:07
Comment thread src/targets/github.ts
// And don't even think about using `browser_download_url`
// field as it is close to impossible to authendicate for
// that URL with a token and you'll lose hours getting 404s
// for private repos. Consider yourself warned. --xoxo BYK

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃槀 馃槶

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.

Verify uploaded assets on github have same checksum

2 participants