diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-08-11 17:40:23 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-08-11 17:40:23 -0400 |
commit | e450d7a2d1bdde57d01f027b2e5b8080095f1380 (patch) | |
tree | d06f349e6f11bbf5b3e11db96b260fc032107b61 /Types.hs | |
parent | dca9a15b797e30b095f306955310a40f2d1013b5 (diff) | |
download | keysafe-e450d7a2d1bdde57d01f027b2e5b8080095f1380.tar.gz |
pluggable object storage layer
Diffstat (limited to 'Types.hs')
-rw-r--r-- | Types.hs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -34,7 +34,9 @@ newtype StorableObjectIdent = StorableObjectIdent B.ByteString deriving (Show) -- | A shard, with a known number (N of M). -data Shard = Shard Int StorableObject +data Shard = Shard ShardNum StorableObject + +type ShardNum = Int -- | A password used to encrypt a key stored in keysafe. newtype Password = Password B.ByteString |