summaryrefslogtreecommitdiff
path: root/lib/chessh/auth/keys.ex
blob: d85f4a42e516d8a61e650d5b7502b750d41d5480 (plain)
1
2
3
4
5
6
7
8
9
10
defmodule Chessh.Auth.KeyAuthenticator do
  use Sshd.PublicKeyAuthenticator
  require Logger

  def authenticate(username, public_key, _opts) do
    Logger.debug("#{inspect(username)}")
    Logger.debug("#{inspect(public_key)}")
    true
  end
end