1. 24 Jan, 2013 2 commits
  2. 21 Jan, 2013 2 commits
  3. 20 Jan, 2013 1 commit
  4. 16 Jan, 2013 2 commits
  5. 12 Jan, 2013 8 commits
  6. 10 Jan, 2013 4 commits
  7. 09 Jan, 2013 3 commits
  8. 08 Jan, 2013 1 commit
  9. 05 Jan, 2013 2 commits
  10. 22 Dec, 2012 2 commits
  11. 19 Dec, 2012 1 commit
  12. 16 Dec, 2012 1 commit
  13. 13 Dec, 2012 1 commit
  14. 12 Dec, 2012 1 commit
  15. 09 Dec, 2012 5 commits
  16. 07 Dec, 2012 3 commits
  17. 04 Dec, 2012 1 commit
    • Raul Gutierrez Segales's avatar
      [shrpx] read private key's passwd from a file · cbf8ccf7
      Raul Gutierrez Segales authored
      This avoids the need to provide the password for your
      private key interactively.
      
      It can be used via --private-key-passwd-file or private-key-passwd-file
      in the given config file. The first line in the file
      (without \n) will be treated as the passwd. There isn't
      any validation and all lines after the first one (if any)
      are ignored.
      
      The security model behind this is a bit simplistic so I
      am open to better ideas. Basically your password file
      should be root:root (700) and you *should* drop root
      and run as an unprivileged user.
      
      If the file exists and a line can be read then a callback
      will be set for the SSL ctxt and it'll feed the passwd
      when the private key is read (if password is needed).
      
      If the file exists with the wrong permisions it'll be
      logged and ignored.
      cbf8ccf7