Feature/ssh (#382)

* wip ssh feature

* add and remove complete, list remains

* list half way done

* should finish the ssh module completely

* minor fixes

* formatting and offline queries

Co-authored-by: Aiden McClelland <me@drbonez.dev>
This commit is contained in:
Keagan McClelland
2021-08-05 12:01:01 -06:00
committed by Aiden McClelland
parent a1f1dc2ce7
commit 1059ccfc96
7 changed files with 311 additions and 0 deletions

View File

@@ -18,4 +18,11 @@ CREATE TABLE IF NOT EXISTS session
CREATE TABLE IF NOT EXISTS password
(
hash TEXT NOT NULL PRIMARY KEY
);
CREATE TABLE IF NOT EXISTS ssh_keys
(
fingerprint TEXT NOT NULL,
openssh_pubkey TEXT NOT NULL,
created_at TEXT NOT NULL,
PRIMARY KEY (fingerprint)
);