diff options
author | Joey Hess <joey@kitenet.net> | 2012-12-20 15:43:14 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-12-20 17:07:10 -0400 |
commit | 836c6429cc1db7212a5a391ea0a03326fc1edbd9 (patch) | |
tree | 9fc304c0acc2d62d24add6703db2119ae9aea98a /Types/Backend.hs | |
parent | 0aedef26424c2e17a2cfc0bb24ec52bddc560bf0 (diff) |
handle sha*sum's leading \ in checksum with certian unsual filenames
* Bugfix: Remove leading \ from checksums output by sha*sum commands,
when the filename contains \ or a newline. Closes: #696384
* fsck: Still accept checksums with a leading \ as valid, now that
above bug is fixed.
* migrate: Remove leading \ in checksums
Diffstat (limited to 'Types/Backend.hs')
-rw-r--r-- | Types/Backend.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Types/Backend.hs b/Types/Backend.hs index d79787c27..c7d962db0 100644 --- a/Types/Backend.hs +++ b/Types/Backend.hs @@ -16,6 +16,7 @@ data BackendA a = Backend { name :: String , getKey :: KeySource -> a (Maybe Key) , fsckKey :: Maybe (Key -> FilePath -> a Bool) + , canUpgradeKey :: Maybe (Key -> Bool) } instance Show (BackendA a) where |