summaryrefslogtreecommitdiff
path: root/KeyRing.hs
diff options
context:
space:
mode:
authorJames Crayne <jim.crayne@gmail.com>2015-06-20 23:36:49 -0400
committerJames Crayne <jim.crayne@gmail.com>2015-06-20 23:36:49 -0400
commit11eeea85f04dc69526c734c513d2ed61cf6dd5ac (patch)
treeacda9f9e8c620585503a8d10ebbf0977170572ac /KeyRing.hs
parent13f7f0767c4e84a7d6dde44044ddec81e2e00491 (diff)
Ugly Show instances, for debugging.
Diffstat (limited to 'KeyRing.hs')
-rw-r--r--KeyRing.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/KeyRing.hs b/KeyRing.hs
index ae602a5..2571c55 100644
--- a/KeyRing.hs
+++ b/KeyRing.hs
@@ -2792,14 +2792,14 @@ type OriginMap = Map.Map FilePath OriginFlags
2792data MappedPacket = MappedPacket 2792data MappedPacket = MappedPacket
2793 { packet :: Packet 2793 { packet :: Packet
2794 , locations :: OriginMap 2794 , locations :: OriginMap
2795 } 2795 } deriving Show
2796 2796
2797type TrustMap = Map.Map FilePath Packet 2797type TrustMap = Map.Map FilePath Packet
2798type SigAndTrust = ( MappedPacket 2798type SigAndTrust = ( MappedPacket
2799 , TrustMap ) -- trust packets 2799 , TrustMap ) -- trust packets
2800 2800
2801type KeyKey = [ByteString] 2801type KeyKey = [ByteString]
2802data SubKey = SubKey MappedPacket [SigAndTrust] 2802data SubKey = SubKey MappedPacket [SigAndTrust] deriving Show
2803 2803
2804-- | This is a GPG Identity which includes a master key and all its UIDs and 2804-- | This is a GPG Identity which includes a master key and all its UIDs and
2805-- subkeys and associated signatures. 2805-- subkeys and associated signatures.
@@ -2807,7 +2807,7 @@ data KeyData = KeyData { keyMappedPacket :: MappedPacket -- main key
2807 , keySigAndTrusts :: [SigAndTrust] -- sigs on main key 2807 , keySigAndTrusts :: [SigAndTrust] -- sigs on main key
2808 , keyUids :: (Map.Map String ([SigAndTrust],OriginMap)) -- uids 2808 , keyUids :: (Map.Map String ([SigAndTrust],OriginMap)) -- uids
2809 , keySubKeys :: (Map.Map KeyKey SubKey) -- subkeys 2809 , keySubKeys :: (Map.Map KeyKey SubKey) -- subkeys
2810 } 2810 } deriving Show
2811 2811
2812type KeyDB = Map.Map KeyKey KeyData 2812type KeyDB = Map.Map KeyKey KeyData
2813 2813