Backblaze bucket does not get restored after connecting to the existing server #320

Closed
opened 2023-08-29 13:48:03 +03:00 by inex · 1 comment

Server provides information on bucket IDs, but app doesn't use it to recover the BackblazeBucket bucket object. As a side effect of this, backups cubit is not properly initialized and user can't see the backups key.

Steps to reproduce

  1. Have an existing SelfPrivacy server, get any auth key for it. Backups must be initialized.
  2. Use the fresh SelfPrivacy app to connect to this server
  3. Open the "Backups" screen and click on "Encryption key"
  4. Error happens

Expected behavior

The bucket object stored in app has all metadata of existing backblaze bucket. App can show the encryption key and, if requested, can re-initialize backups on the server.

Actual behavior

Fields of the objects are empty.

Note

We can't get existing appliction keys from backblaze, and we shouldn't create new ones unless really needed.

Server provides information on bucket IDs, but app doesn't use it to recover the `BackblazeBucket bucket` object. As a side effect of this, backups cubit is not properly initialized and user can't see the backups key. ## Steps to reproduce 1. Have an existing SelfPrivacy server, get any auth key for it. Backups must be initialized. 2. Use the fresh SelfPrivacy app to connect to this server 3. Open the "Backups" screen and click on "Encryption key" 4. Error happens ## Expected behavior The bucket object stored in app has all metadata of existing backblaze bucket. App can show the encryption key and, if requested, can re-initialize backups on the server. ## Actual behavior Fields of the objects are empty. ## Note We can't get existing appliction keys from backblaze, and we shouldn't create new ones unless really needed.
inex added the
Bug
Priority
Critical
labels 2023-08-29 13:48:06 +03:00
NaiJi was assigned by inex 2023-08-29 13:48:09 +03:00
inex added the
Severity
High
label 2023-08-30 15:02:48 +03:00
Collaborator

Is pending on PR 324.

Is pending on [PR 324](https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/324).
NaiJi closed this issue 2023-09-06 00:48:18 +03:00
NaiJi added the
Fixed
label 2023-09-06 00:48:28 +03:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy.org.app#320
There is no content yet.