git-annex/Remote/Helper
Joey Hess 995e1e3c5d fix transferring to gcrypt repo from direct mode repo
recvkey was told it was receiving a HMAC key from a direct mode repo,
and that confused it into rejecting the transfer, since it has no way to
verify a key using that backend, since there is no HMAC backend.

I considered making recvkey skip verification in the case of an unknown
backend. However, that could lead to bad results; a key can legitimately be
in the annex with a backend that the remote git-annex-shell doesn't know
about. Better to keep it rejecting if it cannot verify.

Instead, made the gcrypt special remote not set the direct mode flag when
sending (and receiving) files.

Also, added some recvkey messages when its checks fail, since otherwise
all that is shown is a confusing error message from rsync when the remote
git-annex-shell exits nonzero.
2013-10-01 14:19:24 -04:00
..
AWS.hs
Chunked.hs hlint 2013-09-25 23:19:01 -04:00
Encryptable.hs rename constructor for clariy 2013-09-05 11:12:01 -04:00
Git.hs partially complete gcrypt remote (local send done; rest not) 2013-09-07 18:38:00 -04:00
Hooks.hs hlint 2013-09-25 23:19:01 -04:00
Messages.hs factor out more ssh stuff from git remote 2013-09-24 13:37:41 -04:00
Special.hs git subcommand cleanup 2013-03-03 13:39:07 -04:00
Ssh.hs fix transferring to gcrypt repo from direct mode repo 2013-10-01 14:19:24 -04:00