How to clear secret_key and reset MIAB

Hi all, I am in a weird state with MIAB. I have backups to S3 working and have even done a local backup manually but when trying to restore any of the backups they fail with the following error:

root@box:/home# sudo -E duplicity restore --force file:///home/backup /home/user-data/
Synchronizing remote metadata to local cache...
Copying duplicity-full-signatures.20210721T000411Z.sigtar.gpg to local cache.
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: AES256 encrypted data
gpg: encrypted with 1 passphrase
gpg: decryption failed: Bad session key
===== End GnuPG log =====

While ideally Id like to just get the backups to be restore-able, It seems like my best option would be to simply try to clear all my backups and generate a new secret key and then attempt to create a new backup. I am open to trying other options though.

Prior to running this, did you run:

export PASSPHRASE=$(cat your_backup_secret_key_file.txt)

As per:

Yes I did, and I even confirmed the value was correct by running echo $PASSPHRASE to dump the value

What version of MiaB is this from?

It should be the latest, 0.54

This topic was automatically closed 40 days after the last reply. New replies are no longer allowed.