vixus0 / wb

A wrapper for the Bitwarden CLI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Witbarden

Witbarden (wb) is a wrapper for the Bitwarden CLI (bw).

Usage

go get github.com/vixus0/wb
wb <some bw command>

Why?

  • I wanted to learn some Go
  • I didn't want to have to deal with my Bitwarden session key manually
  • It plays better with external tools by allowing you to pass login credentials via the command-line
  • There's only one shared session wherever you call wb from

How it works

wb spawns a background process wbd to hold on to the Bitwarden session key in memory. Subsequent calls to wb that require a session key fetch it from wbd using Go's net/rpc library. wbd dies on its own after ten minutes or is asked to die if the session key is invalid for whatever reason.

About

A wrapper for the Bitwarden CLI


Languages

Language:Go 97.7%Language:Makefile 2.3%