restic: regression: Fatal: Fatal: config cannot be loaded: ciphertext verification failed

Output of restic version

restic 0.12.0 compiled with go1.15.8 on linux/amd64

vs.

restic 0.11.0 compiled with go1.15.3 on linux/amd64

How did you run restic exactly?

restic -r /backup_target backup $HOME
open repository
Fatal: Fatal: config cannot be loaded: ciphertext verification failed

What backend/server/service did you use to store the repository?

Local mount-point of an NFS share

Expected behavior

It should work in the latest version as well.

Actual behavior

in latest version I got the error:

Fatal: Fatal: config cannot be loaded: ciphertext verification failed

In 0.11 and before the backup is started just fine, in 0.12 it doesn’t, to ensure that I don’t just make a typo I tried with the export RESTIC_PASSWORD="mypassword" as well. Confirmed that the error is only related to the version.

Steps to reproduce the behavior

Try to run backup, on latest version ?

Do you have any idea what may have caused this?

Not really.

Do you have an idea how to solve the issue?

Not really.

Did restic help you today? Did it make you happy in any way?

I managed to backup my data still ( after downgrade ) so even if I’m not happy at least I’m not super sad, that’s something, so I’m happy that the archive build assets are available for download. And the self update feature is neat ( when it does not break the function 😃 )

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 2
  • Comments: 17 (9 by maintainers)

Most upvoted comments

Hmm, just printing a slightly more detailed error message would be much simpler to implement. And after all a damaged key is a serious problem that must be fixed as one otherwise risks loosing access to the repository. It also seems to occur rarely enough that I’d prefer a simple solution for now.