lib/, bin/: fix signature type, now called *.sig2#565
Merged
Duncaen merged 3 commits intovoid-linux:masterfrom Aug 30, 2023
Merged
lib/, bin/: fix signature type, now called *.sig2#565Duncaen merged 3 commits intovoid-linux:masterfrom
Duncaen merged 3 commits intovoid-linux:masterfrom
Conversation
Since 8d5c48b, xbps has used a sha1 ASN1 prefix with a sha256 hash, and as of openssl v3, openssl cares about this. This works around that in a compatible way by moving to a second sig file, binpkg.sig2. For xbps-remove -O and xbps-rindex -r, also clean up obselete .sig files.
caused issues when .xbps existed locally but .sig2 did not.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since 8d5c48b, xbps has used a sha1 ASN1 prefix with a sha256 hash, and as of openssl v3, openssl cares about this. This works around that in a compatible way by moving to a second sig file,
binpkg.sig2.For
xbps-remove -Oandxbps-rindex -r, also clean up obselete.sigfiles.Tested
xbps-rindex -Sof a package to generate a.sig2xbps-rindex -rof a package with both.sigand.sig2xbps-remove -Oof a package with both.sigand.sig2in cachexbps-installof a package with a.sig2This will require
xbpswith the old signature format to allow for installation of the fixed version (like this).sig2Questions
.sigs be removed from the repos?.sig2files? downstream mirrors filtering their rsyncs?closes #544
fixes #531
fixes #480