diff options
Diffstat (limited to 'Types.hs')
-rw-r--r-- | Types.hs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE OverloadedStrings, GeneralizedNewtypeDeriving #-} module Types where @@ -8,10 +8,12 @@ import Raaz.Core.Encode import Data.Monoid import Data.Word import Data.Time.Clock +import Data.String import Text.Read -- | A password used to encrypt a key stored in keysafe. newtype Password = Password B.ByteString + deriving (IsString) -- | A name associated with a key stored in keysafe. newtype Name = Name B.ByteString |