add Docker credentials to app and CLI

This commit is contained in:
jfmonty2 committed 2024-09-19 11:35:18 -04:00
1 parent b1a5f9f11a
commit 0fc97d28e0
8 files changed
+251 -7

No files matched your search

@@ -0,0 +1,11 @@
CREATE TABLE docker_credentials (
id BLOB UNIQUE NOT NULL,
-- The Docker credential helper protocol only sends the server_url, so
-- we should guarantee that we will only ever have one matching credential.
-- Also, it's easier to go from unique -> not-unique than vice versa if we
-- decide that's necessary in the future
server_url TEXT UNIQUE NOT NULL,
username TEXT NOT NULL,
secret_enc BLOB NOT NULL,
nonce BLOB NOT NULL
);