Commit 397ec68
committed
gpg < 2.4 limits path to 180 chars, symlink gpg dir during import
The actual error occurs when the gpg-agent tries to create a unix socket
Per default a gpg-agent is not started for things like --verify, --list
etc. only when needing access to a private key (such as importing one).
Hence, we apply the workaround only for importGpgKey and not in other
cases where --homedir is used
This also means we need to rewrite trustGpgKey as it currently uses
--edit-key which again needs access to the private key => use
--import-ownertrust instead, which again should not use a gpg-agent.1 parent fb42d85 commit 397ec68
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| |||
0 commit comments