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

Determine validation key from asc signature file #219

Merged
merged 2 commits into from
Oct 4, 2021
Merged

Conversation

reidmv
Copy link
Contributor

@reidmv reidmv commented Oct 1, 2021

Rather than expecting that downloaded files will be signed with a known key, simply use the key from the signature asc file.

The purpose of this validation isn't to validate authenticity. It is only to validate digest. Because the packages we download have been signed with multiple different keys over the years, it isn't possible to anticipate a default key and expect it to work for all downloads.

Fixes #216

reidmv added 2 commits October 1, 2021 12:09
Adjust message language, add message for moving temp file into target
location on successful download
Rather than expecting that downloaded files will be signed with a known
key, simply use the key from the signature asc file.

The purpose of this validation isn't to validate authenticity. It is
only to validate digest.
@reidmv reidmv added the bugfix label Oct 1, 2021
@reidmv reidmv requested a review from a team as a code owner October 1, 2021 19:26
@davidsandilands davidsandilands merged commit 009b631 into main Oct 4, 2021
@davidsandilands davidsandilands deleted the GH-216 branch October 4, 2021 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GPG signature verification fails on download for older PE versions
2 participants