ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33354] - input task should hide password entries
Date Fri, 04 Feb 2005 08:39:19 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33354>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33354





------- Additional Comments From shalmaneser@ePost.de  2005-02-04 09:39 -------
As an afterthought, and in reply to
http://issues.apache.org/bugzilla/show_bug.cgi?id=33354#c5:

We don't necessarily need JNI, nor sacrifice backward compatibility:
See here: http://java.sun.com/developer/technicalArticles/Security/pwordmask/

Because this might be interesting for more than one project: how about placing a
class for this into commons io?

But as Stefan pointed out in
http://issues.apache.org/bugzilla/show_bug.cgi?id=6687#c3, this might be
problemantic, because ant redirects System.out through it's internal logging.

But I think, this can be fixed, by simply suspending the ANT Logging and
reinstalling the original System.out during password input under the assumption,
that we are basically singlethreaded during that time...

Unfortunately, this means that we need to retain a copy of the original
System.out somewhere.

Anyway, all of this is idle thinking, as long as the password will get exposed
anyway, when echoed by debug output.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message