briar merge requestshttps://code.briarproject.org/briar/briar/-/merge_requests2017-09-28T10:37:58Zhttps://code.briarproject.org/briar/briar/-/merge_requests/595Add an option to debug builds to create fake test data2017-09-28T10:37:58ZTorsten GroteAdd an option to debug builds to create fake test dataThis does not yet add new test data periodically, just adds a bunch once after triggering.
Closes #703This does not yet add new test data periodically, just adds a bunch once after triggering.
Closes #703Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/604Reduce number of DB queries used when polling for connections2017-10-11T13:45:42ZakwizgranReduce number of DB queries used when polling for connectionsCloses #1091Closes #1091Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/619Add HyperSQL as an alternative DB library for testing2017-12-05T16:05:47ZakwizgranAdd HyperSQL as an alternative DB library for testingThis will help to ensure our DB code stays portable, in case we need to migrate away from H2.
This looks like a big patch, but most of the changes are:
* Refactoring tests so we can run them with H2 and HyperSQL
* Making placeholder...This will help to ensure our DB code stays portable, in case we need to migrate away from H2.
This looks like a big patch, but most of the changes are:
* Refactoring tests so we can run them with H2 and HyperSQL
* Making placeholder type names more obvious in SQL by adding an underscore
* Renaming a couple of columns whose names turned out to be SQL keywords :-/Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/629Simplify management of old transport property updates2017-11-30T17:46:17ZakwizgranSimplify management of old transport property updatesThis branch removes the code that was needed for backward compatibility with beta databases containing obsolete transport property updates. Databases created since the cleanup code was merged will only have the latest update for each tra...This branch removes the code that was needed for backward compatibility with beta databases containing obsolete transport property updates. Databases created since the cleanup code was merged will only have the latest update for each transport, so we only need to delete updates when storing newer ones.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/630Specify 7 characters for Git revision2017-11-30T17:45:05ZakwizgranSpecify 7 characters for Git revisionWorkaround for a bug in Git 2.11.0. See #164.Workaround for a bug in Git 2.11.0. See #164.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/631Don't use ClientId.toString() for signature labels2017-11-30T17:03:34ZakwizgranDon't use ClientId.toString() for signature labelsCloses #1110Closes #1110Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/632Use namespaced labels for all crypto operations2017-12-05T16:05:09ZakwizgranUse namespaced labels for all crypto operationsThis branch refactors the crypto component to remove protocol-specific methods from the main CryptoComponent interface. The MAC operation is updated to take a label, like the hash and signature operations, and a general-purpose key deriv...This branch refactors the crypto component to remove protocol-specific methods from the main CryptoComponent interface. The MAC operation is updated to take a label, like the hash and signature operations, and a general-purpose key derivation method with a label is provided.
First part of #617.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/637Change package name, bump expiry date2017-12-01T16:37:00ZakwizgranChange package name, bump expiry dateThe package name org.briarproject.briar is still being squatted on Google Play, although I've contacted the maintainer and complained to Google, so this MR uses the package name org.briarproject.briar.android for the master branch.
The ...The package name org.briarproject.briar is still being squatted on Google Play, although I've contacted the maintainer and complained to Google, so this MR uses the package name org.briarproject.briar.android for the master branch.
The expiry date is bumped by a year and expiry warnings are disabled for release builds. The version number is also bumped.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/640Don't set scene transition for Samsung devices running Android 7.02017-12-04T14:33:42ZTorsten GroteDon't set scene transition for Samsung devices running Android 7.0I don't have a Samsung device anymore for testing this. [The issue](https://code.briarproject.org/akwizgran/briar/issues/1007#note_23218) talks about someone who could test this.
Closes #1007 (needs backport!)I don't have a Samsung device anymore for testing this. [The issue](https://code.briarproject.org/akwizgran/briar/issues/1007#note_23218) talks about someone who could test this.
Closes #1007 (needs backport!)Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/646Protocol versioning2017-12-07T12:18:01ZakwizgranProtocol versioningSecond part of #617.Second part of #617.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/651Fix test expectations2017-12-14T16:02:28ZakwizgranFix test expectationsPluginManagerImplTest has some expectations that have been broken for a looong time, but they were throwing an exception on a background thread so I didn't notice.PluginManagerImplTest has some expectations that have been broken for a looong time, but they were throwing an exception on a background thread so I didn't notice.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/652Database performance tests2017-12-18T18:15:12ZakwizgranDatabase performance testsThese tests were created for #545.These tests were created for #545.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/654Add denormalised state column to messageMetadata table2018-02-02T16:25:44ZakwizgranAdd denormalised state column to messageMetadata tableThis improves the performance of the following methods:
* getMessageMetadata(T, GroupId)
* getMessageMetadata(T, MessageId)
* getMessageMetadataForValidator(T, MessageId)
Closes #1092This improves the performance of the following methods:
* getMessageMetadata(T, GroupId)
* getMessageMetadata(T, MessageId)
* getMessageMetadataForValidator(T, MessageId)
Closes #1092Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/661Use a versioned format for encoding authors2018-01-16T18:36:33ZakwizgranUse a versioned format for encoding authorsWhenever we serialise an author, include a version number so we can change the serialisation format later (for example, if we want to support a new signature algorithm).
Excludes the introduction client, which is going to be rewritten a...Whenever we serialise an author, include a version number so we can change the serialisation format later (for example, if we want to support a new signature algorithm).
Excludes the introduction client, which is going to be rewritten anyway.
Part of #617.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/662Factor shared Bluetooth code into superclass2018-03-07T12:01:40ZakwizgranFactor shared Bluetooth code into superclassCloses #831Closes #831Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/663Don't make Bluetooth connections when configured not to2018-04-13T08:40:49ZakwizgranDon't make Bluetooth connections when configured not toCloses #1001.Closes #1001.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/664Ask before turning on Bluetooth to add a contact2018-03-07T14:02:06ZakwizgranAsk before turning on Bluetooth to add a contactCloses #790.Closes #790.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/665Use scrypt for password-based key derivation2018-01-22T15:18:37ZakwizgranUse scrypt for password-based key derivationThis should provide better protection against brute force attacks than PBKDF2.
Eventually we'll use Argon2 (#170), but we don't have time to switch to native crypto before 1.0.This should provide better protection against brute force attacks than PBKDF2.
Eventually we'll use Argon2 (#170), but we don't have time to switch to native crypto before 1.0.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/667Use BLAKE2b for hashing2018-01-19T11:04:28ZakwizgranUse BLAKE2b for hashingBLAKE2b is more widely supported than BLAKE2s. Switching will make it easier for people to reimplement Bramble and Briar, and give us more options for our crypto library, including libsodium.BLAKE2b is more widely supported than BLAKE2s. Switching will make it easier for people to reimplement Bramble and Briar, and give us more options for our crypto library, including libsodium.Android 1.0https://code.briarproject.org/briar/briar/-/merge_requests/670Tor plugin should detect connectivity loss2018-02-01T10:55:51ZakwizgranTor plugin should detect connectivity lossThis branch improves the Tor plugin's behavior when connectivity is lost due to the device sleeping or dozing. These connectivity changes don't always generate CONNECTIVITY_CHANGED broadcasts, which can lead us to think we're connected w...This branch improves the Tor plugin's behavior when connectivity is lost due to the device sleeping or dozing. These connectivity changes don't always generate CONNECTIVITY_CHANGED broadcasts, which can lead us to think we're connected when we're not, or vice versa.
Events from the Tor control port that report guard connections failing are also used as indications that we should check our connectivity status.Android 1.0