82
submitted 5 months ago by shaked_coffee@feddit.it to c/linux@lemmy.ml

A couple of years ago with my old phone (running if I don't remember wrong Android Pie) and my old laptop (running Manjaro KDE) I discovered KDEConnect and how it could enable a clipboard sharing feature similar to the one Apple provides between Macs and iPhones. It was great! Now, after having changed both my phone (now running Android 14) and my laptop (now running PopOS! 22.04) I wanted to reproduce that magic but I found out that with Android 10 some complications regarding clipboard sharing arrived and so it doesn't work out-of-the-box anymore :(

I found some saying that the only way to do that was by the persistent notification button (still ok but meh) and some others reccomending some adb commands to make it work as it was before (which would be great but I wanted to investigate a bit more before pasting some random commands to my terminal)... but it was all kinda old content (referring to Android 10 or at most 11), what's the situation as of today? Do you use clipboard sync? And if so, how?

you are viewing a single comment's thread
view the rest of the comments
[-] takeheart@lemmy.world 22 points 5 months ago

Works as intended for me between my android phone and Kububtu PC however I deliberately turned it off for security reasons.

¿Why? Whenever I copy a password from my password manager on the PC it is shared to the Android phone and stored on the clip board there in plain unecrypted form. Since I also use a clip board manager app which remembers anything that is copied for later retrieval this means that if I were to lose my phone it would yield the finder with a long list of logins and passwords that I use.

I could of course manually delete each password from the smart phone after logging in but it's way too much of a hassle and I'm prone to simply forgetting it.

By default KDE connect should simply not transfer copies made from password managers. It bypasses the whole security feature that password managers have which automatically clears the clipboard a short time after copying any password. Last I checked there were feature requests // bug reports on github arounc issue. But I'm not tech savvy enough to know whether there is a programmatic way to detect what kind of app the copy is originating from or whether we are stuck with the current way by design constraint.

[-] Bananable@feddit.nl 9 points 5 months ago

There is a config option that doesnt share passwords, "as marked by password managers" idk how well it works but it might block that behavior. On the PC side in clipboard configs in kde connect.

[-] takeheart@lemmy.world 3 points 5 months ago

Nice to see that option included. It wasn't there the last time I checked.

[-] shaked_coffee@feddit.it 3 points 5 months ago

Thanks for pointing this issue out! Idk how the KDE team is moving to address this, but I know that for example the gnome extension Pano (which is a clipboard manager) has a blacklist of apps that should ignore (and which by default is most popular password managers), so KDEConnect could do the same I guess...

this post was submitted on 17 Mar 2024
82 points (96.6% liked)

Linux

47223 readers
892 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS