this post was submitted on 29 Aug 2025
79 points (95.4% liked)
Tech
1941 readers
179 users here now
A community for high quality news and discussion around technological advancements and changes
Things that fit:
- New tech releases
- Major tech changes
- Major milestones for tech
- Major tech news such as data breaches, discontinuation
Things that don't fit
- Minor app updates
- Government legislation
- Company news
- Opinion pieces
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Thank you making me smarter!
There is one thing i don't understand though. Wouldn't the password manager need to have its window focused to clear the clipboard? And wouldn't that allow any focused window to extract the information in the mean time?
Any time, we're all in this together after all. I needed to learn some here as well, and if anybody comes by with follow up knowledge it is welcome.
As far as wayland works, source clients (the application you copy from) can clear the clipboard without stealing the focus. Note that if you copy from another client, the source client is now changed to the new one and the password manager will no longer be able to clear your clipboard. And this behavior is easily verifiable.
Unfortunately I am unsure if any focused application obtains access to clipboard content immediately or if the user needs to initiate some sort of
Ctrl+v
behavior. This would need to be followed up on. However, that is why I give my password manager a 10 second timeout to clear the clipboard. Honestly it could be shorter. But I do not alt tab through a bunch of random applications in the mean time. Typically I go straight to where the authentication is needed, and nowhere else. Meaning my clipboard should be cleared of sensitive data before I ever give clipboard access to another app.Better than other graphical compositors which simply broadcast your clipboard content to the entire ecosystem.
So where we're at is 1) do apps get access to the clipboard immediately upon focus, and 2) what is happening where it appears some applications have hacked a way to steal focus.