leapp icon indicating copy to clipboard operation
leapp copied to clipboard

App does not start after TimeMachine restore

Open hoegertn opened this issue 3 years ago • 6 comments

When launching Leapp on a new MacMini M1 I get the following error.

image

Any hints?

Desktop (please complete the following information):

  • OS: macOS BigSur on Apple Silicon
  • Leapp Version: 0.4.5

hoegertn avatar Feb 28 '21 10:02 hoegertn

This problem is not related to the M1 silicon, this is caused because the encryption of the configuration file on Leapp is based on the Machine ID.

By changing your Mac and using Time Machine, the App is unable to decrypt the config file.

To solve it, delete the file under ~/.Leapp and the app will work.

Sorry for the inconvenience

andreacavagna01 avatar Feb 28 '21 11:02 andreacavagna01

Thanks, it worked. Maybe an error message would be great.

Does that mean the config cannot be restored from a backup?

hoegertn avatar Feb 28 '21 12:02 hoegertn

exactly, for security concern of someone trying to steal the configuration encrypted file, this file can only be decrypted with the machine ID of the first system in which Leapp is installed

andreacavagna01 avatar Mar 01 '21 23:03 andreacavagna01

I think this needs to be made clear with a warning sign. People might rely on backups made by TM to store their credentials.

hoegertn avatar Mar 02 '21 09:03 hoegertn

Good point, absolutely a crash of the App is not the best idea, I'll add it in the next release

andreacavagna01 avatar Mar 02 '21 09:03 andreacavagna01

We're going to add a warning statement in the security section of the docs

ericvilla avatar Jun 14 '23 08:06 ericvilla