From c11ff9d3c67372a843a0fa6bf23132e986bd6955 Mon Sep 17 00:00:00 2001 From: bert Date: Mon, 19 Jan 2026 10:16:18 -0800 Subject: [PATCH] Fix rbw vault lock detection by using system rbw The nix-bundled rbw (1.13.2) had a protocol mismatch with newer system rbw-agent versions. The agent sends environment variables as byte arrays, but rbw 1.13.2 expects base64-encoded strings, causing: rbw unlocked: failed to parse message '...': invalid type: sequence, expected base64 encoded os string By not bundling rbw in the nix package, the script uses the system rbw which matches the running rbw-agent and can communicate correctly. Fixes gcr-tth --- .gitignore | 3 +++ flake.nix | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5a8bc94..b3dd92d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ .beads/ __pycache__/ +.runtime/ +result +state.json diff --git a/flake.nix b/flake.nix index 3424c34..e675d6c 100644 --- a/flake.nix +++ b/flake.nix @@ -12,7 +12,7 @@ pkgs.python3Packages.selenium pkgs.chromedriver pkgs.chromium - pkgs.rbw + # Note: rbw intentionally NOT included - must use system rbw to match running rbw-agent pkgs.wl-clipboard pkgs.xclip ];