Earlier quoted context omitted.
FYI Window's clipbord history has better security than what desktop Linux has. For example desktop Linux currently has no way to copy an image and specify that the contents are sensitive and should not be added to the history. Poor API design and the inability for APIs like the clipboard to evolve are part of the reason why desktop Linux's security keeps falling behind other operating systems.
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.
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?
Edit: Some clipboard managers on Linux do have an undocumented way to do this by adding an additional format to what's being copied with a MIME type set to x-kde-passwordManagerHint and data set to "secret".