git-annex/Remote
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
..
Helper fix transferring to gcrypt repo from direct mode repo 2013-10-01 14:19:24 -04:00
Bup.hs factor out more ssh stuff from git remote 2013-09-24 13:37:41 -04:00
Directory.hs hlint 2013-09-25 23:19:01 -04:00
GCrypt.hs fix transferring to gcrypt repo from direct mode repo 2013-10-01 14:19:24 -04:00
Git.hs fix transferring to gcrypt repo from direct mode repo 2013-10-01 14:19:24 -04:00
Glacier.hs hlint 2013-09-25 23:19:01 -04:00
Hook.hs hlint 2013-09-25 23:19:01 -04:00
List.hs hlint 2013-09-25 23:19:01 -04:00
Rsync.hs hlint 2013-09-25 23:19:01 -04:00
S3.hs Support hot-swapping of removable drives containing gcrypt repositories. 2013-09-12 15:54:35 -04:00
Web.hs Send a git-annex user-agent when downloading urls. 2013-09-28 14:35:21 -04:00
WebDAV.hs hlint 2013-09-25 23:19:01 -04:00