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

TOTP Codes Disappear from Menu #230

Closed 9p4 closed 4 years ago

9p4 commented 4 years ago

When opening the two-factor codes section in the app, none (or only a few codes) appear. To reproduce, go to a website that supports two-factor auth, add their code via QR, add to vault, and wait. Occasionally the codes do not appear in the menu but are saved in the vault.

iOS 1.13 (Jailbroken, issue persists on non-jailbroken device)

iPhone 6s

perry-mitchell commented 4 years ago

When adding them via the camera, you need to make sure to add them to an entry. Are you doing this? :)

9p4 commented 4 years ago

The TOTP codes are in the entry, but no TOTP passcodes are generated. Nothing shows up in the “codes” tab below. A56851BA-F507-4137-A7CC-A861269C9697

perry-mitchell commented 4 years ago

@sambhavsaggi Strange.. Can you verify that the code is OK and valid?

Can you try generating a TOTP URI here? Just to see if that works? Make sure to set the property as type OTP.

9p4 commented 4 years ago

I added to TOTP URI, and it appeared in the "Codes" section. However, the code entry disappeared from the "Codes" section but remained in the entry.

perry-mitchell commented 4 years ago

However, the code entry disappeared from the "Codes" section

I don't know what you mean by "code entry". The codes section only shows TOTP codes - these items are not entries - one entry might have multiple TOTP codes.

9p4 commented 4 years ago

Sorry for the delay

image

This is the codes menu I was talking about

9p4 commented 4 years ago

I believe that this is a save issue with Nextcloud, as it is not reproducible with GDrive, but is with NC.

perry-mitchell commented 4 years ago

I'm going to close this for now as it's not reproducible. It may be an inherent issue with Nextcloud, which is famous for not supporting WebDAV correctly (it may not be saving changes properly for all clients, due to CORS issues).