Removed bundled gpg from the Linux standalone build and OSX dmg
Because gpg now always wants to use gpg-agent, and shipping such a daemon in those is not a good idea.
This commit is contained in:
parent
c96e623343
commit
258e8f8f29
4 changed files with 35 additions and 8 deletions
|
@ -2,3 +2,4 @@ In the sandbox environment used by git-annex standalone, the gpg binary exists,
|
|||
|
||||
If I want to use my own gpg version (compatible with my own gpg-agent), is it safe to just delete all files named 'gpg' from the git-annex.linux directory?
|
||||
|
||||
> [[fixed|done]] --[[Joey]]
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 3"""
|
||||
date="2019-03-18T20:03:29Z"
|
||||
content="""
|
||||
If I move gpg-agent out of path and presumably reproduce the problem,
|
||||
I get this output from the test suite:
|
||||
|
||||
crypto: gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory
|
||||
gpg: can't connect to the agent: No such file or directory
|
||||
gpg: error getting the KEK: No agent running
|
||||
FAIL
|
||||
Exception: user error (gpg ["--batch","--no-tty","--use-agent","--quiet","--trust-model","always","--import","-q"] exited 2)
|
||||
|
||||
Which is the kind of information I was asking for.
|
||||
|
||||
[[!commit aee9adbadc2f17c5b5394fc2fde6c57c26917024]] has some relevant info.
|
||||
I tried making git-annex not pass --use-agent, but it still tries
|
||||
to use the agent:
|
||||
|
||||
crypto: gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory
|
||||
gpg: can't connect to the agent: No such file or directory
|
||||
gpg: error getting the KEK: No agent running
|
||||
FAIL
|
||||
Exception: user error (gpg ["--quiet","--trust-model","always","--import","-q"] exited 2)
|
||||
preferred content: wanted . ok
|
||||
|
||||
I guess the easist thing would be to drop gpg fraom the standalone bundle.
|
||||
Including gpg-agent in there seems like a bad idea; it's a daemon that
|
||||
other gpg versions than the bundled one might try to talk to.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue