From e98fc7d262e1553430a851c4705613ade7bc0804 Mon Sep 17 00:00:00 2001 From: tannevaled Date: Mon, 4 Mar 2024 20:21:36 +0100 Subject: [PATCH] +git.tozt.net/rbw (#5401) * +git.tozt.net/rbw * clean up boilerplate --------- Co-authored-by: Jacob Heider --- projects/git.tozt.net/rbw/README.md | 13 +++++++++++++ projects/git.tozt.net/rbw/package.yml | 19 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 projects/git.tozt.net/rbw/README.md create mode 100644 projects/git.tozt.net/rbw/package.yml diff --git a/projects/git.tozt.net/rbw/README.md b/projects/git.tozt.net/rbw/README.md new file mode 100644 index 00000000..adebec7a --- /dev/null +++ b/projects/git.tozt.net/rbw/README.md @@ -0,0 +1,13 @@ +# rbw + +This is an unofficial command line client for Bitwarden. +Although it does come with its own command line client, +this client is limited by being stateless - to use it, +you're required to manually lock and unlock the client, +and pass the temporary keys around in environment variables, +which makes it very difficult to use. +This client avoids this problem by maintaining a background +process which is able to hold the keys in memory, similar +to the way that ssh-agent or gpg-agent work. +This allows the client to be used in a much simpler way, +with the background agent taking care of maintaining the necessary state. diff --git a/projects/git.tozt.net/rbw/package.yml b/projects/git.tozt.net/rbw/package.yml new file mode 100644 index 00000000..c8457f67 --- /dev/null +++ b/projects/git.tozt.net/rbw/package.yml @@ -0,0 +1,19 @@ +distributable: + url: https://github.com/doy/rbw/archive/refs/tags/{{version}}.tar.gz + strip-components: 1 + +display-name: rbw + +versions: + github: doy/rbw + +build: + dependencies: + rust-lang.org/cargo: '*' + script: + - cargo install --root={{ prefix}} --path=. + +provides: + - bin/rbw + +test: test "$(rbw --version|cut -d' ' -f2)" = {{version}}