diff options
-rw-r--r-- | KeyRing.hs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -791,7 +791,7 @@ extractPEM typ pem = dta | |||
791 | 791 | ||
792 | doImport | 792 | doImport |
793 | :: Ord k => | 793 | :: Ord k => |
794 | (Packet -> IO (KikiCondition Packet)) | 794 | (MappedPacket -> IO (KikiCondition Packet)) |
795 | -> Map.Map k KeyData | 795 | -> Map.Map k KeyData |
796 | -> ([Char], Maybe [Char], [k], t) | 796 | -> ([Char], Maybe [Char], [k], t) |
797 | -> IO (KikiCondition (Map.Map k KeyData, [(FilePath,KikiReportAction)])) | 797 | -> IO (KikiCondition (Map.Map k KeyData, [(FilePath,KikiReportAction)])) |
@@ -809,7 +809,7 @@ doImport doDecrypt db (fname,subspec,ms,_) = do | |||
809 | 809 | ||
810 | doImportG | 810 | doImportG |
811 | :: Ord k => | 811 | :: Ord k => |
812 | (Packet -> IO (KikiCondition Packet)) | 812 | (MappedPacket -> IO (KikiCondition Packet)) |
813 | -> Map.Map k KeyData | 813 | -> Map.Map k KeyData |
814 | -> [k] | 814 | -> [k] |
815 | -> [Char] | 815 | -> [Char] |
@@ -845,7 +845,7 @@ doImportG doDecrypt db m0 tag fname key = do | |||
845 | s <- (signatures $ Message (packet top:UserIDPacket idstr:map (packet . fst) sigtrusts)) | 845 | s <- (signatures $ Message (packet top:UserIDPacket idstr:map (packet . fst) sigtrusts)) |
846 | signatures_over $ verify (Message [packet top]) s | 846 | signatures_over $ verify (Message [packet top]) s |
847 | flip (flip maybe $ const $ return $ KikiSuccess (uids,[])) has_torid $ do | 847 | flip (flip maybe $ const $ return $ KikiSuccess (uids,[])) has_torid $ do |
848 | wkun <- doDecrypt (packet top) | 848 | wkun <- doDecrypt top |
849 | 849 | ||
850 | try wkun $ \wkun -> do | 850 | try wkun $ \wkun -> do |
851 | 851 | ||
@@ -1492,7 +1492,7 @@ findTag tag wk subkey subsigs = (xs',minsig,ys') | |||
1492 | 1492 | ||
1493 | makeSig doDecrypt top fname subkey_p tag mbsig = do | 1493 | makeSig doDecrypt top fname subkey_p tag mbsig = do |
1494 | let wk = packet top | 1494 | let wk = packet top |
1495 | wkun <- doDecrypt wk | 1495 | wkun <- doDecrypt top |
1496 | try wkun $ \wkun -> do | 1496 | try wkun $ \wkun -> do |
1497 | let grip = fingerprint wk | 1497 | let grip = fingerprint wk |
1498 | addOrigin new_sig = do | 1498 | addOrigin new_sig = do |