You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jonathan Anstey (JIRA)" <ji...@apache.org> on 2012/11/21 14:17:59 UTC

[jira] [Created] (KARAF-2022) Password for client script is output to the terminal

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

[jira] [Commented] (KARAF-2022) Password for client script is output to the terminal

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503129#comment-13503129 ] 

Jean-Baptiste Onofré commented on KARAF-2022:
---------------------------------------------

Fixed on karaf-2.3.x: http://svn.apache.org/viewvc?view=revision&revision=1412799
                
> 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
>            Assignee: Jean-Baptiste Onofré
>         Attachments: KARAF-2022.patch, KARAF-2022-trunk.patch
>
>
> 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

[jira] [Assigned] (KARAF-2022) Password for client script is output to the terminal

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-2022:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré
    
> 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
>            Assignee: Jean-Baptiste Onofré
>         Attachments: KARAF-2022.patch
>
>
> 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

[jira] [Commented] (KARAF-2022) Password for client script is output to the terminal

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501958#comment-13501958 ] 

Jonathan Anstey commented on KARAF-2022:
----------------------------------------

Also, that last patch was for the karaf-2.3.x branch. Haven't tried this out on trunk yet :)
                
> 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
>         Attachments: KARAF-2022.patch
>
>
> 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

[jira] [Commented] (KARAF-2022) Password for client script is output to the terminal

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503182#comment-13503182 ] 

Jean-Baptiste Onofré commented on KARAF-2022:
---------------------------------------------

Fixed on trunk: http://svn.apache.org/viewvc?view=revision&revision=1412859
                
> 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
>            Assignee: Jean-Baptiste Onofré
>         Attachments: KARAF-2022.patch, KARAF-2022-trunk.patch
>
>
> 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

[jira] [Commented] (KARAF-2022) Password for client script is output to the terminal

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503107#comment-13503107 ] 

Jean-Baptiste Onofré commented on KARAF-2022:
---------------------------------------------

Thanks a lot Jon.

I reviewed the 2.3.x patch and it looks good to me.

I will reply and review the one for the trunk.
                
> 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
>            Assignee: Jean-Baptiste Onofré
>         Attachments: KARAF-2022.patch, KARAF-2022-trunk.patch
>
>
> 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

[jira] [Updated] (KARAF-2022) Password for client script is output to the terminal

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey updated KARAF-2022:
-----------------------------------

    Attachment: KARAF-2022-trunk.patch

Hey JB,

Did a patch for trunk as well. Thanks for looking into in.

Cheers,
Jon
                
> 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
>            Assignee: Jean-Baptiste Onofré
>         Attachments: KARAF-2022.patch, KARAF-2022-trunk.patch
>
>
> 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

[jira] [Comment Edited] (KARAF-2022) Password for client script is output to the terminal

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502746#comment-13502746 ] 

Jonathan Anstey edited comment on KARAF-2022 at 11/22/12 12:48 PM:
-------------------------------------------------------------------

Hey JB,

Did a patch for trunk as well. Thanks for looking into it.

Cheers,
Jon
                
      was (Author: janstey):
    Hey JB,

Did a patch for trunk as well. Thanks for looking into in.

Cheers,
Jon
                  
> 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
>            Assignee: Jean-Baptiste Onofré
>         Attachments: KARAF-2022.patch, KARAF-2022-trunk.patch
>
>
> 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

[jira] [Resolved] (KARAF-2022) Password for client script is output to the terminal

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-2022.
-----------------------------------------

    Resolution: Fixed
    
> 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
>            Assignee: Jean-Baptiste Onofré
>         Attachments: KARAF-2022.patch, KARAF-2022-trunk.patch
>
>
> 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

[jira] [Updated] (KARAF-2022) Password for client script is output to the terminal

Posted by "Jonathan Anstey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey updated KARAF-2022:
-----------------------------------

    Attachment: KARAF-2022.patch

Patch to fix issue. Now the client login sequence looks like this:

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

  Apache Karaf (2.3.1-SNAPSHOT)

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}
                
> 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
>         Attachments: KARAF-2022.patch
>
>
> 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