diff options
author | Joey Hess <joey@kitenet.net> | 2013-03-12 05:05:33 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-03-12 05:05:33 -0400 |
commit | b7e2169d6d93440e2d50581d2a373db121e9b34c (patch) | |
tree | 3873ebad3515d21334e8a8521fb0011bebc1a59b /Crypto.hs | |
parent | 09aefea8f1853be512729657324aae7a7c03d421 (diff) |
linelength
Diffstat (limited to 'Crypto.hs')
-rw-r--r-- | Crypto.hs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -95,7 +95,8 @@ describeCipher (EncryptedCipher _ (KeyIds ks)) = {- Encrypts a Cipher to the specified KeyIds. -} encryptCipher :: Cipher -> KeyIds -> IO StorableCipher encryptCipher (Cipher c) (KeyIds ks) = do - let ks' = nub $ sort ks -- gpg complains about duplicate recipient keyids + -- gpg complains about duplicate recipient keyids + let ks' = nub $ sort ks encipher <- Gpg.pipeStrict ([ Params "--encrypt" ] ++ recipients ks') c return $ EncryptedCipher encipher (KeyIds ks') where |