diff options
author | Joey Hess <joey@kitenet.net> | 2014-02-06 18:25:31 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-02-06 18:25:31 -0400 |
commit | 1f76551dce12e7209422ee65980315bb60eb771a (patch) | |
tree | 3e5a64062498594b00fb68711edbc49f1acd47b2 /Creds.hs | |
parent | a1e76e7fdcfcd17a690bd49e4a29f88ca83e82b1 (diff) |
Fix initremote with encryption=pubkey to work with S3, glacier, webdav, and external special remotes.
Diffstat (limited to 'Creds.hs')
-rw-r--r-- | Creds.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ setRemoteCredPair' c storage creds return c storeconfig key (Just cipher) = do - s <- liftIO $ encrypt [] cipher + s <- liftIO $ encrypt (getGpgEncParams c) cipher (feedBytes $ L.pack $ encodeCredPair creds) (readBytes $ return . L.unpack) return $ M.insert key (toB64 s) c |