briar issueshttps://code.briarproject.org/briar/briar/-/issues2022-06-13T15:00:46Zhttps://code.briarproject.org/briar/briar/-/issues/2279KeyStoreException: Too many operations2022-06-13T15:00:46ZakwizgranKeyStoreException: Too many operations* Android version: 11
* Phone model: Google Pixel 4a (sunfish)
* Briar version: 1.4.1 (6517f3f)
Log:
```
12-07 10:57:20.650 I/BriarApplicationImpl: Created
12-07 10:57:20.673 I/BaseActivity: Creating SplashScreenActivity
12-07 10:57:20....* Android version: 11
* Phone model: Google Pixel 4a (sunfish)
* Briar version: 1.4.1 (6517f3f)
Log:
```
12-07 10:57:20.650 I/BriarApplicationImpl: Created
12-07 10:57:20.673 I/BaseActivity: Creating SplashScreenActivity
12-07 10:57:20.683 I/BaseActivity: Starting SplashScreenActivity
12-07 10:57:20.685 I/BaseActivity: Resuming SplashScreenActivity
12-07 10:57:21.193 I/BaseActivity: Pausing SplashScreenActivity
12-07 10:57:21.206 I/BaseActivity: Creating NavDrawerActivity
12-07 10:57:21.242 I/BaseActivity: Starting NavDrawerActivity
12-07 10:57:21.243 I/BaseActivity: Resuming NavDrawerActivity
12-07 10:57:21.243 I/BriarActivity: Not signed in, launching StartupActivity
12-07 10:57:21.252 I/BaseActivity: Pausing NavDrawerActivity
12-07 10:57:21.259 I/BaseActivity: Creating StartupActivity
12-07 10:57:21.271 I/AccountManagerImpl: Found database key in primary file
12-07 10:57:21.272 I/BaseActivity: Starting StartupActivity
12-07 10:57:21.289 I/BaseActivity: Resuming StartupActivity
12-07 10:57:21.340 I/BaseActivity: Stopping NavDrawerActivity
12-07 10:57:21.758 I/BaseActivity: Stopping SplashScreenActivity
12-07 10:57:21.758 I/BaseActivity: Destroying SplashScreenActivity
12-07 10:57:22.336 I/BaseActivity: Pausing StartupActivity
12-07 10:57:22.918 I/BaseActivity: Stopping StartupActivity
12-07 10:57:25.564 I/BaseActivity: Starting StartupActivity
12-07 10:57:25.565 I/BaseActivity: Resuming StartupActivity
12-07 10:57:26.387 I/AccountManagerImpl: Found database key in primary file
12-07 10:57:27.178 I/AndroidKeyStrengthener: Loaded key from keystore
```
Stacktrace:
```
java.lang.RuntimeException: java.security.InvalidKeyException: Keystore operation failed
at org.briarproject.briar.android.AndroidKeyStrengthener.strengthenKey(AndroidKeyStrengthener.java:101)
at org.briarproject.bramble.crypto.CryptoComponentImpl.decryptWithPassword(CryptoComponentImpl.java:407)
at org.briarproject.bramble.account.AccountManagerImpl.loadAndDecryptDatabaseKey(AccountManagerImpl.java:214)
at org.briarproject.bramble.account.AccountManagerImpl.signIn(AccountManagerImpl.java:200)
at org.briarproject.briar.android.login.StartupViewModel.lambda$validatePassword$0(StartupViewModel.java:112)
at org.briarproject.briar.android.login.StartupViewModel.lambda$validatePassword$0$StartupViewModel(Unknown Source:0)
at org.briarproject.briar.android.login.-$$Lambda$StartupViewModel$5aurY1rQupylNVXCUST5DjfL1L4.run(Unknown Source:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
Caused by: java.security.InvalidKeyException: Keystore operation failed
at android.security.KeyStore.getInvalidKeyException(KeyStore.java:1378)
at android.security.KeyStore.getInvalidKeyException(KeyStore.java:1388)
at android.security.keystore.KeyStoreCryptoOperationUtils.getInvalidKeyExceptionForInit(KeyStoreCryptoOperationUtils.java:54)
at android.security.keystore.AndroidKeyStoreHmacSpi.ensureKeystoreOperationInitialized(AndroidKeyStoreHmacSpi.java:184)
at android.security.keystore.AndroidKeyStoreHmacSpi.engineInit(AndroidKeyStoreHmacSpi.java:101)
at javax.crypto.Mac.chooseProvider(Mac.java:443)
at javax.crypto.Mac.init(Mac.java:513)
at org.briarproject.briar.android.AndroidKeyStrengthener.strengthenKey(AndroidKeyStrengthener.java:98)
... 9 more
Caused by: android.security.KeyStoreException: Too many operations
at android.security.KeyStore.getKeyStoreException(KeyStore.java:1301)
... 16 more
```https://code.briarproject.org/briar/briar/-/issues/2278KeyStoreException: Invalid operation handle2022-06-13T15:00:46ZakwizgranKeyStoreException: Invalid operation handle* Android version: 11
* Phone model: Motorola Moto G(9) Power (cebu_retailn)
* Briar version: 1.4.1 (6517f3f)
Log:
```
12-16 06:37:45.374 I/BriarApplicationImpl: Created
12-16 06:37:45.449 I/BaseActivity: Creating SplashScreenActivity
1...* Android version: 11
* Phone model: Motorola Moto G(9) Power (cebu_retailn)
* Briar version: 1.4.1 (6517f3f)
Log:
```
12-16 06:37:45.374 I/BriarApplicationImpl: Created
12-16 06:37:45.449 I/BaseActivity: Creating SplashScreenActivity
12-16 06:37:45.512 I/BaseActivity: Starting SplashScreenActivity
12-16 06:37:45.513 I/BaseActivity: Resuming SplashScreenActivity
12-16 06:37:45.998 I/BaseActivity: Pausing SplashScreenActivity
12-16 06:37:46.057 I/BaseActivity: Creating NavDrawerActivity
12-16 06:37:46.131 I/BaseActivity: Starting NavDrawerActivity
12-16 06:37:46.134 I/BaseActivity: Resuming NavDrawerActivity
12-16 06:37:46.134 I/BriarActivity: Not signed in, launching StartupActivity
12-16 06:37:46.174 I/BaseActivity: Pausing NavDrawerActivity
12-16 06:37:46.193 I/BaseActivity: Creating StartupActivity
12-16 06:37:46.217 I/AccountManagerImpl: Found database key in primary file
12-16 06:37:46.220 I/BaseActivity: Starting StartupActivity
12-16 06:37:46.302 I/BaseActivity: Resuming StartupActivity
12-16 06:37:46.514 I/BaseActivity: Stopping NavDrawerActivity
12-16 06:37:46.913 I/BaseActivity: Stopping SplashScreenActivity
12-16 06:37:46.914 I/BaseActivity: Destroying SplashScreenActivity
12-16 06:37:52.674 I/AccountManagerImpl: Found database key in primary file
12-16 06:37:57.264 I/AndroidKeyStrengthener: Loaded key from keystore
```
Stacktrace:
```
java.security.ProviderException: Keystore operation failed
at android.security.keystore.AndroidKeyStoreHmacSpi.engineDoFinal(AndroidKeyStoreHmacSpi.java:242)
at javax.crypto.Mac.doFinal(Mac.java:667)
at javax.crypto.Mac.doFinal(Mac.java:742)
at org.briarproject.briar.android.AndroidKeyStrengthener.strengthenKey(AndroidKeyStrengthener.java:99)
at org.briarproject.bramble.crypto.CryptoComponentImpl.decryptWithPassword(CryptoComponentImpl.java:407)
at org.briarproject.bramble.account.AccountManagerImpl.loadAndDecryptDatabaseKey(AccountManagerImpl.java:214)
at org.briarproject.bramble.account.AccountManagerImpl.signIn(AccountManagerImpl.java:200)
at org.briarproject.briar.android.login.StartupViewModel.lambda$validatePassword$0(StartupViewModel.java:112)
at org.briarproject.briar.android.login.StartupViewModel.lambda$validatePassword$0$StartupViewModel(Unknown Source:0)
at org.briarproject.briar.android.login.-$$Lambda$StartupViewModel$5aurY1rQupylNVXCUST5DjfL1L4.run(Unknown Source:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
Caused by: android.security.KeyStoreException: Invalid operation handle
at android.security.KeyStore.getKeyStoreException(KeyStore.java:1301)
at android.security.keystore.KeyStoreCryptoOperationChunkedStreamer.doFinal(KeyStoreCryptoOperationChunkedStreamer.java:176)
at android.security.keystore.AndroidKeyStoreHmacSpi.engineDoFinal(AndroidKeyStoreHmacSpi.java:236)
... 12 more
```https://code.briarproject.org/briar/briar/-/issues/2237Pending contact list doesn't show "No internet connection" if list contains f...2021-12-01T10:43:02ZakwizgranPending contact list doesn't show "No internet connection" if list contains failed pending contactsIf the pending contact list contains a mixture of failed and not-failed pending contacts, the "No internet connection" snackbar isn't shown when the device is offline. If the failed pending contacts are removed, leaving only not-failed o...If the pending contact list contains a mixture of failed and not-failed pending contacts, the "No internet connection" snackbar isn't shown when the device is offline. If the failed pending contacts are removed, leaving only not-failed ones, the snackbar appears.https://code.briarproject.org/briar/briar/-/issues/2236Contact list doesn't scroll to top after adding contact2021-11-30T12:19:21ZakwizgranContact list doesn't scroll to top after adding contactA user reported that the contact list doesn't scroll to the top after adding a contact, so the new contact isn't visible. This makes it unclear whether the contact was added or not.
Similarly, the list doesn't scroll to the top after re...A user reported that the contact list doesn't scroll to the top after adding a contact, so the new contact isn't visible. This makes it unclear whether the contact was added or not.
Similarly, the list doesn't scroll to the top after returning from a private conversation. If messages have been sent or received in the conversation, moving it to the top of the list, then it may no longer be visible when returning to the contact list.https://code.briarproject.org/briar/briar/-/issues/2235"Contact deleted" toast is not shown2021-11-30T12:16:54Zakwizgran"Contact deleted" toast is not shownA user reported that the "contact deleted" toast was not shown after deleting a contact. (The pending contacts snackbar was visible, in case that's relevant.)A user reported that the "contact deleted" toast was not shown after deleting a contact. (The pending contacts snackbar was visible, in case that's relevant.)https://code.briarproject.org/briar/briar/-/issues/2216SecurityException: Permission Denial for MANAGE_DOCUMENTS2021-11-11T16:04:24ZakwizgranSecurityException: Permission Denial for MANAGE_DOCUMENTSThis looks similar to #2143 and may be the same device as https://code.briarproject.org/briar/briar/-/issues/2143#note_56595, but with a different stacktrace.
* Android version: 5.1
* Phone model: Meizu M3s
* Briar version: 1.3.8 (80767...This looks similar to #2143 and may be the same device as https://code.briarproject.org/briar/briar/-/issues/2143#note_56595, but with a different stacktrace.
* Android version: 5.1
* Phone model: Meizu M3s
* Briar version: 1.3.8 (8076775)
* User feedback: "I uploaded a JPG photo, crashed."
Stacktrace:
```
java.lang.SecurityException: Permission Denial: opening provider com.android.providers.media.MediaDocumentsProvider from ProcessRecord{127a6dac 23863:org.briarproject.briar.android/u0a98} (pid=23863, uid=10098) requires android.permission.MANAGE_DOCUMENTS or android.permission.MANAGE_DOCUMENTS
at android.os.Parcel.readException(Parcel.java:1546)
at android.os.Parcel.readException(Parcel.java:1499)
at android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:3579)
at android.app.ActivityThread.acquireProvider(ActivityThread.java:5203)
at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2657)
at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1500)
at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1106)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:946)
at android.content.ContentResolver.openInputStream(ContentResolver.java:671)
at org.briarproject.briar.android.attachment.AttachmentCreationTask.storeAttachment(AttachmentCreationTask.java:103)
at org.briarproject.briar.android.attachment.AttachmentCreationTask.processUri(AttachmentCreationTask.java:79)
at org.briarproject.briar.android.attachment.AttachmentCreationTask.storeAttachments(AttachmentCreationTask.java:68)
at org.briarproject.briar.android.attachment.AttachmentCreatorImpl.lambda$null$0(AttachmentCreatorImpl.java:94)
at org.briarproject.briar.android.attachment.AttachmentCreatorImpl.lambda$null$0$AttachmentCreatorImpl(AttachmentCreatorImpl.java)
at org.briarproject.briar.android.attachment.-$$Lambda$AttachmentCreatorImpl$buxZfdoUf6j50-ilIY-ZnTGRVoE.run(lambda)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
```https://code.briarproject.org/briar/briar/-/issues/2210Syncing via removable drives fails when drive is removed too soon2021-11-02T14:07:11ZakwizgranSyncing via removable drives fails when drive is removed too soonA volunteer who was testing syncing via removable drives found that if they removed the removable drive from the sending device too soon, the file was empty (0 bytes) and the import failed with "Error importing data" on the receiving dev...A volunteer who was testing syncing via removable drives found that if they removed the removable drive from the sending device too soon, the file was empty (0 bytes) and the import failed with "Error importing data" on the receiving device.
We already knew this was possible, but I'm opening a ticket for it as it's been seen in the wild.
We may be able to improve how we handle this, for example by showing a more specific error message if the file is empty, or by adding a delay on the sender side before reporting that the write is complete, to allow more time for the data to be written to the drive.https://code.briarproject.org/briar/briar/-/issues/2209Unable to delete my own blogs2021-10-26T10:35:55ZJerry WhiteUnable to delete my own blogsI'm unable to delete any blogs i create. The option appears from the menu but is greyed out and unavailable.
I can successfully delete RSS feeds and other people's blogs but not my own. This means if i make a mistake, it's permanent and ...I'm unable to delete any blogs i create. The option appears from the menu but is greyed out and unavailable.
I can successfully delete RSS feeds and other people's blogs but not my own. This means if i make a mistake, it's permanent and the only option is to create a new Briar account.https://code.briarproject.org/briar/briar/-/issues/2205Edit profile picture2021-10-13T13:58:45ZIvanaEdit profile pictureOne of the outcomes of the Sponsor 6 user survey that ran in the summer of 2021 is the following user request: "It's like other messenger apps, so don't change anything about it, maybe add an edit section for the picture". Another user g...One of the outcomes of the Sponsor 6 user survey that ran in the summer of 2021 is the following user request: "It's like other messenger apps, so don't change anything about it, maybe add an edit section for the picture". Another user gave this feedback: "Ability to resize and create effects and filters on profile picture."https://code.briarproject.org/briar/briar/-/issues/2204Private group improvements - icon to invite contacts2021-10-13T13:57:15ZIvanaPrivate group improvements - icon to invite contactsOne of the outcomes of the Sponsor 6 user survey ran in the summer of 2021 is the following user request "To add an audience, I habitually went to the dot. As a result, it was a little strange for me to use the 'subscribe' icon to 'invit...One of the outcomes of the Sponsor 6 user survey ran in the summer of 2021 is the following user request "To add an audience, I habitually went to the dot. As a result, it was a little strange for me to use the 'subscribe' icon to 'invite'. The corresponding icon is known as 'subscribe'."https://code.briarproject.org/briar/briar/-/issues/2203Private group improvements - editing the audience2021-10-13T13:55:53ZIvanaPrivate group improvements - editing the audienceOne of the outcomes of the Sponsor6 user survey ran in the summer of 2021 is the following user request "It is difficult to edit your audience as soon as it is formed."One of the outcomes of the Sponsor6 user survey ran in the summer of 2021 is the following user request "It is difficult to edit your audience as soon as it is formed."https://code.briarproject.org/briar/briar/-/issues/2202Private group improvements - add a contact from the settings section2021-10-13T13:53:35ZIvanaPrivate group improvements - add a contact from the settings sectionOne of the outcomes of the Sponsor6 user survey ran in the summer of 2021 is the following user request "Adding a friend with the share button is not appropriate for me, one must be added from the settings section"One of the outcomes of the Sponsor6 user survey ran in the summer of 2021 is the following user request "Adding a friend with the share button is not appropriate for me, one must be added from the settings section"https://code.briarproject.org/briar/briar/-/issues/2201Private group improvements - invite users at the bottom of the page and float2021-10-13T13:51:13ZIvanaPrivate group improvements - invite users at the bottom of the page and floatOne of the otucomes of the Sponsor6 user survey ran int he summer of 2021 is this user request: ""Invite members at the bottom of the page and float"One of the otucomes of the Sponsor6 user survey ran int he summer of 2021 is this user request: ""Invite members at the bottom of the page and float"https://code.briarproject.org/briar/briar/-/issues/2200Add contacts when creating a private group2021-10-13T13:55:39ZIvanaAdd contacts when creating a private groupOne of the outcomes of the Sponsor 6 user survey, which ran in the summer of 2021, is the user's request: "There should be a section to add people at the beginning and when creating the group."
Another user gave the feedback "It is diff...One of the outcomes of the Sponsor 6 user survey, which ran in the summer of 2021, is the user's request: "There should be a section to add people at the beginning and when creating the group."
Another user gave the feedback "It is difficult to edit your audience as soon as [a group] is formed", which may be a request for the same thing.https://code.briarproject.org/briar/briar/-/issues/2199Use plus icon to add members to private group2022-04-17T11:31:44ZIvanaUse plus icon to add members to private groupOne of the outcomes of the Sponsor6 user survey, which ran in the summer of 2021, is the user's request: "Instead of using the sharing icon to add to the group, there should be a + icon or an option in the three-point menu to add to the ...One of the outcomes of the Sponsor6 user survey, which ran in the summer of 2021, is the user's request: "Instead of using the sharing icon to add to the group, there should be a + icon or an option in the three-point menu to add to the group. The sharing icon should be to give the group link to someone else."
Another user gave the feedback "Invite users at the bottom of the page and float", which may be a request to use a floating action button for adding members.
A third user gave the feedback "Adding a friend with the share button is not appropriate for me, one must be added from the settings section", which may be a request to add members via the member list screen.
A fourth user gave the feedback: "To add an audience, I habitually went to the dot. As a result, it was a little strange for me to use the 'subscribe' icon to 'invite'. The corresponding icon is known as 'subscribe'."https://code.briarproject.org/briar/briar/-/issues/2198Use same layout for message composition as Telegram and WhatsApp2021-10-13T13:48:36ZIvanaUse same layout for message composition as Telegram and WhatsAppOne of the outcomes of the Sponsor 6 user survey that ran in the summer of 2021 is the user's request: "The placement of emoji and adding an image needs to be swapped. People on Telegram and WhatsApp are used to it."One of the outcomes of the Sponsor 6 user survey that ran in the summer of 2021 is the user's request: "The placement of emoji and adding an image needs to be swapped. People on Telegram and WhatsApp are used to it."https://code.briarproject.org/briar/briar/-/issues/2197Option to send message by tapping 'Enter'2021-10-13T12:45:55ZIvanaOption to send message by tapping 'Enter'One of the outcomes of the Sponsor 6 user survey is a user's request to be able to send messages by tapping the Enter button on the keyboard. "It is better to send a message by tapping the keyboard."
Some apps provide a setting that con...One of the outcomes of the Sponsor 6 user survey is a user's request to be able to send messages by tapping the Enter button on the keyboard. "It is better to send a message by tapping the keyboard."
Some apps provide a setting that controls whether Enter sends the message or starts a new line.https://code.briarproject.org/briar/briar/-/issues/2196Add more animations2021-10-13T12:44:36ZIvanaAdd more animationsOne of the outcomes of the Sponsor 6 user survey that ran in the summer of 2021 is that users asked for "more animations in the app", "improve animations", and "animation and colour".
Not sure what kind of animations are meant, but this...One of the outcomes of the Sponsor 6 user survey that ran in the summer of 2021 is that users asked for "more animations in the app", "improve animations", and "animation and colour".
Not sure what kind of animations are meant, but this is just to note the user's request for any future projects that will consider UX improvementshttps://code.briarproject.org/briar/briar/-/issues/2195Add bot API2021-10-13T12:41:14ZIvanaAdd bot APIOne of the outcomes of the Sponsor 6 user survey, which ran in the summer of 2021, is a user request to "Have a robot and a channel like Telegram"One of the outcomes of the Sponsor 6 user survey, which ran in the summer of 2021, is a user request to "Have a robot and a channel like Telegram"https://code.briarproject.org/briar/briar/-/issues/2194Have channels like Telegram2021-10-13T12:40:30ZIvanaHave channels like TelegramOne of the outcomes of the Sponsor 6 user survey, which ran in the summer of 2021, is the users' request for "channels like Telegram"One of the outcomes of the Sponsor 6 user survey, which ran in the summer of 2021, is the users' request for "channels like Telegram"