mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-05 05:27:39 +03:00
multiple database with --pw-stdin (#2916)
* Updated utilities to unlock KDBX with OS password manager on macOS and Linux * Use a static stream on stdin for --pw-stdin otherwise buffer loss eliminates subsequent passwords * Update INSTALL requirements
This commit is contained in:
parent
ba4d68c76e
commit
1cbd395d71
5 changed files with 42 additions and 12 deletions
|
@ -163,7 +163,7 @@ namespace Utils
|
|||
return password;
|
||||
}
|
||||
|
||||
TextStream in(STDIN, QIODevice::ReadOnly);
|
||||
static TextStream in(STDIN, QIODevice::ReadOnly);
|
||||
|
||||
setStdinEcho(false);
|
||||
QString line = in.readLine();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue