Samoilenko Yuri
b1683127a6
Private key bugfix
2014-01-18 02:08:33 +04:00
Samoilenko Yuri
f9bad88aeb
using key for auth. A lot of debug outputs
2014-01-17 12:57:07 +04:00
Samoilenko Yuri
599efe541c
bugfixes
2014-01-17 00:47:21 +04:00
Samoilenko Yuri
b1de40d29e
PrivateKey management refactored
...
- privateKey now stored in ~/.kde4/apps/kdeconnect/key.pem
- publicKey now stored in ~/.kde4/apps/kdeconnect/key.pub
- Daemon checks right permission(very strict) when starting
Testing needed :)
2014-01-16 20:36:05 +04:00
Albert Vaca
445cb84e89
Fixed bug causing plugins not being unloaded
...
When unpairing from device
2014-01-16 15:48:40 +01:00
Albert Vaca
d782060b39
Code chages for compatibility with MSVC compiler
...
Thanks to Xiluembo
2013-11-18 02:34:34 +01:00
Albert Vaca
6e5de6f437
qDebug -> kDebug with namespaces
...
Added 3 namespaces: kdeconnect_kded, kdeconnect_kcm and libkdeconnect
2013-11-06 22:16:55 +01:00
Albert Vaca
b1c8726cac
Refactor to remove code duplication in Device
2013-11-06 21:34:55 +01:00
Albert Vaca
2ca7436e2c
Device now reads and keeps the deviceType it receives in identityPackages
2013-11-06 21:34:55 +01:00
Albert Vaca
8361d7e42a
Increased pairing timeout time from 20 to 30 seconds
2013-10-29 17:46:57 +01:00
Aleix Pol Gonzalez
5e151d185e
Improved package dispatch to the different plugins
...
Before this patch, all plugins had to discard received packages that were
not for themselves. This could be a security problem (a plugin could sniff
other plugin's packages) and also adds some complexity and processing.
This patch makes the device instance aware of what services are required
by the different plugins and when a package is received the corresponding
plugins will get the package.
These services will be listed on the plugin's desktop file, so the user
can decide whether to enable a plugin.
Note that this only works for receiving, not sending.
REVIEW: 113210
2013-10-29 17:46:57 +01:00
Mauro Panzeri
63488781b9
Update device name on reconnection
...
Since the remote device can now change its name, re-read the device name from
the identityPackage
REVIEW: 113203
2013-10-29 17:46:57 +01:00
Aleix Pol
faa3daa585
Code review
...
Fixes/adds some comments.
Proper use of some Qt API.
REVIEW: 113195
2013-10-11 15:20:04 +02:00
Albert Vaca
920d945a5d
ProtocolVersion is read for already known devices too
...
It might have changed since last connection, so we don't store it
2013-10-01 03:11:22 +02:00
Albert Vaca
4363ea8fdb
Device class now stores the protocolVersion of the device
2013-10-01 01:09:20 +02:00
Albert Vaca
2fd082f4a0
Includes and cmakelists cleanup
2013-09-26 17:49:40 +02:00
Albert Vaca
f8825e013e
KCM updated when pairing state changes externally
...
Added an unpaired() signal to KDED's Device exported by dbus
2013-09-20 16:03:17 +02:00
Albert Vaca
158e32adcf
Debugging filetransfer
2013-09-16 15:21:22 +02:00
Albert Vaca
42e0b4a066
Moved cryptography layer down from Device to DeviceLink
...
DeviceLinks will need to know what they are sending and receiving to handle
payloads, so encryption can not happen above them.
2013-09-13 23:27:16 +02:00
Albert Vaca
91949acaa5
Refactor: Moved devicelinks and linkproviders to backends
2013-09-09 18:35:56 +02:00
Albert Vaca
aa86ad5c3c
Less verbosity: commented lots of QDebugs
2013-09-09 18:28:52 +02:00
Albert Vaca
0ff5600ce2
i18n
2013-09-04 21:19:02 +02:00
Albert Vaca
be45c577ef
Added RequestedByPeer status to the state machine
2013-09-03 22:11:13 +02:00
Albert Vaca
402564733f
Fixed too early assignment
2013-09-03 19:14:33 +02:00
Albert Vaca
e59b94f03d
Simplified unpair logic
2013-09-03 19:14:11 +02:00
Albert Vaca
161ec366cc
Using PEM format instead of Base64 encoded DER for the keys.
2013-09-03 16:01:28 +02:00
Albert Vaca
9a0d110769
Removed unused includes and fixed indentation in some lines
2013-09-03 02:14:27 +02:00
Albert Vaca
892385f3fc
Simplified NetworkPackage format
...
Now protocol version is only sent once (in the identity package)
Removed "isEncrypted" bit, using type "kdeconnect.encrypted" instead.
NetworkPackage's decrypt and unserialize return false when find problems
Updated tests.
2013-09-02 13:26:26 +02:00
Albert Vaca
36e5d41811
Renamed daemon -> kded
2013-09-02 03:23:34 +02:00