persistence for ssh keys

This commit is contained in:
2024-07-01 13:27:20 -04:00
parent 5e6542d08e
commit a3a11897c2
10 changed files with 347 additions and 31 deletions

View File

@ -69,8 +69,10 @@ DROP TABLE aws_tmp;
-- SSH keys are the new hotness
CREATE TABLE ssh_keys (
name TEXT UNIQUE NOT NULL,
CREATE TABLE ssh_credentials (
id BLOB UNIQUE NOT NULL,
algorithm TEXT NOT NULL,
comment TEXT NOT NULL,
public_key BLOB NOT NULL,
private_key_enc BLOB NOT NULL,
nonce BLOB NOT NULL