I tried

git annex initremote encsharedtest type=directory encryption=shared directory=/home/lee/gitannexplay

and got errors:

initremote encsharedtest gpg: error reading key: public key not found

Looks like it thinks "shared" should be the name of a key rather than an instruction to use the shared cipher. Am I doing something wrong?

That's the right syntax, and it works when I try it, even if I move my ~/.gnupg directory away.

You sure you have a new enough git-annex for the shared cipher feature? It appeared in version 3.20120430

You could try passing the --debug option to see what it's trying to do with gpg when it fails.

Comment by http://joeyh.name/ Tue Oct 23 19:51:03 2012
That's the problem, then. I have 3.20120406. For my purposes a gpg key with no passphrase works, though. Thanks.
Comments on this page are closed.