Skip to content

Commit

Permalink
🔒 Do not expose KeePass password in spawned process (#801)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfrenoy committed Apr 4, 2021
1 parent dacd5d9 commit 036cf2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/asbru_conn
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ if ($$CFG{'defaults'}{'keepass'}{'use_keepass'}) {
die "$PASS";
}
}
# Makes sure the KeePass password is not exposed in the spawned process
delete $ENV{'KPXC_MP'};
} else {
if ($AUTH eq 'publickey') {
$PASSPHRASE = subst($PASSPHRASE);
Expand Down

0 comments on commit 036cf2e

Please sign in to comment.