Skip to content

Improve: Exclude sensitive Linux pastes from history#455

Open
Sewer56 wants to merge 10000 commits intoProtonMail:mainfrom
Sewer56:add-linux-sensitive-clipboard
Open

Improve: Exclude sensitive Linux pastes from history#455
Sewer56 wants to merge 10000 commits intoProtonMail:mainfrom
Sewer56:add-linux-sensitive-clipboard

Conversation

@Sewer56
Copy link
Copy Markdown

@Sewer56 Sewer56 commented Aug 23, 2025

Related:

This PR enables the x-kde-passwordManagerHint MIME on clipboard writes via exclude_from_history().

Although originally a KDE invention, this is commonly supported across various software in the Linux ecosystem (including other password managers) and should prevent certain clipboard managers from storing passwords inside unencrypted clipboard history, which is undesired.


Unfortunately, I have not been able to test if this works on my live system.
Due to following issue:

image

I couldn't get any of the workarounds to work.

After I already spent ~2 hours, 1.5h of which were just trying to get it to build 😅 Sewer56@de6b93e#diff-cef540503c67fa4a36d1b9fe95a62f979c4b8b2bc43a6e023e250b7154341afc (👈 Reproducible direnv/devenv)

[Between having no real webdev experience with yarn, etc. undocumented dependencies, and NixOS; getting it to build at all was not easy. Biggest thing was not knowing package.json inside each project exposes a scripts, which contains the runnable items.]

Anyway, I'll leave the rest up to you folks.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.