CI to automate build of cargo lockfiles on different Alpine releases for git-annex aports https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/git-annex
Find a file
Joey Hess 2f3c3aa01f glacier, S3: Fix bug that caused embedded creds to not be encypted using the remote's key.
encryptionSetup must be called before setRemoteCredPair. Otherwise,
the RemoteConfig doesn't have the cipher in it, and so no cipher is used to
encrypt the embedded creds.

This is a security fix for non-shared encryption methods!

For encryption=shared, there's no security problem, just an
inconsistentency in whether the embedded creds are encrypted.

This is very important to get right, so used some types to help ensure that
setRemoteCredPair is only run after encryptionSetup. Note that the external
special remote bypasses the type safety, since creds can be set after the
initial remote config, if the external special remote program requests it.
Also note that IA remotes never use encryption, so encryptionSetup is not
run for them at all, and again the type safety is bypassed.

This leaves two open questions:

1. What to do about S3 and glacier remotes that were set up
   using encryption=pubkey/hybrid with embedcreds?
   Such a git repo has a security hole embedded in it, and this needs to be
   communicated to the user. Is the changelog enough?

2. enableremote won't work in such a repo, because git-annex will
   try to decrypt the embedded creds, which are not encrypted, so fails.
   This needs to be dealt with, especially for ecryption=shared repos,
   which are not really broken, just inconsistently configured.

   Noticing that problem for encryption=shared is what led to commit
   fbdeeeed5f, which tried to
   fix the problem by not decrypting the embedded creds.

This commit was sponsored by Josh Taylor.
2014-09-18 17:26:12 -04:00
Annex Fix transfer lock file FD leak that could occur when two separate git-annex processes were both working to perform the same set of transfers. 2014-09-11 13:53:26 -04:00
Assistant clean up now unused imports 2014-09-16 13:37:50 -04:00
Backend WORM backend: Switched to include the relative path to the file inside the repository, rather than just the file's base name. Note that if you're relying on such things to keep files separate with WORM, you should really be using a better backend. 2014-09-11 14:50:18 -04:00
Build
CmdLine Promote file not found warning message to an error. 2014-09-11 13:36:28 -04:00
Command add: In direct mode, adding an annex symlink will check it into git, as was already done in indirect mode. 2014-09-18 14:24:47 -04:00
Common
Config
debian glacier, S3: Fix bug that caused embedded creds to not be encypted using the remote's key. 2014-09-18 17:26:12 -04:00
doc glacier, S3: Fix bug that caused embedded creds to not be encypted using the remote's key. 2014-09-18 17:26:12 -04:00
Git Fix parsing of ipv6 address in git remote address when it was not formatted as an url. 2014-09-10 14:17:02 -04:00
Limit
Logs
Messages
Remote glacier, S3: Fix bug that caused embedded creds to not be encypted using the remote's key. 2014-09-18 17:26:12 -04:00
RemoteDaemon
standalone update for yesod-form-1.3.15.4 2014-09-12 22:35:36 -04:00
static
templates
Types Promote file not found warning message to an error. 2014-09-11 13:36:28 -04:00
Upgrade
Utility Windows: Avoid crashing trying to list gpg secret keys, for gcrypt which is not yet supported on Windows. 2014-09-16 13:40:44 -04:00
.ghci
.gitattributes
.gitignore
.mailmap
Annex.hs
Assistant.hs
Backend.hs
build.bat
BuildFlags.hs
CHANGELOG
Checks.hs
CmdLine.hs
Command.hs
Common.hs
Config.hs
configure.hs
COPYRIGHT
Creds.hs glacier, S3: Fix bug that caused embedded creds to not be encypted using the remote's key. 2014-09-18 17:26:12 -04:00
Crypto.hs
ghci
git-annex.cabal fix display of git-annex test command name in usage 2014-09-17 13:46:01 -04:00
git-annex.hs
git-union-merge.hs
Git.hs
INSTALL
Limit.hs
Locations.hs
Logs.hs
Makefile
Messages.hs Promote file not found warning message to an error. 2014-09-11 13:36:28 -04:00
NEWS
README
Remote.hs
Setup.hs
Test.hs fix display of git-annex test command name in usage 2014-09-17 13:46:01 -04:00
Types.hs
Upgrade.hs

git-annex allows managing files with git, without checking the file
contents into git. While that may seem paradoxical, it is useful when
dealing with files larger than git can currently easily handle, whether due
to limitations in memory, checksumming time, or disk space.

For documentation, see doc/ or <http://git-annex.branchable.com/>