Maven 2 & 3

Password encryption CLI switches should prompt for password if missing

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Trivial Trivial
  • Resolution: Unresolved
  • Affects Version/s: 2.1.0
  • Fix Version/s: 3.x / Backlog
  • Component/s: Command Line
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

The -emp and -ep CLI switches should prompt for a password if the user omits it. This would help to avoid having to escape shell characters in strong passwords.

Note that the docs mention that these switches prompt for a password when they do not:
http://maven.apache.org/guides/mini/guide-encryption.html

Issue Links

Activity

Hide
Brett Porter added a comment -

Arnaud has improved the documentation for this, will file this for a future enhancement.

Show
Brett Porter added a comment - Arnaud has improved the documentation for this, will file this for a future enhancement.
Hide
Julien Nicoulaud added a comment -

It is a security issue too, passing passwords in the command line is not secure as one could browse shell history afterwards. Most commands such as ssh do not allow it.

Show
Julien Nicoulaud added a comment - It is a security issue too, passing passwords in the command line is not secure as one could browse shell history afterwards. Most commands such as ssh do not allow it.

People

Vote (2)
Watch (3)

Dates

  • Created:
    Updated: