summaryrefslogtreecommitdiffhomepage
path: root/BackupRecord.hs
Commit message (Collapse)AuthorAge
* copy in Utility.UserInfo from git-annexJoey Hess2016-09-22
| | | | | This is worth doing to support falling back to HOME on systems using LDAP or NIS where getpwent fails.
* allow servers to have multiple or no addressesJoey Hess2016-09-22
| | | | | | | | | | | | | This allows the server list to contain 3 servers although only 1 is running so far; uploads to the others will be queued. It also allows a server to be spread amoung multiple addresses, which may be useful later for scaling. This changes BackupRecord serialization, but it's not been in a keysafe release yet, so that's not a problem. This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
* Change format of ~/.keysafe/backup.logJoey Hess2016-09-15
| | | | | | | Allow deserializing SecretKeySource so we can later know what gpg keys are backed up. Converted KeyId to Text as JSON can't handle ByteString.
* Store information about backed up keys in ~/.keysafe/backup.logJoey Hess2016-09-14
This can be deleted by the user at any time, but it's useful in case a server is known to be compromised, or a problem is found with keysafe's implementation that makes a backup insecure. This commit was sponsored by Nick Daly on Patreon.