Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upqvm-backup requires an option to specify a password through stdin / cmdline #1523
Comments
mig5
referenced this issue
Jan 4, 2016
Closed
Backup encryption passphrase is exposed to dom0 process list #1582
marmarek
added
enhancement
C: core
P: minor
labels
Jan 6, 2016
marmarek
added this to the Release 3.2 milestone
Jan 6, 2016
marmarek
added
the
help wanted
label
Jan 6, 2016
added a commit
that referenced
this issue
Jun 7, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
There is |
marmarek
closed this
Jul 16, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rudd-O commentedDec 18, 2015
I just spent the better part of two hours trying to automate
qvm-backupwith no success at all.Please add a command line option
--stdinthat letsqvm-backupoverridegetpass.getpass(...)and also skip the confirmation[y/N]such that the password can be specified through standard input.It should not be difficult -- you just need a code block that skips the confirmation if
--stdinis specified, and another code block that skips thegetpass.getpass()call if the aforementioned parameter has been specified.All of this can be implemented in
qvm-backupvery easily.Perhaps, even, there could be a
--fileoption, which could have-as a parameter, meaning/dev/stdin. That way, it need not be the case that--stdinexists, or hardcodes the password input to standard input. Maybe the input can be a file in/dev/shm. Certainly, this can be used to do integration tests ofqvm-backup, especially without having to includeptycobwebs in the code.Thanks.