diff options
Diffstat (limited to 'Remote')
-rw-r--r-- | Remote/Helper/Encryptable.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Remote/Helper/Encryptable.hs b/Remote/Helper/Encryptable.hs index b19d7dcd9..05c3e38a5 100644 --- a/Remote/Helper/Encryptable.hs +++ b/Remote/Helper/Encryptable.hs @@ -63,8 +63,8 @@ encryptionSetup c gc = do -- hybrid encryption is the default when a keyid is -- specified but no encryption _ | maybe (M.member "keyid" c) (== "hybrid") encryption -> - encsetup $ genEncryptedCipher cmd key Hybrid - Just "pubkey" -> encsetup $ genEncryptedCipher cmd key PubKey + encsetup $ genEncryptedCipher cmd (c, gc) key Hybrid + Just "pubkey" -> encsetup $ genEncryptedCipher cmd (c, gc) key PubKey Just "sharedpubkey" -> encsetup $ genSharedPubKeyCipher cmd key _ -> error $ "Specify " ++ intercalate " or " (map ("encryption=" ++) |