stoken-dev / stoken

RSA SecurID-compatible software token for Linux/UNIX systems
http://stoken.sf.net
GNU Lesser General Public License v2.1
411 stars 78 forks source link

Ability to copy both current and next tokencode #53

Open cebaa opened 5 years ago

cebaa commented 5 years ago

It would be good to add support for copying both the current tokencode and next tokencode. Perhaps both can be made a button that copies on click to save space (and also allow for keyboard shortcuts for both).

StephenBrown2 commented 5 years ago

Clicking the window in the small GUI already copies the current code to the clipboard, and there is a button in the standard GUI to do so as well. Perhaps making the "Next tokencode" area clickable in the standard GUI, and/or right-clicking the small GUI could copy the next tokencode to the clipboard... (Just a drive-by suggestion)

cebaa commented 5 years ago

@StephenBrown2 Right, perhaps I was not clear enough, but that was exactly what I was aiming for. I know you can copy the current tokencode, but not the next tokencode. Ability to copy both (not just current) would be great.

StephenBrown2 commented 5 years ago

Ah, yes. I had read that as copying both at the same time. Glad to help clarify!

paulodiovani commented 5 years ago

A way to copy the next token would be enough, I think.

paulodiovani commented 5 years ago

I never worked with Glade before but will try to make this happen. :)

For now, I've added a PR to show both current and next tokens by command line, since I use it from terminal most of time: #56