diff options
author | James Crayne <jim.crayne@gmail.com> | 2015-06-20 23:36:49 -0400 |
---|---|---|
committer | James Crayne <jim.crayne@gmail.com> | 2015-06-20 23:36:49 -0400 |
commit | 11eeea85f04dc69526c734c513d2ed61cf6dd5ac (patch) | |
tree | acda9f9e8c620585503a8d10ebbf0977170572ac /KeyRing.hs | |
parent | 13f7f0767c4e84a7d6dde44044ddec81e2e00491 (diff) |
Ugly Show instances, for debugging.
Diffstat (limited to 'KeyRing.hs')
-rw-r--r-- | KeyRing.hs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2792,14 +2792,14 @@ type OriginMap = Map.Map FilePath OriginFlags | |||
2792 | data MappedPacket = MappedPacket | 2792 | data MappedPacket = MappedPacket |
2793 | { packet :: Packet | 2793 | { packet :: Packet |
2794 | , locations :: OriginMap | 2794 | , locations :: OriginMap |
2795 | } | 2795 | } deriving Show |
2796 | 2796 | ||
2797 | type TrustMap = Map.Map FilePath Packet | 2797 | type TrustMap = Map.Map FilePath Packet |
2798 | type SigAndTrust = ( MappedPacket | 2798 | type SigAndTrust = ( MappedPacket |
2799 | , TrustMap ) -- trust packets | 2799 | , TrustMap ) -- trust packets |
2800 | 2800 | ||
2801 | type KeyKey = [ByteString] | 2801 | type KeyKey = [ByteString] |
2802 | data SubKey = SubKey MappedPacket [SigAndTrust] | 2802 | data 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 | ||
2812 | type KeyDB = Map.Map KeyKey KeyData | 2812 | type KeyDB = Map.Map KeyKey KeyData |
2813 | 2813 | ||