Comments (12)
Dang -- I was going to post a request for keeweb support (or arbitrary application 'ignore' support) but if there's no way to get clipboard metadata... can it check to see what application has focus when the clipboard updates instead (assuming the clipboard is being modified by the focused application) and blacklist certain processes?
from gnome-shell-extension-clipboard-indicator.
Hi @dunnodun :)
Thanks for reporting this issue. I know of it already, as you can see in #46, but unfortunately I have no clue as to how such a thing can be implemented. In the aforementioned ticket I suggested adding a "safe copy" shortcut (which will be configurable) that will copy the text but remove it after a set period of time. Is this a possible solution for you?
Do you maybe have any other idea?
from gnome-shell-extension-clipboard-indicator.
Sorry I have little coding experience.
Is it possible for the extension to look into the systems processes? If it's possible than I think it shouldn't be a problem to deactivate saving the content of the clipboard, if a program with the name keepassx2 is running.
from gnome-shell-extension-clipboard-indicator.
Looking through the processes might be an option, but if you are running keepassx in the background at all times, it will make the clipboard manager redundant (since it will not save anything). ๐
from gnome-shell-extension-clipboard-indicator.
Is it possible for the extension to show a notification or something like this? If so you could notify the user that the private mode is being activated as long as a program like KeePass is running.
Edit:
Ah maybe it's not a good solution, but at least it's a workaround for me. I will try to implement it for me, but since I have that little knowledge it could take some time.
from gnome-shell-extension-clipboard-indicator.
When I tried looking into the Gnome/GTK3 specs / dev info for cliboard features for #46, I couldn't find anything that allows identifying which application pasted the data - so this is a really hard problem. KeePass might be able to delete it because it can read the clipboard and recognise it matches the password, but this poor extension has no clear way of knowing which clipboard items belong to keepass.
At best, maybe there's a way to figure out/observe if an item is deleted from the copy paste buffer and then remove it from history too?
from gnome-shell-extension-clipboard-indicator.
keeping track of which window is in focus is about the only nasty workaround - maybe some hit and miss window title/name blacklist matching of sorts would be idea, and browser tabs might make for an extra "interesting" bit of pain.
In the meantime, if you want to keep cleartext passwords from ending up on perminant storage, here's a workarround: #46 (comment)
Also using an encrypted volume or storage medium helps avoid some of the risk.
from gnome-shell-extension-clipboard-indicator.
#78 adds an option so that the on disk cache / regsistry.txt file won't store clipboard content, inlcuding passwords. However, that knowingly breaks clipboard history persistence between gnome-shell sessions (reboot, logoff & login).
Doesn't fix/close this issue. Just a possible mitigation.
from gnome-shell-extension-clipboard-indicator.
I'm sure this goes without saying but just in case, it would be nice to add support for other password managers too
from gnome-shell-extension-clipboard-indicator.
Another approach to tackle this issue:
It would be really easy to overcome this issue, if the clipboard indicator would provide shortcuts for "Deactivate clipboard indicator" and "Activate clipboard indicator".
With this two new shortcuts, it is already manually possible to deactivate it, copy the PW and activate the indicator again -> password never added to clipboard indicator, what is good.
But this still is not very convenient. So another feature request on KeePass side must be placed to allow "Pre-Copy-Commands" and "Post-Copy-Commands". So it should then be able to add the Clipboard indicator shortcuts to KeePass and everytime a password is copied, it deactivates the indicator first and activates it again afterwards.
What do you say to this?
from gnome-shell-extension-clipboard-indicator.
Will this be implemented?
from gnome-shell-extension-clipboard-indicator.
Closing this since it's the same as #46.
from gnome-shell-extension-clipboard-indicator.
Related Issues (20)
- Features to hide icons in the top bar HOT 1
- Popup Placement when no indicator is there HOT 3
- Paste button pastes the contents of the clipboard in place of the selected item in the history
- [BUG] pop up notification no working. HOT 6
- Shortcuts HOT 8
- image support doesnยดt work HOT 1
- Doesn't work due to clipboard entry parsing HOT 10
- Unhandled promise rejection. To suppress this warning ..
- Encoding problems HOT 4
- RCE vulnerability when copying full system paths HOT 16
- "Copied to clipboard" notification appears every time I copy anything, with no option to disable it HOT 1
- [BUG]: Unhandled promise rejection HOT 7
- "Text will be here" is displayed in the tray and nothing happens by clicking on it. HOT 24
- Lag - Delay HOT 5
- Suggestion: make it work as Win+V on windows HOT 2
- [BUG] In-menu keyboard controls do not work HOT 2
- Scroll Bar is Inaccessible To Mouse HOT 1
- shows sensitive information on next and previous entries HOT 2
- Non-Latin characters doesn't work HOT 2
- History clears on screenlock HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnome-shell-extension-clipboard-indicator.