+git.tozt.net/rbw (#5401)

* +git.tozt.net/rbw

* clean up boilerplate

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
tannevaled 2024-03-04 20:21:36 +01:00 committed by GitHub
parent a6da320674
commit e98fc7d262
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 32 additions and 0 deletions

View file

@ -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.

View file

@ -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}}