GPaste icon indicating copy to clipboard operation
GPaste copied to clipboard

Add number to passwords

Open alexgarel opened this issue 6 years ago • 8 comments

I use a lot the password hiding feature in gpaste, to avoid eavesdropping from above my shoulder My only problem is that they all end up as [Password]**** but sometimes I deal with a lot of passwords and I would like gpaste to sort of help me getting the good one.

I propose adding a number for each new password, that is displaying [Password 1]*** for the first [Password 2]*** for the second, etc. It should be sufficient to get the correct password.

alexgarel avatar May 31 '18 11:05 alexgarel

You can specify a name when adding a password or setting an item as a password, and you can also rename a password already (in your case, the autogenerated password name is "******". If you name a password "Foobar" it will be displayed as "[Password] Foobar"

Keruspe avatar May 31 '18 11:05 Keruspe

I mostly use a keyboard shortcut to pass entry to password (so the password never shows).

Renaming the password would do, but I don't see this option… is that because I'm using 3.28.0 ?

alexgarel avatar May 31 '18 11:05 alexgarel

You can do it using gpaste-client (the CLI) or the dbus interface

Keruspe avatar May 31 '18 12:05 Keruspe

How do you copy your password? If you get them from some password manager, or if you generate them, you can do something like

generate_password | gpaste-client add-password "Password 1"

Keruspe avatar May 31 '18 12:05 Keruspe

hum, seems a bit overkill to me in this case !

Would it be to hard for the gnome shell extension to name it something like 1**** instead of ***** as I hit the keyboard shortcut ? A simple internal counter would be enough.

alexgarel avatar May 31 '18 12:05 alexgarel

How do you copy your password?

Most of the time I copy them from keepassX, and rely on the gnome shell extension.

alexgarel avatar May 31 '18 12:05 alexgarel

I guess something like that could be done

Keruspe avatar May 31 '18 12:05 Keruspe

I often do something similar with passwords and then go to the prompt to "name" it. It would be nice if the extension could edit the password entry to replace the "*****" with a name, similar to doing gpaste-client set-password 0 "foo"

blackjackshellac avatar Sep 08 '20 15:09 blackjackshellac