diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-09-15 01:09:12 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-09-15 01:09:12 +0200 |
commit | c031f90cf99e3fce96dd65bcbc9bb288bdbee0d3 (patch) | |
tree | 3e03d8b172f6b057b7d88e2dbc25bfe228fa88b0 /contrib/keepassx2pass.py | |
parent | 4f6e81c28ffa034677583417a7a982e4aadd5fb0 (diff) | |
download | pass-c031f90cf99e3fce96dd65bcbc9bb288bdbee0d3.tar.gz pass-c031f90cf99e3fce96dd65bcbc9bb288bdbee0d3.tar.bz2 pass-c031f90cf99e3fce96dd65bcbc9bb288bdbee0d3.zip |
Use --force flag in keepassx import.
Diffstat (limited to 'contrib/keepassx2pass.py')
-rwxr-xr-x | contrib/keepassx2pass.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/keepassx2pass.py b/contrib/keepassx2pass.py index 86e2f11..fe7d2d6 100755 --- a/contrib/keepassx2pass.py +++ b/contrib/keepassx2pass.py @@ -13,7 +13,7 @@ def path_for(element, path=''): def import_entry(element, path=''): """ Import new password entry to password-store using pass insert command """ - proc = Popen(['pass', 'insert', path_for(element, path)], + proc = Popen(['pass', 'insert', '--force', path_for(element, path)], stdin=PIPE, stdout=PIPE) proc.communicate(element.find('password').text + "\n") proc.wait() |