Maciek Borzecki
d632aa5c74
crypt: dump openssl cryptography helpers in favor of GnuTLS based wrapper
Replace OpenSSL helpers with ones based on GnuTLS. GnuTLS is already an indirect
dependency since we require GLib's TLS support. As support for older protocol
versions was removed, we will not need any extra library for handling explicit
packet decryption.
This change will also resolve potential license incompatibility issues.
7 years ago
Maciek Borzecki
1e1f72cc06
device, channel: no longer support explicitly encrypted packets
7 years ago
Maciek Borzecki
836244a5dc
mousepad: accept both kdeconnect.mousepad and kdeconnect.mousepad.request
7 years ago
Maciek Borzecki
49fa30c841
device, channel, packet: support for TLS encrypted channel
Introduce support for device channel encryption using TLS. The change is
compatible with current KDE Connect protocol version 7.
Device no longer has a public key, instead the public key was replaced by its
certificate as obtained during TLS handshake.
Device channel connection is now 3 step - first, the initial connection happens,
after which an identity packet is sent to the device, followed by TLS
handshake (including crypto suite negotiation, certificate exchange). Note, KDE
Connect supports TLS 1.0 at the moment. Failure to perform a TLS handshake will
cause device connection to be dropped.
7 years ago
Maciej Borzecki
6d8f714b34
Merge pull request #21 from bboozzoo/bboozzoo/travis-ci-ubuntu
travis: add Ubuntu CI builds
7 years ago
Maciek Borzecki
b31832ac04
travis: add Ubuntu CI builds
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
7 years ago
Maciek Borzecki
cc8ca6f554
Merge branch 'bboozzoo/dbus-support'
7 years ago
Maciek Borzecki
c252180609
README: update readme
7 years ago
Maciek Borzecki
f34910669c
extra/firewalld: add sample firewalld configuration
7 years ago
Maciek Borzecki
33b0b9ef3a
mconnectctl: add active field
8 years ago
Maciek Borzecki
235578165f
device: cleanup out parameters in merge_capabilities()
8 years ago
Maciek Borzecki
5a373602cb
packet: support payload information
8 years ago
Maciej Borzecki
6269758fe7
Merge pull request #18 from andyholmes/bboozzoo/dbus-support
add device_added, device_removed signals
7 years ago
Andy Holmes
28c8345eca
add device_added, device_removed signals
7 years ago
Maciej Borzecki
ca1a017aa2
Merge pull request #13 from andyholmes/bboozzoo/dbus-support
add 'disallow_device()' function
7 years ago
Andy Holmes
f8b0de37a8
add 'disallow_device()' function to devicemanager.vala and devicemanager-proxy.vala
8 years ago
Maciek Borzecki
9602f5a238
travis: build on opensuse
8 years ago
Maciek Borzecki
50057f935b
mconnectctl: use IsConnected property
8 years ago
Maciek Borzecki
60461c08ab
mconnectctl: --verbose switch
Affects show-device output.
8 years ago
Maciek Borzecki
8894650a9f
device-proxy: add is_connected (bool IsConnected) property
Hook to connected()/disconnected() Device signals.
8 years ago
Maciek Borzecki
c932b851df
device: make is_active a simple property
8 years ago
Maciek Borzecki
64bb2741f7
device: emit connected() signal
8 years ago
Maciek Borzecki
3f2b15715f
device-proxy: signal PropertiesChanged
8 years ago
Maciek Borzecki
a1bc21e07a
battery-proxy: remove battery(level, charing) signal
8 years ago
Maciek Borzecki
99dd419d6a
battery-proxy: use DBusPropertyNotifier helper for sending property notifications
8 years ago
Maciek Borzecki
74378335f5
property-proxy: helper class for sending out DBus PropertiesChanged signals
8 years ago
Maciek Borzecki
a0f1ba8efa
mconnect/battery-proxy: send org.freedesktop.DBus.Properties.PropertiesChanged
8 years ago
Maciek Borzecki
6d911bdb71
test: cleanup indentation
8 years ago
Maciek Borzecki
f739c652b3
test: fix implicit declaration of g_remove()
8 years ago
Maciek Borzecki
4c542bf551
crypt: cleanup deprecated RSA_generate_key()
8 years ago
Maciek Borzecki
11cd80adcf
crypt: cleanup tabs
8 years ago
Maciek Borzecki
c183a1b120
dir-locals: add emacs setup
8 years ago
Maciek Borzecki
ed2c15210a
battery-proxy: add Level and Charging properties to DBus interface
8 years ago
Maciek Borzecki
278d4ca2a4
device-proxy, devicemanager-proxy: register packet handlers on DBus
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago
Maciek Borzecki
debd2c5a53
devicemanager: make sure to notify about new device before device capability signals
8 years ago
Maciek Borzecki
c1f18c11c3
devicemanager, packethandlers: rework device capability handling
8 years ago
Maciek Borzecki
fb1108bf91
device: improved device capabilty handling
8 years ago
Maciek Borzecki
462ecc3a60
core: formatting change
8 years ago
Maciek Borzecki
ea6577b0e5
device, discovereddevice, utils: use same method for generating 'unique' device strings
8 years ago
Maciek Borzecki
8aee6ecfcc
mconnectctl: print capabilities
8 years ago
Maciek Borzecki
e4b82e1cfd
mconnect/main: initialize Gdk
Mousepad handler requires Gdk to be initiazed.
8 years ago
Maciek Borzecki
47f1d819c5
device-proxy: make object path part of DeviceDBusProxy
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago
Maciek Borzecki
725eec8214
battery-proxy: track bus registration ID
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago
Maciek Borzecki
aa7262b89a
mousepad: distinguish mousepad capability and packets
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago
Maciek Borzecki
4f09325cb4
packethandlers-proxy, devicemanager-proxy: register per-device DBus interfaces of packet handlers
8 years ago
Maciek Borzecki
5accd01ee1
battery-proxy: DBus interface for battery packet handler
8 years ago
Maciek Borzecki
b89b34de8d
ping-proxy: DBus interface of ping packet handler
8 years ago
Maciek Borzecki
f8e8a30e33
device-proxy: keep track of per-device DBus exported packet handlers
8 years ago
Maciek Borzecki
8dfcf6c189
packethanlerinterface-proxy: packet handler exported over DBus
8 years ago
Maciek Borzecki
95c16fed52
ping, battery, mousepad: make packet types public
8 years ago