git-annex/Command
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
..
Add.hs add, import, assistant: Better preserve the mtime of symlinks, when when adding content that gets deduplicated. 2013-09-25 16:07:11 -04:00
AddUnused.hs add, import, assistant: Better preserve the mtime of symlinks, when when adding content that gets deduplicated. 2013-09-25 16:07:11 -04:00
AddUrl.hs Send a git-annex user-agent when downloading urls. 2013-09-28 14:35:21 -04:00
Assistant.hs check in configure if ionice -c3 works 2013-06-21 13:43:04 -04:00
Commit.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
ConfigList.hs git-annex-shell: Added support for operating inside gcrypt repositories. 2013-09-24 17:25:47 -04:00
Content.hs content: New command line way to view and configure a repository's preferred content settings. 2013-05-25 12:44:58 -04:00
Copy.hs mirror: New command, makes two repositories contain the same set of files. 2013-08-20 15:46:35 -04:00
Dead.hs make dead output consistent with other trust setting commands 2013-06-18 15:41:19 -04:00
Describe.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
Direct.hs direct, indirect: Refuse to do anything when the assistant or git-annex watch daemon is running. 2013-04-22 16:41:46 -04:00
Drop.hs drop --auto: Fix bug that prevented dropping files from untrusted repositories. 2013-04-01 15:20:42 -04:00
DropKey.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
DropUnused.hs dropunused behavior change: Now refuses to drop the last copy of a file, unless you use the --force. 2013-07-25 19:50:44 -04:00
EnableRemote.hs hlint 2013-09-25 03:09:06 -04:00
Find.hs find: Avoid polluting stdout with progress messages. Closes: #718186 2013-07-30 20:24:27 -04:00
Fix.hs fix: Preserve the original mtime of fixed symlinks. 2013-07-11 11:39:42 -04:00
Forget.hs avoid double commit during transition 2013-09-03 16:33:15 -04:00
FromKey.hs fix permission damage (thanks, Windows) 2013-05-11 23:54:25 -04:00
Fsck.hs hlint 2013-09-25 03:09:06 -04:00
FuzzTest.hs reduce the amount of subdirectories created by the fuzz tester to saner limit 2013-05-26 16:15:25 -04:00
Get.hs hlint 2013-09-25 03:09:06 -04:00
Group.hs content: New command line way to view and configure a repository's preferred content settings. 2013-05-25 12:44:58 -04:00
Help.hs change section 2013-04-20 20:24:57 -04:00
Import.hs implement import --deduplicate and import --clean-duplicates 2013-08-20 11:00:52 -04:00
ImportFeed.hs Send a git-annex user-agent when downloading urls. 2013-09-28 14:35:21 -04:00
InAnnex.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
Indirect.hs indirect: Better behavior when a file in direct mode is not owned by the user running the conversion. 2013-09-25 15:29:56 -04:00
Init.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
InitRemote.hs partially complete gcrypt remote (local send done; rest not) 2013-09-07 18:38:00 -04:00
List.hs enabling rsync.net gcrypt repos 2013-09-26 23:47:30 -04:00
Lock.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
Log.hs refactor git-annex branch log filename code into central location 2013-08-29 19:13:00 -04:00
Map.hs factor out more ssh stuff from git remote 2013-09-24 13:37:41 -04:00
Merge.hs sync: Don't fail if the directory it is run in gets removed by the sync. 2013-09-13 14:55:55 -04:00
Migrate.hs migrate: Detect if a file gets corrupted while it's being migrated. 2013-05-13 14:27:39 -04:00
Mirror.hs mirror: New command, makes two repositories contain the same set of files. 2013-08-20 15:46:35 -04:00
Move.hs hlint 2013-09-25 03:09:06 -04:00
PreCommit.hs hlint 2013-09-25 03:09:06 -04:00
RecvKey.hs fix transferring to gcrypt repo from direct mode repo 2013-10-01 14:19:24 -04:00
Reinject.hs hlint 2013-09-25 03:09:06 -04:00
ReKey.hs add, import, assistant: Better preserve the mtime of symlinks, when when adding content that gets deduplicated. 2013-09-25 16:07:11 -04:00
RmUrl.hs rmurl: New command, removes one of the recorded urls for a file. 2013-04-22 17:18:53 -04:00
Semitrust.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
SendKey.hs hlint 2013-09-25 03:09:06 -04:00
Status.hs hlint 2013-09-25 03:09:06 -04:00
Sync.hs hlint 2013-09-25 03:09:06 -04:00
Test.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
TransferInfo.hs hlint 2013-09-25 03:09:06 -04:00
TransferKey.hs mirror: New command, makes two repositories contain the same set of files. 2013-08-20 15:46:35 -04:00
TransferKeys.hs hlint 2013-09-25 03:09:06 -04:00
Trust.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
Unannex.hs hlint 2013-09-25 03:09:06 -04:00
Ungroup.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
Uninit.hs Support unannex and uninit in direct mode. 2013-07-22 17:28:53 -04:00
Unlock.hs Use lower case hash directories for storing files on crippled filesystems, same as is already done for bare repositories. 2013-04-04 15:46:33 -04:00
Untrust.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
Unused.hs remove *>=> and >=*> ; use <$$> instead 2013-09-27 19:58:48 -04:00
Upgrade.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
Version.hs include build flags in version info when not in a repo 2013-05-01 23:11:13 -04:00
Vicfg.hs hlint 2013-09-25 03:09:06 -04:00
Watch.hs webapp: New --listen= option allows running the webapp on one computer and connecting to it from another. 2013-04-08 15:04:35 -04:00
WebApp.hs hlint 2013-09-25 03:09:06 -04:00
Whereis.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00
XMPPGit.hs add section metadata to all commands 2013-03-24 18:28:21 -04:00