Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions crates/agent-tunnel-libsql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ workspace = true
agent-tunnel.path = "../agent-tunnel"
anyhow = "1"
async-trait = "0.1"
camino = "1.1"
gateway-db.path = "../gateway-db"
libsql = { version = "0.9", default-features = false, features = ["core", "serde"] }
tokio = { version = "1.52", features = ["sync"] }
tracing = "0.1"
uuid = "1.23"

[dev-dependencies]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
CREATE TABLE metadata (
CREATE TABLE agent_tunnel_metadata (
key TEXT PRIMARY KEY,
value BLOB NOT NULL
);

CREATE TABLE accepted_agents (
CREATE TABLE agent_tunnel_accepted_agents (
agent_id TEXT PRIMARY KEY,
name TEXT NOT NULL COLLATE NOCASE UNIQUE,
client_spki_sha256 BLOB NOT NULL,
Expand All @@ -13,7 +13,7 @@ CREATE TABLE accepted_agents (
CHECK (length(client_spki_sha256) = 32)
);

CREATE TABLE enrollment_attempts (
CREATE TABLE agent_tunnel_enrollment_attempts (
jti TEXT PRIMARY KEY,
agent_id TEXT NOT NULL,
request_sha256 BLOB NOT NULL,
Expand All @@ -23,7 +23,7 @@ CREATE TABLE enrollment_attempts (
CHECK (deleted IN (0, 1))
);

CREATE TABLE deleted_agent_keys (
CREATE TABLE agent_tunnel_deleted_agent_keys (
client_spki_sha256 BLOB PRIMARY KEY,
agent_id TEXT NOT NULL,
CHECK (length(client_spki_sha256) = 32)
Expand Down
Loading
Loading