Skip to content

Commit

Permalink
Merge pull request #10 from dpradom/fixed_compatibility_with_passwords
Browse files Browse the repository at this point in the history
Fixed error while unlocking using complex passwords
  • Loading branch information
mattydebie authored Mar 18, 2019
2 parents 9229c40 + be5039d commit f487bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bwmenu
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ load_items() {
source "$BW_HASH_FILE"
if ! ITEMS=$(bw list items 2>/dev/null); then
mpw=$(rofi -dmenu -p "Master Password" -password) || exit $?
bw unlock "$mpw" | grep -e 'export.*=="' -o > $BW_HASH_FILE || {
echo "$mpw" | bw unlock | grep -e 'export.*=="' -o > $BW_HASH_FILE || {
exit_error 1 "Failed to unlock BitWarden.
Please try again."
}
Expand Down

0 comments on commit f487bd2

Please sign in to comment.