Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2022

Password for client script is output to the terminal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • None
    • None
    • None

    Description

      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:

      [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> 
      

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

      Attachments

        1. KARAF-2022.patch
          1 kB
          Jonathan Anstey
        2. KARAF-2022-trunk.patch
          1 kB
          Jonathan Anstey

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            janstey Jonathan Anstey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: