From 16bc505b9e3a4409e1f7cb54d6867c108690acaa Mon Sep 17 00:00:00 2001 From: Matt Nish-Lapidus Date: Mon, 6 Jan 2025 15:32:06 -0500 Subject: [PATCH] removing old rbw pinentry file --- dotfiles/dot_local/bin/rbw-pinentry-keyring | 102 -------------------- 1 file changed, 102 deletions(-) delete mode 100755 dotfiles/dot_local/bin/rbw-pinentry-keyring diff --git a/dotfiles/dot_local/bin/rbw-pinentry-keyring b/dotfiles/dot_local/bin/rbw-pinentry-keyring deleted file mode 100755 index dda5862..0000000 --- a/dotfiles/dot_local/bin/rbw-pinentry-keyring +++ /dev/null @@ -1,102 +0,0 @@ -#!/bin/bash - -[[ -z "${RBW_PROFILE}" ]] && rbw_profile='rbw' || rbw_profile="rbw-${RBW_PROFILE}" - -set -eEuo pipefail - -function help() { - cat </dev/null 2>&1 - fi - fi - - printf 'D %s\n' "$secret_value" - echo 'OK' - else - cmd="SETTITLE $title\n" - cmd+="SETPROMPT $prompt\n" - cmd+="SETDESC $desc\n" - cmd+="GETPIN\n" - - secret_value="$(printf "$cmd" | pinentry | grep -E "^D " | cut -c3-)" - - printf 'D %s\n' "$secret_value" - echo 'OK' - fi - ;; - BYE) - exit - ;; - *) - echo 'ERR Unknown command' - ;; - esac - done -} - -command="$1" -case "$command" in - -h|--help|help) - help - ;; - -c|--clear|clear) - clear - ;; - *) - getpin - ;; -esac