buttercup / buttercup-mobile

:iphone: React-Native mobile application for Buttercup
https://buttercup.pw
GNU General Public License v3.0
392 stars 70 forks source link

Unlock My buttercup archive failed: UUID generation failure 20.02.2021 ADM00103 #260

Closed ADM001033 closed 2 years ago

ADM001033 commented 3 years ago

Describe the issue you're having

Athenticate and add Vault from Dropbox on Android 10 and try to open or unlock it afterwards makes the app crash. App is not usable. Reopening the app and opening the vault entering the password does not successfully load it but asks me about offline usage, which then also does not work.

What OS version are you using

Android 10

What device are you using

Redmi 7A, Samsung Galaxy A7 2018

MitchellJo commented 3 years ago

Try to turn off the DOT.

This issue should be related to DOT. I turned off DOT and it worked.

josmith2308 commented 3 years ago

What is DOT ?

MitchellJo commented 3 years ago

Try to turn off the DOT.

This issue should be related to DOT. I turned off DOT and it worked.

It seems not be related to DNS_OVER_TLS. But related to "ipv4.icanhazip.com". If "ipv4.icanhazip.com" started timing out, the app will ask to offline usage.

perry-mitchell commented 3 years ago

Yeah right now UUIDs are generated asynchronously on the app, as required by RN's crypto (in this build). The core expects them synchronously though, so we pre-load a bunch of them. It's a terrible solution, but we couldn't come up with a feasible alternative back then. It will be updated in the new mobile version.

julianpoemp commented 2 years ago

@ADM001033 does the issue still exist with the latest version of Buttercup mobile (2.1.0)?

perry-mitchell commented 2 years ago

The UUID generation restriction is gone in v2, so I'll close this for now.