Is there anyway to force ClipIt to ignore password copied from password managers?
In browser extension lastpass as an example or a local install of keepass, bitwarden(didn't find this package it is in Manjaro package system) or lastpass(not sure if this is possible - it was in MacOS)
ClipIt - Ignore Password Managers?
Re: ClipIt - Ignore Password Managers?
Nope, clipboard is shared. Better don't run clipit if you use a pw-manager.diddyonlinux wrote: ↑Wed Jul 25, 2018 5:05 pm Is there anyway to force ClipIt to ignore password copied from password managers?
In browser extension lastpass as an example or a local install of keepass, bitwarden(didn't find this package it is in Manjaro package system) or lastpass(not sure if this is possible - it was in MacOS)
Even if your pw-manager is clearing the clipboard after some seconds
it would have already copied into the history of clipit.
BTW: I do recommend the successors KeePassXC latest available from MX Package installer.
Does fit and runs better on linux then keepass. Keepass on linux requires a huge mono overhead.
KeePassXC db is compatiple to the keepass2-db format also used by keepass.
+++
EDIT: Should have mentioned latest KeePassXC from https://keepassxc.org/
is version 2.3.3 which is avaiable from MX testrepo within MX package installer.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
Re: ClipIt - Ignore Password Managers?
Fehlix wrote
It would be much better to have direct control over this.
Is there a way to place clipit offline or clear its history from command line? If so, I could write a script to start the password manager and take care of all this. Edit: I concluded there wasn't and submitted a feature request.
To clear the system selections, it appears I can use Or is there a better way?
Thanks in advance.
Furthermore, if clipit is put in offline mode or killed, when it is resumed, it loads up anything remaining in the system selections. So if I put it offline to use password manager, I have to remember to wait until the pwd manager clears selections (15 seconds in my case), or else clear it myself before resuming clipit.Better don't run clipit if you use a pw-manager.
Even if your pw-manager is clearing the clipboard after some seconds
it would have already copied into the history of clipit
It would be much better to have direct control over this.
Is there a way to place clipit offline or clear its history from command line? If so, I could write a script to start the password manager and take care of all this. Edit: I concluded there wasn't and submitted a feature request.
To clear the system selections, it appears I can use
Code: Select all
xsel -cp ; xsel -cs ; xsel -cb
Thanks in advance.
Re: ClipIt - Ignore Password Managers?
In clipit preferences, we can specify custom to-be-ignored regex patterns. ( Works for me, cuz all my passwords are prefixed with "bunnyfoofoo"... )
IIRC, the alternative clipboard manager named CopyQ (package is in MX repo) supports "ignore texts copied from any window whose name matches XYZ".
I don't have it installed and couldn't find a screenshot of the exact preferences dialog tab, but it looks something like this:
IIRC, the alternative clipboard manager named CopyQ (package is in MX repo) supports "ignore texts copied from any window whose name matches XYZ".
I don't have it installed and couldn't find a screenshot of the exact preferences dialog tab, but it looks something like this:
Re: ClipIt - Ignore Password Managers?
skidoo, thanks for that information. I tried out copyQ but failed to find the setting. Anyway, that's a LOT of clipboard manager, much more than I require. For me, I think the best solution is no clipboard manager.
There's a forum post about the password issue in clipit issues forum:
https://github.com/CristianHenzel/ClipIt/issues/48
EDIT: The following works for me. I think it solves the problem...?Alternative to using startup script: change Exec line in desktop file to
There's a forum post about the password issue in clipit issues forum:
https://github.com/CristianHenzel/ClipIt/issues/48
EDIT: The following works for me. I think it solves the problem...?
Code: Select all
pkill clipit ; clipit=$?
password-gorilla
xsel -cp ; xsel -cb # clear system selections
[[ $clipit -eq 0 ]] && exec clipit # if clipit was running, restart it
Code: Select all
Exec=bash -c "pkill clipit ; clipit=$? ; password-gorilla ; xsel -cp ; xsel -cb ; [[ $clipit -eq 0 ]] && exec clipit"
Re: ClipIt - Ignore Password Managers?
This has been fixed in February. Now it's possible to specify source windows that should be ignored. Could someone compile this and add it to the repo?
https://github.com/CristianHenzel/ClipIt/pull/111
https://github.com/CristianHenzel/ClipIt/pull/111
Re: ClipIt - Ignore Password Managers?
The Buster version is git pull 20190202, so looks new enough. Will try and rebuild.
Re: ClipIt - Ignore Password Managers?
Thanks. Sadly, it does not work reliably.