jspass/jspass-convert
fbt 45e20f28a8 ugh
Signed-off-by: fbt <fbt@fleshless.org>
2017-04-14 15:45:22 +03:00

9 lines
175 B
Bash
Executable File

#!/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"