You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For applications with high security requirement, passwords should not be exposed on the command line because they will be logged in command history. So we would want an option that always prompt the password even if it is provided in the argument. But after this fix https://github.com/cbeust/jcommander/issues/195 there is no way to prevent the user from entering the password on command line with password option.
So I suggest to provide a flag or parameter for securing password which will not take additional arguments entered on the command line and always prompt the user to enter password when used.
The followings are examples of the desired behaviors:
(1) positive case:
somecli -password
Enter password:
(2) negative case:
somecli -password
Error: invalid argument. Refer to usage .
Thanks.
The text was updated successfully, but these errors were encountered:
For applications with high security requirement, passwords should not be exposed on the command line because they will be logged in command history. So we would want an option that always prompt the password even if it is provided in the argument. But after this fix https://github.com/cbeust/jcommander/issues/195 there is no way to prevent the user from entering the password on command line with password option.
So I suggest to provide a flag or parameter for securing password which will not take additional arguments entered on the command line and always prompt the user to enter password when used.
The followings are examples of the desired behaviors:
(1) positive case:
somecli -password
Enter password:
(2) negative case:
somecli -password
Error: invalid argument. Refer to usage .
Thanks.
The text was updated successfully, but these errors were encountered: