Torsten Grote
a9b678df32
Remove broken and deprecated MessageQueue as it is not needed anymore
...
Closes #308
2018-04-25 10:14:04 -03:00
Torsten Grote
f81ef30b47
Replace old introduction client with new one
2018-04-25 10:14:01 -03:00
Torsten Grote
d57102ed90
IntroductionCrypto: Create dedicated class to handle introduction related crypto
2018-04-25 10:13:40 -03:00
Torsten Grote
e1fae7ad95
Implement SessionEncoder and SessionParser
2018-04-25 10:13:40 -03:00
Torsten Grote
672a52b2e5
Implement MessageEncoder and MessageParser
2018-04-25 10:13:39 -03:00
Torsten Grote
155c6a5613
Messages and Validator for new Introduction Client
2018-04-25 10:13:39 -03:00
akwizgran
0217c205a1
Add constant-time method for verifying MACs.
2018-04-25 12:23:46 +01:00
akwizgran
d23fc2cbda
Use TestUtils to create groups.
2018-04-17 17:57:06 +01:00
akwizgran
58d1707467
Set max length for client IDs.
2018-04-17 17:57:00 +01:00
akwizgran
6bf2cb69c5
Use Ed25519 for signatures.
2018-02-01 16:56:50 +00:00
akwizgran
6bdb099aa9
Use scrypt for password-based key derivation.
2018-01-22 14:39:49 +00:00
akwizgran
e474042af7
Use author encoding and parsing helpers everywhere.
2018-01-16 17:38:21 +00:00
akwizgran
030b9ef053
Use a versioned format for encoding authors.
2018-01-16 15:30:59 +00:00
akwizgran
f11a97631f
Avoid unnecessary DB queries when starting clients.
2018-01-07 11:24:41 +00:00
akwizgran
f2f98f28a3
Include client version in group ID derivation.
2017-12-05 16:07:17 +00:00
akwizgran
32e0b39771
Include protocol version in shared secret derivation.
2017-12-05 16:07:17 +00:00
akwizgran
d2348a4e7d
Remove method that just wraps a MAC call.
2017-11-30 17:08:59 +00:00
akwizgran
9f7021acd3
Include namespaced labels in crypto operations.
2017-11-30 17:08:56 +00:00
akwizgran
d7383a3361
Effectively final.
2017-11-21 10:51:35 -02:00
akwizgran
a5b321a93b
Multi-catch.
2017-11-21 10:49:10 -02:00
akwizgran
5fa6b0ca1c
Lambdas.
2017-11-21 10:49:08 -02:00
akwizgran
27328afe3c
Diamond operators.
2017-11-21 10:45:47 -02:00
Torsten Grote
1bf0fdfa81
Add an option to debug builds to create fake test data
2017-09-27 13:55:29 -03:00
Torsten Grote
c30bfa12ce
Fix NPE when some RSS items don't have dates and add test
2017-09-20 09:11:06 -03:00
Torsten Grote
911c0c0fd9
Fix crash when sharing a forum while it was just shared with us
2017-09-19 14:30:57 -03:00
Torsten Grote
de29fbc324
Fix bug where RSS feeds got lost when a fetching error occured
2017-08-01 15:32:51 -03:00
Torsten Grote
167fddfbcc
Add unit tests for BlogSharingManager
2017-07-25 12:45:36 -03:00
Torsten Grote
f25badc18c
Move responsibility for pre-sharing blogs to sharing manager
...
to have all the code related to that in one place,
so it is easier to maintain and to spot bugs.
This also checks that only blogs without an existing sharing session
are shared and initialized again.
It extends an existing test to catch the missing check.
This removes some debugging information from the previous commit
to not leak private information via the sharing sessions.
Fixes #979
2017-07-17 14:07:47 -03:00
akwizgran
2007078f13
Added test for sharing an RSS blog.
2017-07-07 18:02:15 +01:00
Torsten Grote
098c1d0b1e
Add test where two contacts remove each other
2017-07-04 11:30:17 -03:00
akwizgran
79aafcda69
Fixed a test, added a regression test.
2017-06-30 12:58:44 +01:00
akwizgran
5b05424d83
Merge branch 'master' into '941-store-correct-parent-id'
...
# Conflicts:
# briar-core/src/test/java/org/briarproject/briar/blog/BlogManagerImplTest.java
2017-05-12 09:34:24 +00:00
Torsten Grote
6a07d8f2c9
Allow to remove pre-shared blogs of our contacts
2017-05-10 13:50:07 -03:00
Ernir Erlingsson
7024e04d15
fixed final akwizgran comments
2017-05-06 21:31:53 +02:00
Ernir Erlingsson
948410a064
fixed unread buttons for threaded lists and akwizgran's comments
2017-05-05 14:49:53 +02:00
Ernir Erlingsson
044719432a
list position save and restore now implemented for threaded lists
2017-05-02 11:42:55 +02:00
akwizgran
76a5e25656
Added tests for wrapping and rewrapping blog posts.
2017-04-19 12:16:18 +01:00
akwizgran
84986d393f
Added a test for #941 , fixed some broken tests.
2017-04-13 17:28:45 +01:00
Torsten Grote
4b955809f7
Address review comments
2017-04-12 15:18:27 -03:00
Torsten Grote
9bfb58a764
Show blog posts from RSS feeds with a dedicated icon
...
This adds a field to the post headers and some more tests.
2017-04-12 08:43:24 -03:00
Torsten Grote
b0b4a85d15
Add integration test for FeedManager
...
Attention: This factors out a DnsModule to be able to make actual
non-Tor DNS lookups for testing.
2017-04-12 08:43:23 -03:00
Torsten Grote
d40a058ef5
Change blog descriptor format to include RSS feed flag
...
This now also handles the case where an RSS blog is deleted via the blog
deletion option and not the feed management.
2017-04-12 08:43:22 -03:00
Torsten Grote
85c17b4cb0
Fix MessageId calculation for deprecated MessageQueue
...
This was preventing introduction messages from getting ACKed.
The introduction tests were modified to check for this.
2017-04-07 09:45:35 -03:00
akwizgran
d67e3900e3
Removed placeholder tests.
...
Evidently this way of nagging myself to write tests doesn't work.
2017-03-24 15:18:37 +00:00
Torsten Grote
720dda784e
Remove error state and reset session on error instead
2017-03-23 14:14:23 -03:00
Torsten Grote
04508a7431
Store invitation outcome in metadata
...
and include in canBeOpened calculation for private groups and sharables.
2017-01-06 13:29:21 -02:00
Torsten Grote
5653c6d650
Address review comments
2017-01-06 13:25:13 -02:00
Torsten Grote
ab100ad19b
Properly remove the blog when deleting a contact and inform all peers
...
Fixes #816
2017-01-06 13:01:37 -02:00
Torsten Grote
c13eafef14
Migrate blog sharing to new sharing client infrastructure
2017-01-06 13:01:34 -02:00
Torsten Grote
dc6a6f27ab
Fix MessageTreeImplTest
2017-01-04 16:27:49 -02:00