diff options
author | Joey Hess <joey@kitenet.net> | 2014-09-18 17:58:03 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-09-18 17:58:03 -0400 |
commit | 2df9a6f1c9eff911cf27ab788cb28c78f6d20535 (patch) | |
tree | 0734065e2c55cea4620facea921da2001956640e /doc/android | |
parent | 2fb7ad68637cc4e1092f835055a974f141808ca0 (diff) |
deal with old repositories with non-encrypted creds
See 2fb7ad68637cc4e1092f835055a974f141808ca0 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.
Diffstat (limited to 'doc/android')
0 files changed, 0 insertions, 0 deletions