https://issues.apache.org/bugzilla/show_bug.cgi?id=57130

            Bug ID: 57130
           Summary: Allow digest.sh to accept password from a file or from
                    stdin
           Product: Tomcat 8
           Version: 8.0.14
          Hardware: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: knst.koli...@gmail.com

This is inspired by discussions about adding --password-file option to
subversion command line tool at dev <at> subversion.a.o mailing list.
Links to threads:
"The --password and clumsy users issue"
"[PATCH]: Add --password-file and --password-envvar"
http://subversion.markmail.org/thread/xdcfgujgqvgytx64
http://subversion.markmail.org/thread/jgbu75eiradryodf

The digest.sh utility in Tomcat accepts passwords as arguments on the command
line and prints hashed representation for them to System.out.

Proposal is to
1) Provide an option to specify a file name to read passwords from
2) If file name is "-" then treat it as System.in
3) Add support for option "--" to specify the end of list of options

Notes:
Implementation goes into RealmBase.java, documentation goes into
realm-howto.xml.
r1633589 can be used for a reference.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to