git-annex/Remote
Joey Hess 0ed33c8b74 deal with old repositories with non-encrypted creds
See 2f3c3aa01f for backstory about how a repo
could be in this state.

When decryption fails, the repo must be using non-encrypted creds. Note
that creds are encrypted/decrypted using the encryption cipher which is
stored in the repo, so the decryption cannot fail due to missing gpg keys
etc. (For !shared encryptiom, the cipher is iteself encrypted using some
gpg key(s), and the decryption of the cipher happens earlier, so not
affected by this change.

Print a warning message for !shared repos, and continue on using the
cipher. Wrote a page explaining what users hit by this bug should do.

This commit was sponsored by Samuel Tardieu.
2014-09-18 17:58:03 -04:00
..
Directory pushed checkPresent exception handling out of Remote implementations 2014-08-06 13:45:19 -04:00
External unify exception handling into Utility.Exception 2014-08-07 22:03:29 -04:00
Helper deal with old repositories with non-encrypted creds 2014-09-18 17:58:03 -04:00
Rsync rsync special remote: Fix slashes when used on Windows. 2014-03-18 13:02:10 -04:00
WebDAV WebDAV: Avoid buffering whole file in memory when downloading. 2014-08-08 13:40:55 -04:00
Bup.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
Ddar.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
Directory.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
External.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
GCrypt.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
Git.hs New annex.hardlink setting. Closes: #758593 2014-09-05 13:44:09 -04:00
Glacier.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
Hook.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
List.hs factor out getRemoteGitConfig 2014-05-16 16:08:20 -04:00
Rsync.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
S3.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
Tahoe.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
Web.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
WebDAV.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