Bug 480605 - Deleting a clipboard entry does not sync properly
Summary: Deleting a clipboard entry does not sync properly
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (other bugs)
Version First Reported In: 24.01.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-31 15:35 UTC by Tammes Burghard
Modified: 2024-01-31 16:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tammes Burghard 2024-01-31 15:35:30 UTC
SUMMARY
***
This might be an intended feature for normal use, but for the following use case, it is a security risk in my eyes:

I use the KeepassXC password manager which copies passwords to the clipboard and automatically deletes them from the clipboard after ten seconds. If my device is connected to another device, the password remains in the clipboard history of that other device.
***


STEPS TO REPRODUCE
1. Have two devices (running Plasma 6.0 RC1) connected to each other with clipboard sharing enabled
2. Copy two pieces of text to the clipboard (we need at least two entries in the clipboard history)
3. Delete the most recent entry from device A using the clipboard history plasmoid

OBSERVED RESULT
The entry is deleted on device A, but on device B, it is swapped with the second most recent entry

EXPECTED RESULT
The entry gets deleted on both devices. At least if it was added to the clipboard by device A

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Kernel Version: 6.7.1-arch1-1 (64-bit)
Graphics Platform: Wayland