browserpass/sops-gpg-adapter: remove dead code "sane-secrets-unlock"

i don't give firefox access to ~/.ssh, so this wasn't doing anything
This commit is contained in:
2024-10-02 12:32:16 +00:00
parent b532189b2f
commit c8de203198
2 changed files with 2 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ let
sops-gpg-adapter = static-nix-shell.mkBash { sops-gpg-adapter = static-nix-shell.mkBash {
pname = "sops-gpg-adapter"; pname = "sops-gpg-adapter";
srcRoot = ./.; srcRoot = ./.;
pkgs = [ "gnused" "sane-scripts.secrets-unlock" "sops" ]; pkgs = [ "gnused" "sops" ];
postInstall = '' postInstall = ''
ln -s sops-gpg-adapter $out/bin/gpg ln -s sops-gpg-adapter $out/bin/gpg
ln -s sops-gpg-adapter $out/bin/gpg2 ln -s sops-gpg-adapter $out/bin/gpg2

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell #!/usr/bin/env nix-shell
#!nix-shell -i bash -p bash -p gnused -p sane-scripts.secrets-unlock -p sops #!nix-shell -i bash -p bash -p gnused -p sops
# browserpass "validates" the gpg binary by invoking it with --version # browserpass "validates" the gpg binary by invoking it with --version
if [ "$1" = "--version" ] if [ "$1" = "--version" ]
@@ -8,9 +8,6 @@ then
exit 0 exit 0
fi fi
# ensure the secret store is unlocked
sane-secrets-unlock
# using exec here forwards our stdin # using exec here forwards our stdin
# browserpass parses the response in # browserpass parses the response in
# <browserpass-extension/src/background.js#parseFields> # <browserpass-extension/src/background.js#parseFields>