jspass/jspass-convert

9 lines
175 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
vault=$1
login="${2:-fbt@fleshless.org}"
pass=$(pass "$vault")
jshon -s "$pass" -i "password" -s "$login" -i "login" <<< "{}" | pass insert -m "$vault"