Community
    • Login

    A plugin to toggle displaying password as dots?

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    6 Posts 3 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Yuriy KonstantinovY
      Yuriy Konstantinov
      last edited by

      Is there a plugin to display passwords as dots in a text file?
      Some of my credentials are kept as text in a file.

      I want the passwords to be hidden so when I display my screen on video conference, and the file is shown up in Notepad++, I could be sure my passwords are not recorded.

      Preferably there should be a button on the Tool Panel to turn this function on/off.

      I should be able to mark a piece of text as “sensitive”. If I then switch the function on, all the texts marked sensitive should be displayed as dots:

      1483.png

      If I copy that hidden text, it should be copied into the buffer as the real characters (not dots). If I then paste it somewhere, it should be that real text.

      If there’s no such plugin or out-of-the-box functionality, could this be developed?

      Alan KilbornA Michael VincentM 2 Replies Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Yuriy Konstantinov
        last edited by

        @Yuriy-Konstantinov

        Notepad++ is a text editor, so the only way to “mark a piece of text as ‘sensitive’” is to either have special tags around it (as text), e.g.

        <sensitive>ajskdjf34t53!</sensitive>

        or to have a pattern to it. Your example text really doesn’t show a definitive pattern (how would any software know where the password is).

        Patterned data could look like this:

        password: ajskdjf34t53!

        which is very similar to your login: line.

        If you say the password is always the entire line below the login: line, that is a good enough pattern.

        Given a strong pattern, a good option for presenting data in a conference would be to first run the original file through a filtering script that would change a file as shown in your “Off” screenshot to the one in your “On” screenshot.

        There probably isn’t much hope for the solution you really desire, unless you dive in and write something yourself; not a trivial effort, and IMO not much to gain when considering the effort.

        1 Reply Last reply Reply Quote 1
        • Michael VincentM
          Michael Vincent @Yuriy Konstantinov
          last edited by

          @Yuriy-Konstantinov said in A plugin to toggle displaying password as dots?:

          Some of my credentials are kept as text in a file.

          Don’t do that. Use a password manager. I like KeePass for Windows, but there are SO many options to not keep passwords in a text file.

          Cheers.

          Alan KilbornA 1 Reply Last reply Reply Quote 2
          • Alan KilbornA
            Alan Kilborn @Michael Vincent
            last edited by

            @Michael-Vincent said in A plugin to toggle displaying password as dots?:

            Don’t do that. Use a password manager.

            From the original description and the desire to “share in conference”, I got the feeling this wasn’t just someone maintaining their own password list, so I’m not sure how applicable advice to use a pw manager is…but…maybe.

            Michael VincentM Yuriy KonstantinovY 2 Replies Last reply Reply Quote 0
            • Michael VincentM
              Michael Vincent @Alan Kilborn
              last edited by

              @Alan-Kilborn said in A plugin to toggle displaying password as dots?:

              From the original description and the desire to “share in conference”, I got the feeling this wasn’t just someone maintaining their own password list, so I’m not sure how applicable advice to use a pw manager is…but…maybe.

              @Yuriy-Konstantinov

              The KeePass database is just an encrypted file - it can be shared, stored in cloud, accessed from any KeePass client. The GUI shows the required information:

              f27b0cd0-deea-4cc1-a068-4bc267c7a118-image.png

              The copy / paste can be setup to copy the username and / or the password (with the “dots” showing and get the actual characters) and securely clean the clipboard too.

              For sharing in Git or Docker, there are password vault applications that make this possible.

              Really, there is no excuse for putting passwords in text files in 2022.

              Cheers.

              1 Reply Last reply Reply Quote 2
              • Yuriy KonstantinovY
                Yuriy Konstantinov @Alan Kilborn
                last edited by

                @Alan-Kilborn no I mean only my own credentials in a text file located on my computer:

                Some of my credentials are kept as text in a file.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors