For example on Qubes OS one might want to use qubes-gpg-client-wrapper instead
guix: make it possible to override gpg binary #24552
pull prusnak wants to merge 1 commits into bitcoin:master from prusnak:guix-attest-override-gpg changing 1 files +15 −7-
prusnak commented at 7:03 pm on March 13, 2022: contributor
-
prusnak force-pushed on Mar 13, 2022
-
DrahtBot added the label Build system on Mar 13, 2022
-
DrahtBot added the label Scripts and tools on Mar 13, 2022
-
JeremyRand commented at 6:45 am on March 14, 2022: contributorConcept ACK. Regarding the lint failure about not quoting the new variable, I am unsure whether this lint failure is actually a problem. It seems to me that some users may wish to pass extra arguments to whatever executable is used in place of
gpg
; quoting the variable would prevent this use case. Thoughts? -
prusnak commented at 9:18 am on March 14, 2022: contributor
It seems to me that some users may wish to pass extra arguments to whatever executable is used in place of
gpg
; quoting the variable would prevent this use case.If we want to enable passing the extra arguments, we’d need to do the following change, so the
check_tools
correctly extracts the binary name and checks against that.0- check_tools ${GPG} 1+ GPG_ARRAY=($GPG) 2+ check_tools "${GPG_ARRAY[0]}"
If we want to disable passing the extra arguments, it’s enough to just quote the variable usage, right.
I will wait for resolution which way we want to go and then I’ll update the PR.
-
JeremyRand commented at 10:52 am on March 14, 2022: contributorI have a weak preference for allowing extra arguments, but I do not have any immediate need for it myself, so will defer if anyone else has a good reason not to.
-
prusnak force-pushed on Mar 14, 2022
-
prusnak commented at 1:54 pm on March 14, 2022: contributor
I have a weak preference for allowing extra arguments
Applied the improvement from #24552 (comment) in e368c03e6eee2d25f4db6af606108a9dc1ca4963
If there is a consensus we do not want
$GPG
to contain extra arguments, I will gladly rework the PR -
prusnak force-pushed on Mar 14, 2022
-
theStack commented at 12:51 pm on March 15, 2022: memberConcept ACK
-
guix: make it possible to override gpg binary
For example on Qubes OS one might want to use qubes-gpg-client-wrapper instead
-
prusnak force-pushed on Mar 15, 2022
-
laanwj commented at 11:21 am on April 4, 2022: member
Concept and code review ACK af74e061c052fa8b260ee71bf048fe22028962ae
I think passing extra arguments to gpg is a valid usecase. Though, as of course always with shell nonsense, this interferes with using spaces in filenames. But that’s probably not too common (sigh)…
-
laanwj merged this on Apr 6, 2022
-
laanwj closed this on Apr 6, 2022
-
prusnak deleted the branch on Apr 6, 2022
-
sidhujag referenced this in commit 7b911b20b1 on Apr 6, 2022
-
dekm referenced this in commit 9481d49f4a on Oct 27, 2022
-
DrahtBot locked this on Apr 6, 2023
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-21 15:12 UTC
More mirrored repositories can be found on mirror.b10c.me