Restore Not Working In Flatpak
The "restore" function does not work within flatpak. with the error
[ERROR] 2018-10-09 18:20:00 [Restore] Failed to import accounts
[ERROR] 2018-10-09 18:20:00 list index out of range
[ERROR] 2018-10-09 18:20:00 [Restore] Failed to import accounts
[ERROR] 2018-10-09 18:20:00 list index out of range
[ERROR] 2018-10-09 18:20:00 [Restore] Failed to import accounts
[ERROR] 2018-10-09 18:20:00 list index out of range
for plain-text JSON. When trying to restore from encrypted JSON you get
Traceback (most recent call last):
File "/app/lib/python3.7/site-packages/Authenticator/widgets/backup/gnupg.py", line 68, in __on_apply
status = GPG.get_default().decrypt_json(self._filename, paraphrase, output_file)
File "/app/lib/python3.7/site-packages/Authenticator/models/gnupg.py", line 42, in decrypt_json
with open(filename, 'rb') as infile:
FileNotFoundError: [Errno 2] No such file or directory: 'file:///home/chris/otp_accounts.json.gpg'
Tested with both version 0.2.5 from Flathub and master.