News for hackers. Stuff that matters.
Re:With Firefox on X11, any page can pastejack you anytime (... by arp242 on Saturday October 21, 2023 @09:40PM (#37972110)
How do you copy something without adding it to the clipboard history? I can't find how to do that?

Either way, I'm pretty sure it could be added if someone cared enough, e.g. by adding a new target.

It just seems to me that if someone is able to access your clipboard history you've lost already, and the entire feature seems more of a convenience thing than a security thing.

Re:With Firefox on X11, any page can pastejack you anytime (... by charcircuit on Saturday October 21, 2023 @10:19PM (#37972274)
>How do you copy something without adding it to the clipboard history?

Win32: https://learn.microsoft.com/en-us/windows/win32/dataxchg/cli...

WinRT: https://learn.microsoft.com/en-us/uwp/api/windows.applicatio...

>Either way, I'm pretty sure it could be added if someone cared enough

That's the problem. Ironically, not enough people care about improving the security and privacy of desktop Linux.

>It just seems to me that if someone is able to access your clipboard history you've lost already

Do you not see how it could be problematic if sensitive things were logged and persisted to disk?

Re:With Firefox on X11, any page can pastejack you anytime (... by arp242 on Saturday October 21, 2023 @10:52PM (#37972426)
Most clipboard managers don't store to disk but in memory, AFAIK anyway.

And your link just shows some programmatic access? How do I access that as a user when I press Ctrl+C? I suppose it's "useful" for things like password managers, but since anything can read the clipboard anyway it's a very limited protection. If something is so sensitive that you're using that special programmatic way of storing it then you should be using the clipboard but an actually secure mechanism.