Maciek Borzecki
f9aa5cd61f
meson: add test-mconn-crypt
7 years ago
Maciek Borzecki
0acf105878
meson: minimal meson build support
7 years ago
Maciek Borzecki
276c7d3ffe
device: do not access core instance when not needed
7 years ago
Maciek Borzecki
051774ba43
channel: cleanup warnings
7 years ago
Maciek Borzecki
2e711b468e
channel: cleanup this calls and property access
7 years ago
Maciek Borzecki
a8add0b12c
configure: no longer check for libcrypto
7 years ago
Maciek Borzecki
af4fcb7f7e
travis: update dependencies
7 years ago
Maciek Borzecki
beb7b19b26
README: replace OpenSSL with GnuTLS
7 years ago
Maciek Borzecki
cb94028384
Makefile: add test-mconn-crypt as simple test
7 years ago
Maciek Borzecki
d3ff6dcfa0
channel: use TlsCertificate from core
7 years ago
Maciek Borzecki
838d0cdbcf
core: generate certificate and key during startup
The code will now generate the private key and certificate during startup.
There is a potential incompatibility with previous releases and the user may
need to unpair the device (in KDE Connect app) and pair again.
7 years ago
Maciek Borzecki
10d38d4417
vapi: add fixed GnuTLS vapi file
7 years ago
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