Bug#831296: Please allow reading password from elsewhere

martin f krafft madduck at debian.org
Fri Jul 15 13:07:47 UTC 2016


also sprach Daniel Kahn Gillmor <dkg at debian.org> [2016-07-15 14:47 +0200]:
> this actually does show up in argv, because bash replaces the output of
> cat on the cmdline before exec'ing the command.
> 
> what you'd really like is to be able to read the password from a file or
> a file descriptor.
> 
> If it's from a file, then in bash you can do:
> 
>  --password-file <(echo s3cr3t)

What in the world was I thinking???

Thanks for the catch and the --pw-file hint. Unfortunately, stable's
hdav does not have --password-file, and neither does 1.2 in
unstable, it seems.

-- 
 .''`.   martin f. krafft <madduck at d.o> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems
 
before he died, rabbi zusya said: "in the world to come they will not
ask me, 'why were you not moses?' they will ask me, 'why were you not
zusya?'"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1107 bytes
Desc: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20160715/745f4deb/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list