briar issueshttps://code.briarproject.org/groups/briar/-/issues2020-11-16T10:37:11Zhttps://code.briarproject.org/briar/briar/-/issues/1371Recreate code_cache directory after deleting account2020-11-16T10:37:11ZakwizgranRecreate code_cache directory after deleting accountWe already recreate the `cache` directory after deleting the account because some OpenGL drivers expect it to exist. Apparently we should do the same for the `code_cache` directory. This comes from a Sony Xperia Z3 Compact (Android 6.0.1...We already recreate the `cache` directory after deleting the account because some OpenGL drivers expect it to exist. Apparently we should do the same for the `code_cache` directory. This comes from a Sony Xperia Z3 Compact (Android 6.0.1):
```
08-30 00:33:24.161 E/libEGL (14478): error creating cache file /data/user/0/org.briarproject.briar.android.debug/code_cache/com.android.opengl.shaders_cache: No such file or directory (2)
```Android 1.2akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/1714Upgrade to Tor 0.3.5.102020-11-16T10:36:56ZakwizgranUpgrade to Tor 0.3.5.10Tor 0.3.5.10 fixes a CPU exhaustion attack that directory servers can launch against clients and hidden services. (Relays are also vulnerable, but we don't run relays.)Tor 0.3.5.10 fixes a CPU exhaustion attack that directory servers can launch against clients and hidden services. (Relays are also vulnerable, but we don't run relays.)Android 1.2Torsten GroteTorsten Grotehttps://code.briarproject.org/briar/briar/-/issues/1348Briar does not care if bluetooth is used by other apps2020-11-16T10:36:46ZmicressorBriar does not care if bluetooth is used by other appsI have
* [X] searched for open and closed issues
----
**Steps to reproduce:**
1. Listen to music via bluetooth
2. Select logoff on Briar
**Current behavior:**
Briar switches off the Bluetooth on the device.
**Expected behavior:**
Br...I have
* [X] searched for open and closed issues
----
**Steps to reproduce:**
1. Listen to music via bluetooth
2. Select logoff on Briar
**Current behavior:**
Briar switches off the Bluetooth on the device.
**Expected behavior:**
Briar should not shutdown bluetooth, if it is used by other apps.Android 1.2akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/1785NPE when no Bluetooth Adapter available2020-11-16T10:36:01ZTorsten GroteNPE when no Bluetooth Adapter available```ruby
'java.lang.String android.bluetooth.BluetoothAdapter.getAddress()' on a null object reference
at org.briarproject.bramble.util.AndroidUtils.getBluetoothAddressAndMethod(AndroidUtils.java:55)
at org.briarpr...```ruby
'java.lang.String android.bluetooth.BluetoothAdapter.getAddress()' on a null object reference
at org.briarproject.bramble.util.AndroidUtils.getBluetoothAddressAndMethod(AndroidUtils.java:55)
at org.briarproject.bramble.util.AndroidUtils.getBluetoothAddress(AndroidUtils.java:48)
at org.briarproject.bramble.plugin.bluetooth.AndroidBluetoothPlugin.getBluetoothAddress(AndroidBluetoothPlugin.java:138)
at org.briarproject.bramble.plugin.bluetooth.BluetoothPlugin.updateProperties(BluetoothPlugin.java:216)
````Android 1.2akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/1507API 29: TorPlugin does not start2020-11-16T10:35:52ZTorsten GroteAPI 29: TorPlugin does not startOn Android Q, calling `exec()` on writable application files is [a W^X violation](https://issuetracker.google.com/issues/128554619#comment4) and represents an unsafe application practice, because apps with vulnerabilities can be exploite...On Android Q, calling `exec()` on writable application files is [a W^X violation](https://issuetracker.google.com/issues/128554619#comment4) and represents an unsafe application practice, because apps with vulnerabilities can be exploited to download code and execute it. We currently extract the Tor and obfsproxy binaries into our writeable app data dir, so we are affected by this policy change.
It should still be possible to package the binaries into the application's native libs directory and enable `android:extractNativeLibs=true` (is enabled by default), and then call `exec()` on the read-only `/data/app` artifacts. A similar approach is done with the `wrap.sh` functionality, documented at https://developer.android.com/ndk/guides/wrap-script#packaging_wrapsh .
> Additionally, please be aware that executables executed via exec() are not managed according to the Android process lifecycle, and generally speaking, exec() is discouraged from Android applications. While not Android documentation, https://stackoverflow.com/questions/16179062/using-exec-with-ndk covers this in some detail. Relying on exec() **may be problematic in future Android versions**.
Fixing this, might make #1278 a lot easier.Android 1.2akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/1185Move native binary extraction to the Installer2020-11-16T10:35:40ZJulian DehmMove native binary extraction to the InstallerManually extracting the tor binary to the writable data directory could be dangerous. We should investigate the option to bundle the binary in a way that it gets extracted by the installer to a read-only directory as described here: http...Manually extracting the tor binary to the writable data directory could be dangerous. We should investigate the option to bundle the binary in a way that it gets extracted by the installer to a read-only directory as described here: https://twitter.com/CopperheadOS/status/917924329857474560
This might be done by disguising the binary as library file and moving it to jniLibs/<ABI>/tor.so
This would also allow us to use `targetSandboxVersion="2"`for improved security.Android 1.2akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/1780Add method to mark message as read to REST API2020-11-16T10:35:24ZNicoAdd method to mark message as read to REST APIWhen exposing unread messages counters in https://code.briarproject.org/briar/briar/-/merge_requests/1283, I noticed that they were never set to 0. I propose the following HTTP method:
##### Marking messages as read
`POST /v1/messages/...When exposing unread messages counters in https://code.briarproject.org/briar/briar/-/merge_requests/1283, I noticed that they were never set to 0. I propose the following HTTP method:
##### Marking messages as read
`POST /v1/messages/read/{contactId}`
The `messageId` of the message to be marked as read
needs to be provided in the request body as follows:
```json
{
"messageId": "+AIMMgOCPFF8HDEhiEHYjbfKrg7v0G94inKxjvjYzA8="
}
```NicoNicohttps://code.briarproject.org/briar/briar/-/issues/1782Add method to delete all private messages to REST API2020-11-16T10:35:16ZNicoAdd method to delete all private messages to REST APINeeded for https://code.briarproject.org/briar/briar-gtk/-/issues/11.Needed for https://code.briarproject.org/briar/briar-gtk/-/issues/11.NicoNicohttps://code.briarproject.org/briar/briar/-/issues/1781Add method to change contact alias to REST API2020-11-16T10:35:09ZNicoAdd method to change contact alias to REST APINeeded for https://code.briarproject.org/briar/briar-gtk/-/issues/14 and https://code.briarproject.org/briar/python-briar-wrapper/-/issues/6.Needed for https://code.briarproject.org/briar/briar-gtk/-/issues/14 and https://code.briarproject.org/briar/python-briar-wrapper/-/issues/6.NicoNicohttps://code.briarproject.org/briar/briar/-/issues/1456Adaptive icons2020-11-16T10:33:14ZakwizgranAdaptive iconsA user asked us to add support for [adaptive icons](https://www.androidcentral.com/adaptive-icons).A user asked us to add support for [adaptive icons](https://www.androidcentral.com/adaptive-icons).Android 1.2akwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/issues/1614Android studio - No dependency for integrity assertion2020-11-16T10:32:41ZjomocuAndroid studio - No dependency for integrity assertionI have finally managed to load the project correctly.
When I open android studio, everything appears right.
**Screenshot:** https://i.imgur.com/0ffGl14.png
But when trying to run the program on the virtual machine it shows me this erro...I have finally managed to load the project correctly.
When I open android studio, everything appears right.
**Screenshot:** https://i.imgur.com/0ffGl14.png
But when trying to run the program on the virtual machine it shows me this error ...
*No dependency for integrity assertion 'com.android.support.test.uiautomator:uiautomator-v18:2.1.3:uiautomator-v18-2.1.3.aar:15e6b3c7104859630bf844e31805aa7cb2eb4b385e6119ab34132c8258eee2c4'*
**Screenshot:** https://i.imgur.com/qMLVVqR.png
I am running the virtual machine "Nexus One API 23", I use android 6 without the api of google play.
Any idea how to solve this?
Thankshttps://code.briarproject.org/briar/briar/-/issues/1419Online status in contact list can be confused with radio button2020-11-16T10:31:13ZTorsten GroteOnline status in contact list can be confused with radio buttonThe circle on the right of the avatar gives you an impression of a select radio button instead of online status.
![Online_1](/uploads/05ec34f3580ae8f05846fd807b516e9f/Online_1.png)
Placing the green circle on the corner of the avatar m...The circle on the right of the avatar gives you an impression of a select radio button instead of online status.
![Online_1](/uploads/05ec34f3580ae8f05846fd807b516e9f/Online_1.png)
Placing the green circle on the corner of the avatar might be more understandable:
![online](/uploads/055feea1e3c6de24587eb05c75b10f78/online.png)https://code.briarproject.org/briar/briar/-/issues/1770Delete multiple contacts2020-11-16T10:25:31ZN6P4CFB1BSRSLDelete multiple contacts**Version**
Briar 1.2.9
**Android version**
Android 10
**Description**
There is no quick way to select and delete multiple contacts under "Contacts" view. The multiple select function is missing.
Currently each contact must be dele...**Version**
Briar 1.2.9
**Android version**
Android 10
**Description**
There is no quick way to select and delete multiple contacts under "Contacts" view. The multiple select function is missing.
Currently each contact must be deleted manually.https://code.briarproject.org/briar/briar/-/issues/1438Implement UX for sending image attachments2020-11-16T10:11:30ZTorsten GroteImplement UX for sending image attachmentsWhen the message field is empty, there's an image icon to attach an image:
![Image_Attachment_Preselection](/uploads/cfaa2500f2d39f3b4e9c540d8ce46b88/Image_Attachment_Preselection.png)
Clicking it opens the system file selector:
![Ima...When the message field is empty, there's an image icon to attach an image:
![Image_Attachment_Preselection](/uploads/cfaa2500f2d39f3b4e9c540d8ce46b88/Image_Attachment_Preselection.png)
Clicking it opens the system file selector:
![Image_Attachment_Selection__System_](/uploads/97ad63158569fd22d7dc35b28453e6e4/Image_Attachment_Selection__System_.png)
If chosen image is shown as a preview, with an option to cancel the operation and to add an image caption:
![Confirmation](/uploads/621ca864593e0670f654ebdc832fbf48/Confirmation.png)
A seascape image shows a black/grey or color picked from the image on the sides:
![Confirmation_Tall_Image](/uploads/9ca88cffecbed1ee167835ba5efdd167/Confirmation_Tall_Image.png)
Subtask of #1237.Android 1.3Torsten GroteTorsten Grotehttps://code.briarproject.org/briar/briar/-/issues/1400Explain that if Tor is turned off, nothing will be sent via the internet2020-11-15T20:11:59ZakwizgranExplain that if Tor is turned off, nothing will be sent via the internetUser feedback: "Settings should indicate that if Tor is turned off, messages will not be sent via the internet (there is no non-Tor P2P WAN option)."User feedback: "Settings should indicate that if Tor is turned off, messages will not be sent via the internet (there is no non-Tor P2P WAN option)."CleopatraCleopatrahttps://code.briarproject.org/briar/briar/-/issues/1401Make transport indicators usable by colourblind users2020-11-15T20:10:45ZakwizgranMake transport indicators usable by colourblind usersUser feedback: "For productivity purposes I use my phone in greyscale mode, it's at the same time a simulation of color blindness. I've noticed that it's hard to distinguish the internet/WiFi/Bluetooth indicators' active green from the i...User feedback: "For productivity purposes I use my phone in greyscale mode, it's at the same time a simulation of color blindness. I've noticed that it's hard to distinguish the internet/WiFi/Bluetooth indicators' active green from the inactive grey. The solution could be putting a dot/underscore to indicate WiFi is enabled."https://code.briarproject.org/briar/briar/-/issues/1402Green send button might be mistaken for online indicator2020-11-15T20:10:14ZakwizgranGreen send button might be mistaken for online indicatorUser feedback: "#1252 I think green color of the send button is a mistake, because it can indicate contact is online. Maybe blue, like outgoing message bubbles."User feedback: "#1252 I think green color of the send button is a mistake, because it can indicate contact is online. Maybe blue, like outgoing message bubbles."https://code.briarproject.org/briar/briar/-/issues/1406User feedback screen: Possibility to share/save device data2020-11-15T20:08:27ZmicressorUser feedback screen: Possibility to share/save device dataIt would be helpful if it could also be possible to edit the data via a different channel (Email / Save as...). This would make it easier to create a dedicated bug report.It would be helpful if it could also be possible to edit the data via a different channel (Email / Save as...). This would make it easier to create a dedicated bug report.https://code.briarproject.org/briar/briar/-/issues/1407Allow conversation view to be more compact2020-11-15T20:07:49ZakwizgranAllow conversation view to be more compactUser feedback: "Please add an option to make the chat message view more compact. I do not like the whitespace between two messages. I have a small device with bad resolution and would like to use every pixel for information."User feedback: "Please add an option to make the chat message view more compact. I do not like the whitespace between two messages. I have a small device with bad resolution and would like to use every pixel for information."https://code.briarproject.org/briar/briar/-/issues/1408Reduce memory usage2020-11-15T20:07:02ZakwizgranReduce memory usageA user asked for Briar to use less memory.A user asked for Briar to use less memory.