diff options
author | joe <joe@jerkface.net> | 2014-05-04 19:35:35 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2014-05-04 19:35:35 -0400 |
commit | ace2d142a6824a1d73ebf8b602c495d8b91524fc (patch) | |
tree | 8351d232005b1a0abf73126afb5639374544f70b | |
parent | 8ce5dba16886a1b19f5254e8d62810c303215387 (diff) |
removed deprecated kManip field.
-rw-r--r-- | KeyRing.hs | 6 | ||||
-rw-r--r-- | kiki.hs | 2 |
2 files changed, 2 insertions, 6 deletions
@@ -366,8 +366,6 @@ data KeyRingOperation = KeyRingOperation | |||
366 | , opTransforms :: [Transform] | 366 | , opTransforms :: [Transform] |
367 | -- ^ Transformations to be performed on the key pool after all files have | 367 | -- ^ Transformations to be performed on the key pool after all files have |
368 | -- been read and before any have been written. | 368 | -- been read and before any have been written. |
369 | , kManip :: KeyRingRuntime -> KeyData -> [PacketUpdate]--[KeyRingAddress PacketUpdate] | ||
370 | -- ^ This is deprecated in favor of opTransforms (TODO: remove it) | ||
371 | , opHome :: Maybe FilePath | 369 | , opHome :: Maybe FilePath |
372 | -- ^ If provided, this is the directory where the 'HomeSec' and 'HomePub' | 370 | -- ^ If provided, this is the directory where the 'HomeSec' and 'HomePub' |
373 | -- files reside. Otherwise, the evironment variable $GNUPGHOME is consulted | 371 | -- files reside. Otherwise, the evironment variable $GNUPGHOME is consulted |
@@ -1973,8 +1971,8 @@ interpretManip kd manip = return kd | |||
1973 | combineTransforms :: KeyRingOperation -> KeyRingRuntime -> KeyData -> [PacketUpdate] | 1971 | combineTransforms :: KeyRingOperation -> KeyRingRuntime -> KeyData -> [PacketUpdate] |
1974 | combineTransforms operation rt kd = updates | 1972 | combineTransforms operation rt kd = updates |
1975 | where | 1973 | where |
1976 | updates = kManip operation rt kd | 1974 | updates = -- kManip operation rt kd ++ |
1977 | ++ concatMap (\t -> resolveTransform t rt kd) sanitized | 1975 | concatMap (\t -> resolveTransform t rt kd) sanitized |
1978 | sanitized = group (sort (opTransforms operation)) >>= take 1 | 1976 | sanitized = group (sort (opTransforms operation)) >>= take 1 |
1979 | 1977 | ||
1980 | isSubkeySignature (SubkeySignature {}) = True | 1978 | isSubkeySignature (SubkeySignature {}) = True |
@@ -738,7 +738,6 @@ sync bExport bImport bSecret cmdarg args_raw = do | |||
738 | , opPassphrases = do pfile <- maybeToList passfd | 738 | , opPassphrases = do pfile <- maybeToList passfd |
739 | return $ PassphraseSpec Nothing Nothing pfile | 739 | return $ PassphraseSpec Nothing Nothing pfile |
740 | , opTransforms = maybe [] (const [Autosign]) $ Map.lookup "--autosign" margs | 740 | , opTransforms = maybe [] (const [Autosign]) $ Map.lookup "--autosign" margs |
741 | , kManip = noManip | ||
742 | , opHome = homespec | 741 | , opHome = homespec |
743 | } | 742 | } |
744 | 743 | ||
@@ -844,7 +843,6 @@ kiki "show" args = do | |||
844 | , opPassphrases = do pfile <- maybeToList passfd | 843 | , opPassphrases = do pfile <- maybeToList passfd |
845 | return $ PassphraseSpec Nothing Nothing pfile | 844 | return $ PassphraseSpec Nothing Nothing pfile |
846 | , opTransforms = [] | 845 | , opTransforms = [] |
847 | , kManip = noManip | ||
848 | , opHome = homespec | 846 | , opHome = homespec |
849 | } | 847 | } |
850 | 848 | ||