A plugin to toggle displaying password as dots?
-
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:
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?
-
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.
-
@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.
-
@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.
-
@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.
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:
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.
-
@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.