diff options
Diffstat (limited to 'lib/chessh/schema/key.ex')
-rw-r--r-- | lib/chessh/schema/key.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chessh/schema/key.ex b/lib/chessh/schema/key.ex index f8c14cf..765c83b 100644 --- a/lib/chessh/schema/key.ex +++ b/lib/chessh/schema/key.ex @@ -32,6 +32,7 @@ defmodule Chessh.Key do if is_tuple(key) do case key do {pub, [opts]} -> [{pub, [opts]}] + {pub, []} -> [{pub, [comment: '']}] key -> [{key, [comment: '']}] end |> :ssh_file.encode(:openssh_key) |