csoler
1fb1f3ebaf
update of groups up to the latest attached circle server update TS. Should re-send groups that depend on a circle when the circle change
2016-03-21 23:21:26 -04:00
csoler
31356bab96
added reload of grp meta on update
2016-03-16 21:27:46 -04:00
csoler
384131a231
added force reload of cache for circles that are modified
2016-03-15 22:41:59 -04:00
csoler
6466209553
added test to only subscribe/unsubscribe circles when needed, hence avoiding an unnecessary TS update
2016-03-15 22:11:36 -04:00
csoler
80aaf30a01
fixed potential crash due to bad usage of updates
2016-03-15 00:00:39 -04:00
csoler
bdb326a989
attempt at fixing circle cache loop. Renamed a few variables and fixed logic. Not yet fully working
2016-03-14 23:19:37 -04:00
csoler
9c649aa58c
improved debugDump(), showing the subscription status of each grp
2016-03-13 12:08:03 -04:00
csoler
051806227f
fixed circle auto-subscribe
2016-03-13 11:29:21 -04:00
csoler
61c7da7e2d
unselect all IDs when no circle is selected
2016-03-12 11:02:32 -05:00
csoler
9e8a4cdac4
fixed auto-subscribe of circles when unsigned identities are locally owned
2016-03-11 22:36:47 -05:00
csoler
4eebe24ee2
disabled auto-sync for messages in GXS circles, while keeping Grp auto-sync
2016-03-09 20:23:33 -05:00
csoler
53f32f2dc8
added missing collection of some peers in p3gxscircles::recipients()
2016-03-04 13:45:35 -05:00
csoler
3c2c1df245
added test against empty circles
2016-03-03 21:37:36 -05:00
csoler
9ddef9e45b
merged with upstream/master
2016-02-25 17:48:59 -05:00
csoler
0bcf52c442
added missing update of mRecvTS in database when updating a group metadata
2016-02-24 16:51:56 -05:00
csoler
f5eb791230
added notification for modified metadata in group. Does not yet work on friends though.
2016-02-23 23:04:22 -05:00
csoler
b8c42a9eb7
added copy of previous subscription flags when group update is received. Avoids unsubscribing friends when publishing an update to grp metadata
2016-02-23 23:04:22 -05:00
csoler
fafe75dca6
added update of mServerUpdateTS up to last mRecvTS of each group, which holds the last time the grp meta data was received/modified
2016-02-23 23:04:22 -05:00
sehraf
dbdfdcd008
removed unused map lookups
2016-02-22 21:09:10 +01:00
sehraf
77166cbf13
impoved cleanup of unused locations
2016-02-22 16:41:31 +01:00
csoler
dcf86e6384
removed compilation warning and added warning about missing vetting for external circles
2016-02-21 12:00:09 -05:00
csoler
3446e20506
removed debug output from p3grouter.cc
2016-02-21 11:47:44 -05:00
csoler
0266b3cfa2
improved debug output in gxsnetservice.cc
2016-02-21 11:34:49 -05:00
csoler
edef6dc339
moved subscription flags when received group changes/create group to the case where the group is actually created (fixing bug causing group meta data change to unsubscribe friends)
2016-02-21 10:29:35 -05:00
electron128
dcbd99f0ab
Merge pull request #202 from electron128/fixtests
...
make tests compile
2016-02-21 11:20:14 +01:00
csoler
09a6efad52
removed dead code in GxsSecurity
2016-02-20 21:25:21 -05:00
csoler
41a03eb331
fixed small bug causing update of TS to fail in encrypted NxsItems
2016-02-20 21:21:15 -05:00
csoler
6a4add8806
implemented per-item encryption and Vetting method compatibility layer
2016-02-20 17:53:03 -05:00
csoler
b2a6bfbbd0
fixed one bug in debug output of encrypted key offset
2016-02-19 20:55:27 -05:00
csoler
405ecefbf8
added proper decryption calls for partial decryption and possible re-try after loading keys.
2016-02-19 20:47:50 -05:00
Cyril Soler
5a48070171
Merge pull request #281 from sehraf/pr-disc-increase-auto-clean-time
...
discovery: don't remove new added locations too soon
2016-02-19 10:45:18 -05:00
sehraf
4140969fcb
added seperated limit for discovery (30 days)
2016-02-19 16:35:11 +01:00
csoler
0293e246a2
fixed encryption method on the basis that encrypted keys always have the same length
2016-02-18 23:38:07 -05:00
csoler
6995212a8b
added code for single item encryption/decryption
2016-02-18 21:30:52 -05:00
csoler
697ef4061c
added test against arbitrary large items in turtle search requests.
2016-02-17 09:39:08 -05:00
csoler
51d90a4ef4
added test against arbitrary large items in turtle search requests.
2016-02-17 09:39:08 -05:00
csoler
08e4c90cc2
added single-block multiple encryption
2016-02-16 22:36:22 -05:00
Cyril Soler
d878334551
Merge pull request #206 from realityfabric/master
...
Added top level license file for GPL 2.0
2016-02-16 17:45:49 -05:00
sehraf
841299d077
discovery: don't remove new added locations too soon
...
was: removed after 10 min. or less - when no connection is established
now: removed after 1 day - when no connection is established
2016-02-16 20:33:38 +01:00
csoler
763108f5fa
debugged transport of encrypted items. Still needs work.
2016-02-15 23:24:18 -05:00
csoler
0513e71c68
fixed sending part in encrypted msg items
2016-02-14 19:42:21 -05:00
Cyril Soler
efadc7d2c6
Merge pull request #270 from PhenomRetroShare/Fix_GxsChannelFilterWhenLoading
...
Fix Channel filter when loading big post.
2016-02-14 13:38:08 -05:00
Cyril Soler
3ab7c89660
Merge pull request #279 from cavebeat/single_dh_op
...
added openSSL option SSL_OP_SINGLE_DH_USE regarding CVE-2016-0701
2016-02-14 13:33:27 -05:00
cave beat
9843c8381b
added openSSL option SSL_OP_SINGLE_DH_USE regarding CVE-2016-0701
...
tl;dr The OpenSSL 1.0.2 releases suffer from a Key Recovery Attack on DH small subgroups. This issue got assigned CVE-2016-0701 with a severity of High and OpenSSL 1.0.2 users should upgrade to 1.0.2f. If an application is using DH configured with parameters based on primes that are not "safe" or not Lim-Lee (as the one in RFC 5114) and either Static DH ciphersuites are used or DHE ciphersuites with the default OpenSSL configuration (in particular SSL_OP_SINGLE_DH_USE is not set) then is vulnerable to this attack.
2016-02-14 18:49:37 +01:00
electron128
821c14426c
remove dead code from RsNotify (old forum and channel read status changed notify)
2016-02-14 12:48:52 +01:00
electron128
63a8260cb9
change RsNotify to use RsGxsId for chat lobby events
2016-02-14 11:53:27 +01:00
electron128
aa93505860
added missing lock in RsSharedPtr destructor
2016-02-13 11:55:27 +01:00
electron128
9f9221273a
- make tests compile
...
- added tests to travis.yml
- excluded grouteritems and photoitems from test, because they changed too much
- disabled failing tests
- all tests pass in valgrind, without valgrind result is undefined
- to compile tests add CONFIG+=tests to qmake args. Then run tests/unittests/unittests
2016-02-13 11:55:25 +01:00
csoler
71071595c8
called re-loading of circles after creation. Added debug info in msg vetting
2016-02-11 21:59:45 -05:00
csoler
5ba8965523
fixed compilation
2016-02-10 22:18:55 -05:00