-
Notifications
You must be signed in to change notification settings - Fork 37.7k
guix: make it possible to override gpg binary #24552
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
Conversation
4380bcc
to
a6865b8
Compare
Concept 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 |
If we want to enable passing the extra arguments, we'd need to do the following change, so the - check_tools ${GPG}
+ GPG_ARRAY=($GPG)
+ 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. |
I 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. |
a6865b8
to
60aa72f
Compare
Applied the improvement from #24552 (comment) in e368c03 If there is a consensus we do not want |
60aa72f
to
e368c03
Compare
Concept ACK |
For example on Qubes OS one might want to use qubes-gpg-client-wrapper instead
e368c03
to
af74e06
Compare
Concept and code review ACK af74e06 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)… |
af74e06 guix: make it possible to override gpg binary (Pavol Rusnak) Pull request description: For example on Qubes OS one might want to use qubes-gpg-client-wrapper instead Fixes bitcoin#24346 ACKs for top commit: laanwj: Concept and code review ACK af74e06 Tree-SHA512: 9e56b5fab231f8908fff15c88fe5b356ac4a31a14a27ae2dd3b6e876f32628910a666a4e2da5bf7c5d159de66cf57652c94c81cdc3b1c3d39a23c23e2c77dd03
af74e06 guix: make it possible to override gpg binary (Pavol Rusnak) Pull request description: For example on Qubes OS one might want to use qubes-gpg-client-wrapper instead Fixes bitcoin#24346 ACKs for top commit: laanwj: Concept and code review ACK af74e06 Tree-SHA512: 9e56b5fab231f8908fff15c88fe5b356ac4a31a14a27ae2dd3b6e876f32628910a666a4e2da5bf7c5d159de66cf57652c94c81cdc3b1c3d39a23c23e2c77dd03
For example on Qubes OS one might want to use qubes-gpg-client-wrapper instead
Fixes #24346