I decided to activate USE=" verify-sig" in my make.conf.
Now, verify-provenance (which seems to be only for Python packages what is it for? why is it only for Python ? Should I put it in make.conf too?
Sorry, My previous post was wrong I would mean I am already using USE="verify-sig" in my make.conf , but don't know about verify-provenancelogrusx wrote:I don't know why one would enable something they don't know what it actually is.
According to the description of the use flag: verifies that the artifact comes from upstream source repository
But portage already performs checksum verification of all distfiles it downloads so it does not make sense to me. It looks redundant.
You can find more information in the man page of pypi.eclass (app-doc/eclass-manpages) or maybe even read the eclass itself.
Best Regards,
Georgi
No need to be so negative about it.logrusx wrote:I don't know why one would enable something they don't know what it actually is.
Code: Select all
init=/sbin/openrc-init
-systemd -logind -elogind seatdI am NaN! I am a man!
Code: Select all
# verify-sig eclass provides a streamlined approach to verifying
# upstream signatures on distfiles. Its primary purpose is to permit
# developers to easily verify signatures while bumping packages.
# The eclass removes the risk of developer forgetting to perform
# the verification, or performing it incorrectly, e.g. due to additional
# keys in the local keyring. It also permits users to verify
# the developer's work.
#
# To use the eclass, start by packaging the upstream's key
# as sec-keys/openpgp-keys-*. Then inherit the eclass, add detached
# signatures to SRC_URI and set VERIFY_SIG_OPENPGP_KEY_PATH. The eclass
# provides verify-sig USE flag to toggle the verification.
#
# If you need to use signify, you may want to copy distfiles into WORKDIR to
# work around "Too many levels of symbolic links" error.
#
# A more complete guide can be found at:
# https://mgorny.pl/articles/verify-sig-by-example.html