diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-12-05 13:58:53 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-12-05 13:58:53 -0400 |
commit | e6a9043dfe2ca5b82081f056cdfff4ed5fdfec93 (patch) | |
tree | f79fb62580f04bce35788e32985e3e5795926cf0 /doc/bugs | |
parent | b928dc64041b7e3e19f7f8787cc1e38fb5b465ed (diff) |
fix gpg subkey support typo
initremote, enableremote: Really support gpg subkeys suffixed with an
exclamation mark, which forces gpg to use a specific subkey. (Previous try
had a bug.)
This commit was sponsored by Jake Vosloo on Patreon.
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/GPG_subkeys.mdwn | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/bugs/GPG_subkeys.mdwn b/doc/bugs/GPG_subkeys.mdwn index d3eedf4b9..917ec9002 100644 --- a/doc/bugs/GPG_subkeys.mdwn +++ b/doc/bugs/GPG_subkeys.mdwn @@ -28,3 +28,20 @@ OS X 10.10.5 ### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) I love git annex. Thank you for your work on it. +> Yeah, so I had that working before but then I tightened the +> code to determine what is a forced subkey and broke it. +> +> [Fixed now; use a "!" at the _end_ to force subkey use: + + joey@darkstar:~/tmp/a>git annex initremote testing type=directory directory=../d encryption=hybrid keyid='A4FEC0B5F031BA70!' + initremote testing (encryption setup) gpg: A4FEC0B5F031BA70!: skipped: Unusable public key + gpg: [stdin]: encryption failed: Unusable public key + +> It failed to use that subkey because it is a sign-only key, +> and git-annex needs to encrypt, but that certainly shows I got +> git-annex to use the subkey.. +> +> I made an encrypt-only subkey, and git-annex is able to use it, +> and it fully works as far as I can tell. +> +> [[done]] --[[Joey]] |