From ea51b89dc611bd747044d4773865fa1f6c15fcd8 Mon Sep 17 00:00:00 2001 From: Simponic Date: Fri, 13 Jan 2023 19:49:33 -0700 Subject: handle_info instead of cast, @impl in serverkey --- lib/chessh/ssh/server_key.ex | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/chessh/ssh/server_key.ex') 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 -- cgit v1.2.3-70-g09d2