diff options
author | joe <joe@jerkface.net> | 2015-06-23 12:55:43 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2015-06-23 12:55:43 -0400 |
commit | 4525b9f9a90f87fb17174ba594abbcff3df0a5d6 (patch) | |
tree | 1274a9981d82abaf5b490b33550871cf039fe07f /KeyRing.hs | |
parent | 29ac6350e08bad1c41a73965a12a06cd5e985641 (diff) |
Implemented command to delete subkeys
Diffstat (limited to 'KeyRing.hs')
-rw-r--r-- | KeyRing.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -626,7 +626,7 @@ data KikiReportAction = | |||
626 | | UnableToExport KeyAlgorithm String | 626 | | UnableToExport KeyAlgorithm String |
627 | | FailedFileWrite | 627 | | FailedFileWrite |
628 | | HostsDiff ByteString | 628 | | HostsDiff ByteString |
629 | | DeletedPacket Packet | 629 | | DeletedPacket String |
630 | deriving Show | 630 | deriving Show |
631 | 631 | ||
632 | uncamel :: String -> String | 632 | uncamel :: String -> String |
@@ -2147,7 +2147,7 @@ performManipulations doDecrypt rt wk manip = do | |||
2147 | return $ packet mp : concatMap (\(p,ts) -> packet p : Map.elems ts) sigs | 2147 | return $ packet mp : concatMap (\(p,ts) -> packet p : Map.elems ts) sigs |
2148 | ctx = InputFileContext (rtSecring rt) (rtPubring rt) | 2148 | ctx = InputFileContext (rtSecring rt) (rtPubring rt) |
2149 | rings = [HomeSec, HomePub] >>= resolveInputFile ctx | 2149 | rings = [HomeSec, HomePub] >>= resolveInputFile ctx |
2150 | return $ KikiSuccess (kd' , report ++ [ (f,DeletedPacket p) | f <- rings, p <- ps ]) | 2150 | return $ KikiSuccess (kd' , report ++ [ (f,DeletedPacket $ showPacket p) | f <- rings, p <- ps ]) |
2151 | 2151 | ||
2152 | initializeMissingPEMFiles :: | 2152 | initializeMissingPEMFiles :: |
2153 | KeyRingOperation | 2153 | KeyRingOperation |