Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I am very interested in passing the password as a stdin stream. Can anyone elaborate on its usage? I've been trying to get somewhere with it but no luch up till now. Any help or examples are greatly appreciated.
thanks in advance.
no luch up till now = no luck* up till now
what are you trying to do? and on what platform?
you simply dump the password into the stdin stream when starting the process:
on posix type shell you do for example this:
cat passwordfile | keepass2 -pw-stdin database.kdbx
I'm guessing windows shell should have similar capabilities.
I can not speak to using stdin but this might help you.
as a one time setup.
go into "options" "advanced" and make sure "start minimized and locked" is UNchecked
once confirmed then exit out of keepass.
with the above setup done this command works for me from an XP dos/cmd prompt.
"C:\Program Files\KeePass Password Safe 2\KeePass.exe" -pw:"my?super!pasword" "C:\Documents and Settings\me\My Documents\my_personal.kdbx"
In Windows it's this:
echo MypAs3w0rd | "C:\Program Files\KeePass Password Safe 2\KeePass.exe" -pw-stdin "C:\Documents and Settings\me\My Documents\my_personal.kdbx"