diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-08-19 12:41:31 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-08-19 12:41:31 -0400 |
commit | d3323ab8e9e39bcb0a6493d33efa265073920a7d (patch) | |
tree | 5366a829047b1637496086fec5744947da21d383 /Types.hs | |
parent | a774bc8d566c55564d008863b3c1be7d03a9fdde (diff) | |
download | keysafe-d3323ab8e9e39bcb0a6493d33efa265073920a7d.tar.gz |
comment updates
The keyid used as a salt in the shardIdents does not prevent rainbow table
attacks, since it's often anyKey (""). The obscure name combined with the
username does make rainbow tables unlikely to be useful though.
Diffstat (limited to 'Types.hs')
-rw-r--r-- | Types.hs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -27,8 +27,7 @@ instance Show EncryptedSecretKey where instance Bruteforceable EncryptedSecretKey UnknownPassword where getBruteCostCalc (EncryptedSecretKey _ cc) = cc --- | Objects stored on a keysafe server are (probably) a shard of an --- encrypted secret key. +-- | An object in a form suitable to be stored on a keysafe server. newtype StorableObject = StorableObject { fromStorableObject :: B.ByteString } deriving (Show) |