diff options
author | guilhem <guilhem@fripost.org> | 2013-03-11 02:33:13 +0100 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-03-11 09:48:38 -0400 |
commit | 7fa1e498de9cbb84b23f90b17c66d755292ae716 (patch) | |
tree | dc1f5127473d3450b138b4aedfe43a5248d42939 /Remote/S3.hs | |
parent | f2292dc3b494dbed517a48ab2876594f5ace0179 (diff) |
GnuPG options for symmetric encryption.
Diffstat (limited to 'Remote/S3.hs')
-rw-r--r-- | Remote/S3.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/S3.hs b/Remote/S3.hs index 1d24c4938..164e384f5 100644 --- a/Remote/S3.hs +++ b/Remote/S3.hs @@ -122,7 +122,7 @@ storeEncrypted r (cipher, enck) k p = s3Action r False $ \(conn, bucket) -> -- To get file size of the encrypted content, have to use a temp file. -- (An alternative would be chunking to to a constant size.) withTmp enck $ \tmp -> sendAnnex k (void $ remove r enck) $ \src -> do - liftIO $ encrypt cipher (feedFile src) $ + liftIO $ encrypt (getGpgOpts r) cipher (feedFile src) $ readBytes $ L.writeFile tmp res <- storeHelper (conn, bucket) r enck p tmp s3Bool res |