This commit is contained in:
Joey Hess 2019-08-04 13:59:24 -04:00
parent 8460bbcea9
commit f5eb28682a
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 17 additions and 0 deletions

View file

@ -107,6 +107,11 @@ mySetup _ mu _ c gc = do
let repo = fromMaybe (giveup "Specify url=") $
M.lookup "url" c
-- TODO: don't allow using encryption w/o the user indicating they
-- know it will only encrypt git-annex objects, not git pushes
-- TODO: don't allow using encryption=shared w/o the user
-- indicating that pushing to the git-lfs remote will expose the
-- encrypted data.
(c', _encsetup) <- encryptionSetup c gc
-- The repo is not stored in the remote log, because the same