Maybe you already know that the new version of the desktop by the KDE people, that will be called Plasma 5, is in the makings. I totally believe that this forthcoming release will be truly amazing, and that’s why Aleix Pol and myself have already started porting KDE Connect to this new Desktop Environment.
Porting every application in KDE, though, requires a huge amount of work. This is one of the reasons why some of the best hackers in KDE will meet this summer in Randa, Switzerland: to work hard in the next version of the best desktop environment ever!
If you, like me, also believe that Plasma 5 will be awesome and want to help its development, I encourage you to donate in the crowd-funding campaign they started to cover the expenses of the meeting. You can do it from the following link:
Thanks from all the KDE Community!
Today we are releasing a new version of KDE Connect for Android phones and the Plasma desktop. This shiny new release includes some nice features contributed by great people in the KDE Community (and outside it). You guys are awesome!
The first feature I want to show you was contributed by Ahmed Ibrahim, and allows you to use your phone screen as a touchpad for your computer. Do you have a mediacenter or another setup where you don’t want to have a mouse and a keyboard always attached? With KDE Connect we will make you able to use your phone as a wireless input device!
And by the way, do you guess how I sent this screenshot from my phone to my laptop? Of course, I used the “Share to” feature and I sent it over KDE Connect :) In this new release, we made Android able to receive files as well, sent from a computer or another Android phone. You requested this feature for long, and finally here it is! You will be able to send files from Dolphin or from the also new command line interface, all thanks to Aleix Pol!
This version also has several improvements under the hood, has a bunch of bugs fixed and can now run on FreeBSD systems, thanks to Raphael Kubo.
To end this post I just want to thank, once again, everybody who sent patches and specially the awesome translation team of KDE, who made KDE Connect already available in 25 languages (including Catalan, my native tongue :)!
KDE Connect 0.7.2 tarball
KDE Connect 0.7.2 Android app on Google Play
KDE Connect 0.7.2 Android app on F-Droid
Edit 29/06/14: Please note that it might take a while for some distributions to release the new version. If you don’t want to compile it yourself, please be patient (and/or poke your distribution packagers until they update it).
Edit 01/07/14: A new minor version of both Android and Plasma been released today, fixing some problems found in the previous 0.7. The links above have been updated.
This is a quick post to say that, the 21st of March, KDE Connect reached the awesome number of 10.000 downloads in the Play Store! Yay! \o/
I’m very happy of this, specially because I don’t have a lot of time to put into the project at this moment, and I’m happy to see that the users and contributors of KDE Connect are keeping it alive!
And for those that can not or don’t want to use the Google Play Store, remember that KDE Connect is also available in the free store F-Droid, thanks to Daniel Martí! Also note that Blackberry 10 users can install KDE Connect on their phones this way, taking advantage of the compatibility with Android apps :)
I’ve been busy (and will be for some months) with my degree final thesis, and KDE Connect is suffering it with a development slow-down. However, we have received emails from people willing to help and I think that your contributions can be a good way to re-activate KDE Connect’s development. So, this post is for all of you who want to help!
First of all I want to post our own to-do list for KDE Connect, ordered by difficulty from easy to hard. Most of those items can be programmed as plugins, so code will be pretty stand-alone . Of course, if you have your own awesome idea you can also contribute it.
- Input emulation: Use your phone as a touchpad/keyboard.
- Answer SMS from the desktop: maybe integrating it with Telepathy.
- Share from desktop: send files from Dolphin using a context menu service.
- Reverse media controls: Add remote controls to the plasmoid.
- Sync stuff: Contacts, Wifi passwords (will need root acces), etc.
- File browser: FUSE or KIO slave to access your phone filesystem from the desktop.
- Call answering: I have no idea if this is possible and will probably need root access.
- Port to other platforms: Windows (it already builds using KDE Windows!), iPhone, Blackberry, Jolla…
For now I think we can use this post comments to publicly discuss any issue and organize the development. If there is enough people involved I will set up a mailing list.
And finally I would like to explain to people not from KDE how to contribute to KDE Connect or any other KDE project. To get involved in KDE is easy: We use a tool called review board to submit patches to projects. This allows the project maintainer to review the code, ask for any modifications and finally integrate it into the development branch. After you submit a few patches and they are accepted, you can ask for a developer account so you can push your changes directly (even though you should always use the review board anyway). Remember that patches should be as atomic as possible, and not include more than one feature.
In the KDE Projects site you will find the URIs of the different GIT repositories to grab the sources and start coding. Non-stable projects, like KDE Connect, are in the “Playground” category. And also remember that KDE Connect has two different repositories: kdeconnect-kde and kdeconnect-android.
This year’s GSOC is over. In the last 3 months KDE Connect has grown from a dream to reality. I will not take the money and run away from it now: I’m writting this post to announce that I will keep developing KDE Connect and that I hope other developers will join me to make it an awesome connectivity platfrom!
But that’s not all I want to announce, we have got new features too! The last merge to master included the promised file transfer plugin, renamed as “Share receiver plugin”. The new name makes more sense because it can not only receive files but also text and URLs from any Android app using the “Share to…” menu. For now this feature is only working from Android to KDE, but support for KDE to KDE and KDE to Android will come soon.
Here you can find a tarball for this version, tagged 0.3. We are not releasing a stable 1.0 version yet, because some things are still broken (like encryption, as you pointed me out in the comments of the last blogpost).
KDE Connect 0.3 tarball
KDE Connect Android app on Google Play
Android APK for people not using Google Play
The goal of this post is that the security experts out there find flaws in our design so we could improve the security of KDE Connect, which is an important point. Probably this will get too technical if you don’t know what RSA keys are, so proceed under your own responsibility ;).
The first thing we need in KDE Connect is the discovery of other devices. At the moment we provide a single backend that uses UDP broadcast to achieve this. When a device connects to a new network, it sends a broadcast message with its ID and name plus how to reach it (that is: IP and port). Other devices will react to that broadcast sending back their own contact information, so both devices know each other. (Note: We tried Avahi instead of a manual UDP broadcast, but finally we didn’t use it because the Android implementation is of extreme poor quality and also multicast is sometimes blocked by routers :( ).
At this point the devices can ‘talk’ between them, but they don’t trust each other until the intervention of the user, so they will discard any incoming package that is not a pairing request.
Each device has a unique pair of RSA public and private keys. When the user decides to start the pairing process from a device, that device sends its public key to the other device. If the other device accepts the pairing (it will show a message to the user with a timeout asking to do so), it will send back its own public key, so now both devices will be able to send encrypted packages (using their peer’s public key) to each other, that only the expected recipient will be able to read.
Note that the public key can easily be retrieved from a device, just by starting the pairing process with it. So only with that key and the device ID (also public) you would be able to fake a device and send encrypted packages to any other in its name (even though you would not be able to decrypt the answer, since you don’t have the private key of the device you are faking). To solve this issue, we will require a both-way encrypted handshaking (which is not implemented yet):
- Device 1 sends some random number encrypted with Device 2’s key
- Device 2 decrypts the number and encrypts it again with Device 1 public key
- Device 1 decrypts the number and checks it is the same it originally sent (so Device 2 have the correct private key to decrypt it).
- The same happens swapping Device 1 and Device 2
Do you think that the security this provides is enough or are we missing something? Would be better to have a different pair of public/private key for each device, instead of a single one?
Thank you all and happy hacking!
Google Summer of Code 2013 is coming to the end and we are working hard to have a stable and functional version of KDE Connect before then. To achieve this goal we are taking two actions:
- We are beginning to distribute tarballs of the KDE client sources and we have uploaded the Android app to the Play store, so we can have more testers (links at the end of the post).
- Since receiving bug reports in blog comments does not scale very well, we are moving KDE Connect to KDE’s playground and adding it to the KDE bug tracking system.
We will use the feedback we receive to improve the usability and fix bugs while we finish developing the file transfer feature. Note that we have disabled the battery report in this version because it required to patch kdelibs. Our plans are to just include the battery report in the plasmoid we already have to avoid that patch, but it’s not done yet.
As always, the changelog since the last blogpost follows:
- RSA encryption (more info about this in next posts)
- Symmetric encryption
- New Android interface, that should be compatible with 2.3 devices
You can clone the new git repositories from these nice and short urls:
git clone git://anongit.kde.org/kdeconnect-kde
git clone git://anongit.kde.org/kdeconnect-android
And you can get the current stable version from these links:
KDE Connect 0.1 Technology Preview tarball
KDE Connect Android app on Google Play