Maciek Borzecki
a0894773f2
share, transfer-download: add TLS support, refactor async code
7 years ago
Maciek Borzecki
83e32a9669
devicechannel: use TLS connection helpers from Utils
7 years ago
Maciek Borzecki
a7c0bc448c
device, device-proxy: separate certificate and certificate_pem properties
7 years ago
Maciek Borzecki
ddfd71fd85
utils: add helper for wrapping SocketConnections in TLS
7 years ago
Maciek Borzecki
e64f2f8b5d
mconnect/utils: fix indentation
7 years ago
Maciek Borzecki
b1a34b8fab
meson: update the listing of mconnect source files
7 years ago
Maciek Borzecki
1467aa9e3c
transfer-download: log on connection and transfer start
7 years ago
Maciek Borzecki
e3bdfb7a8b
share: remove unnecessary warning
7 years ago
Maciek Borzecki
e7270a5665
share: trigger transfer share and share-request packets
7 years ago
Maciek Borzecki
dd9bb3bc11
packethandlers-proxy: remove unnecessary break
8 years ago
Maciek Borzecki
8ed76ce816
share: remove unnecessary warning log
8 years ago
Maciek Borzecki
6e20caf398
transfer-download: remove unused variable
8 years ago
Maciek Borzecki
fe2aebf01f
transfer: cleanup error & stream handling
8 years ago
Maciek Borzecki
0b6b5b2374
share, transfer: user friendly size formatting
8 years ago
Maciek Borzecki
fefef8e39b
share: fix error handling when creating downloads path
8 years ago
Maciek Borzecki
fed9426828
mconnect/utils: put helper code inside Utils namespace
8 years ago
Maciek Borzecki
717749a2c0
mconnect: move logging to separate file
8 years ago
Maciek Borzecki
8bd911558d
device, utils: remove unnecessary helper array_list_to_list()
8 years ago
Maciek Borzecki
ae5f975175
mconnect/{share,transfer,download): file sharing - download support
8 years ago
Maciek Borzecki
5320b8039e
mconnect/devicechannel, utils: move socket keepalive setup to utils
8 years ago
Maciek Borzecki
a7524610fb
share: starting work on file sharing support
8 years ago
Maciej Borzecki
332cadb996
Merge pull request #26 from bboozzoo/bboozzoo/meson-only
drop autotools, use meson exclusively
7 years ago
Maciek Borzecki
9ca9f24dc8
README: update build instructions, add meson dependency
7 years ago
Maciek Borzecki
e6cfb51e2c
extra: helper for doing local builds
7 years ago
Maciek Borzecki
0ea5f7650a
build: drop autotools
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
7 years ago
Maciej Borzecki
3f3f373a35
Merge pull request #25 from bboozzoo/bboozzoo/tls-support
TLS support
7 years ago
Maciek Borzecki
e14752fb7f
device, device-proxy: expose SHA1 fingerprint of device certificate
Fingerprint is avaialble as CertificateFingerprint property, the format is the
same as produced by GnuTLS' certtool, eg:
sha1:d7860c6978d714e9e8f9805065602ea14e295df9
7 years ago
Maciek Borzecki
3f3abe76cb
crypt: take string instead of uint8[] as PEM encoded certificate
7 years ago
Maciek Borzecki
20077fdb54
crypt: add helper for fingerprinting certificates
7 years ago
Maciek Borzecki
83e1ef73d6
mconnect: export own certificate over DBus
mconnect's certificate is accessible as Certificate property of
org.mconnect.DeviceManager interface on /org/mconnect/manager object.
7 years ago
Maciek Borzecki
1905ff743a
mconnectctl: display device certificate
Display device certificate when running show-device in verbose mode. To
introspect the certificate run the following:
mconnectctl show-device --verbose /org/mconnect/device/0 | \
certtool -i
7 years ago
Maciek Borzecki
91d75d65bd
device-proxy: make device certificate readable through DBus
7 years ago
Maciek Borzecki
89f9c5c332
device: backwards compatible loading of cached devices
Previous version of mconnect did not have a 'certificate' key in device section.
When loading such device do not fail instantly but rather log a warning and let
the loading continue further.
7 years ago
Maciek Borzecki
38f5310532
meson: provide run-gdb target
7 years ago
Maciek Borzecki
e50508c238
travis: install glib-networking
Glib TLS support is required to run some of the tests
7 years ago
Maciek Borzecki
ed25612242
test/mconn-crypt: log errors
7 years ago
Maciek Borzecki
0df9642160
meson: install mconnect.desktop and a sample config file
7 years ago
Maciek Borzecki
69273c5151
meson: install mconnect binaries
7 years ago
Maciek Borzecki
60e13e2574
meson: generate mconnect.desktop
7 years ago
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