Mask password in "Added MAVEN property..." info messages / allow suppress the messages
vlsi opened this issue · 5 comments
The list of valid variables is very helpful for initial usage of JCP, so it is good it is enabled by default.
However:
-
It is not that safe to print all the properties (e.g. mvn.project.property.password, mvn.project.property.gpg.passphrase, etc). maven logs can be copy&pasted and it might lead to unexpected sharing of the passwords.
-
It would be nice to have a configuration property to suppress that output (as it would no longer be required after JCP comments are in place)
good point
Re 1, varName.toLower().contains("pass") || varName.toLower().contains("key")
might be a good start.
may be print them only in verbose mode?
may be print them only in verbose mode?
That will work provided it is documented in "quick start" section