summaryrefslogtreecommitdiff
path: root/lib/chessh/ssh/server_key.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chessh/ssh/server_key.ex')
-rw-r--r--lib/chessh/ssh/server_key.ex2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chessh/ssh/server_key.ex b/lib/chessh/ssh/server_key.ex
index eae9577..71b6997 100644
--- a/lib/chessh/ssh/server_key.ex
+++ b/lib/chessh/ssh/server_key.ex
@@ -4,6 +4,7 @@ defmodule Chessh.SSH.ServerKey do
@behaviour :ssh_server_key_api
+ @impl true
def is_auth_key(key, username, _daemon_options) do
PlayerSession.update_sessions_and_player_satisfies(
username,
@@ -11,6 +12,7 @@ defmodule Chessh.SSH.ServerKey do
)
end
+ @impl true
def host_key(algorithm, daemon_options) do
:ssh_file.host_key(algorithm, daemon_options)
end