terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Unable to Copy Passwords Directly From Keepass2

Open elementaryBot opened this issue 8 years ago • 3 comments

When trying to copy passwords from a Keepass2 opened database, the browser does not allow to copy it directly in the password field (but it does, for instance, in the URL bar). Thus, the only way to copy the password from the Keepass2 database is to paste it in the URL bar or in another application and then copy-pasting it again into the password file. It seems to be a sort of security measure...

Launchpad Details: #LP1523482 Félix Brezo - 2015-12-07 12:52:36 +0000

elementaryBot avatar Apr 26 '17 17:04 elementaryBot

Please, provide more information about how it affects Pantheon Terminal.

Launchpad Details: #LPC Leonardo Lemos - 2015-12-07 14:26:56 +0000

elementaryBot avatar Apr 26 '17 17:04 elementaryBot

When copy-pasting information from Keepass2 in the command line the information is not displayed as when copy-pasting it from a text file (in this case, everything works as expected). I noticed this firstly when copy-pasting long SSH passwords from the Keepass2 database. I will try to investigate on how the information is stored by the application in the clipboard to export it to other programs.

By the way, in the case of pantheon-terminal, when pasting the information in the search tab of the terminal, both, users and passwords, are correctly pasted, but NOT in the command line.

Launchpad Details: #LPC Félix Brezo - 2015-12-07 15:42:43 +0000

elementaryBot avatar Apr 26 '17 17:04 elementaryBot

I'm a KeePass2 user and my two cents on researching this is that this is a bug in Mono library (which KeePass2 users in Linux).

ref: https://bugs.chromium.org/p/chromium/issues/detail?id=377893

Proper workaround for this Mono bug affecting KeePass is: ctrl+v in KeePass2; ctrl+shift+insert then Enter in terminal. This works like a charm for me.

This ticket should probably be closed as I don't think it's a bug with terminal.

Launchpad Details: #LPC Hrvoje Šolc - 2017-03-31 16:50:58 +0000

elementaryBot avatar Apr 26 '17 17:04 elementaryBot