Jonathan Anstey created KARAF-2022:
--------------------------------------

             Summary: Password for client script is output to the terminal
                 Key: KARAF-2022
                 URL: https://issues.apache.org/jira/browse/KARAF-2022
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 2.3.0
            Reporter: Jonathan Anstey


When using the bin/client script to connect to a container the password is 
output to the screen as I type it, rather than being hidden.

For example:
{code}
[janstey@duffman apache-karaf-2.3.0]$ ./bin/start
[janstey@duffman apache-karaf-2.3.0]$ ./bin/client -u myuser
Password: mypassword
mypassword
        __ __                  ____      
       / //_/____ __________ _/ __/      
      / ,<  / __ `/ ___/ __ `/ /_        
     / /| |/ /_/ / /  / /_/ / __/        
    /_/ |_|\__,_/_/   \__,_/_/         

  Apache Karaf (2.3.0)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit 'osgi:shutdown' to shutdown Karaf.
Hit '<ctrl-d>' or 'logout' to disconnect shell from current session.

myuser@root> 
{code}

rather the password should be hidden as it is typed. Attaching a patch for this 
shortly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to