diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2023-01-13 21:18:34 -0700 |
---|---|---|
committer | Simponic <loganhunt@simponic.xyz> | 2023-01-13 21:23:46 -0700 |
commit | 53be77e2c57bac6b861d7c3d1d2d6355816a823b (patch) | |
tree | bf2db793a3e0f416b411283547e7f58411f80d9e /lib/chessh/ssh/server_key.ex | |
parent | 87e42b29f004f67df2512c133de626c2b0804477 (diff) | |
parent | 2b06f5bf47ec5f8f084dae8f015ca3677d753a7d (diff) | |
download | chessh-53be77e2c57bac6b861d7c3d1d2d6355816a823b.tar.gz chessh-53be77e2c57bac6b861d7c3d1d2d6355816a823b.zip |
Merge pull request #4 from Simponic/fix_pubkey
Fix pubkey
Diffstat (limited to 'lib/chessh/ssh/server_key.ex')
-rw-r--r-- | lib/chessh/ssh/server_key.ex | 2 |
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 |