diff options
| author | Simponic <loganhunt@simponic.xyz> | 2022-12-19 02:39:40 -0700 |
|---|---|---|
| committer | Simponic <loganhunt@simponic.xyz> | 2022-12-19 02:39:40 -0700 |
| commit | b4743f9efb685545cdd780cc9ba7a50e083dd8cf (patch) | |
| tree | a538467211886df38c79706769029e23c7aadb61 /lib/auth | |
| parent | 9cdfb6eb9cd30c4e06a7d9fef53e519983827d81 (diff) | |
| download | chessh-b4743f9efb685545cdd780cc9ba7a50e083dd8cf.tar.gz chessh-b4743f9efb685545cdd780cc9ba7a50e083dd8cf.zip | |
Get public key authenticator actually running, add password validator via hash
Diffstat (limited to 'lib/auth')
| -rw-r--r-- | lib/auth/keys.ex | 8 | ||||
| -rw-r--r-- | lib/auth/password.ex | 7 |
2 files changed, 0 insertions, 15 deletions
diff --git a/lib/auth/keys.ex b/lib/auth/keys.ex deleted file mode 100644 index 3e0f142..0000000 --- a/lib/auth/keys.ex +++ /dev/null @@ -1,8 +0,0 @@ -defmodule Chessh.Auth.KeyAuthenticator do - use Sshd.PublicKeyAuthenticator - require Logger - - def authenticate(_, _, _) do - false - end -end diff --git a/lib/auth/password.ex b/lib/auth/password.ex deleted file mode 100644 index 5e31b33..0000000 --- a/lib/auth/password.ex +++ /dev/null @@ -1,7 +0,0 @@ -defmodule Chessh.Auth.PasswordAuthenticator do - use Sshd.PasswordAuthenticator - - def authenticate(_username, _password) do - true - end -end |
