summaryrefslogtreecommitdiff
path: root/Remote/Bup.hs
diff options
context:
space:
mode:
authorGravatar guilhem <guilhem@fripost.org>2013-03-11 02:33:13 +0100
committerGravatar Joey Hess <joey@kitenet.net>2013-03-11 09:48:38 -0400
commit7fa1e498de9cbb84b23f90b17c66d755292ae716 (patch)
treedc1f5127473d3450b138b4aedfe43a5248d42939 /Remote/Bup.hs
parentf2292dc3b494dbed517a48ab2876594f5ace0179 (diff)
GnuPG options for symmetric encryption.
Diffstat (limited to 'Remote/Bup.hs')
-rw-r--r--Remote/Bup.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/Bup.hs b/Remote/Bup.hs
index f81751f82..a598e5599 100644
--- a/Remote/Bup.hs
+++ b/Remote/Bup.hs
@@ -130,7 +130,7 @@ storeEncrypted r buprepo (cipher, enck) k _p =
sendAnnex k (rollback enck buprepo) $ \src -> do
params <- bupSplitParams r buprepo enck []
liftIO $ catchBoolIO $
- encrypt cipher (feedFile src) $ \h ->
+ encrypt (getGpgOpts r) cipher (feedFile src) $ \h ->
pipeBup params (Just h) Nothing
retrieve :: BupRepo -> Key -> AssociatedFile -> FilePath -> Annex Bool