summaryrefslogtreecommitdiff
path: root/src/Propellor/Types/PrivData.hs
diff options
context:
space:
mode:
authorJoey Hess2015-01-04 15:59:42 -0400
committerJoey Hess2015-01-04 15:59:54 -0400
commit84685f24c9614d5f2c19851b4c63744bcb037241 (patch)
tree3f466362dfb5ffc0cbe0ed02e720ab203f47489f /src/Propellor/Types/PrivData.hs
parentf1a1d0001a4c9bbfb0d658131314d014d7deb5c8 (diff)
Ssh.hostKeys now also installs any available SshEd25519 keys.
Diffstat (limited to 'src/Propellor/Types/PrivData.hs')
-rw-r--r--src/Propellor/Types/PrivData.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Types/PrivData.hs b/src/Propellor/Types/PrivData.hs
index d6941a77..c760ae55 100644
--- a/src/Propellor/Types/PrivData.hs
+++ b/src/Propellor/Types/PrivData.hs
@@ -90,7 +90,7 @@ hostContext = HostContext Context
type PrivData = String
data SshKeyType = SshRsa | SshDsa | SshEcdsa | SshEd25519
- deriving (Read, Show, Ord, Eq)
+ deriving (Read, Show, Ord, Eq, Enum, Bounded)
-- | Parameter that would be passed to ssh-keygen to generate key of this type
sshKeyTypeParam :: SshKeyType -> String