Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Standartize the backup format #360

Open
StoyanDimitrov opened this issue Jun 13, 2019 · 6 comments
Open

Standartize the backup format #360

StoyanDimitrov opened this issue Jun 13, 2019 · 6 comments
Assignees
Milestone

Comments

@StoyanDimitrov
Copy link

There is an ongoing initiative to standardize the backup format of several other OTP authenticators.

I suggest andOTP joins that movement.

@RichyHBM
Copy link
Contributor

I support the idea, but has there been any decided standard on what this format would be?

@flocke flocke self-assigned this Jun 15, 2019
@flocke flocke added this to the v0.7.0 milestone Jun 15, 2019
@flocke
Copy link
Member

flocke commented Jun 15, 2019

I totally agree with @RichyHBM and fully support a standardized backup format. I have a few free days next week and will try to look into the discussion you linked and maybe particiapte. As soon as a standard has been decided on I will start on implementing it in andOTP.

@captainju
Copy link

I support the idea, but has there been any decided standard on what this format would be?

Yes https://github.com/Authenticator-Extension/Authenticator/wiki/Standard-OTP-Backup-Format-Devloper-Info

@RichyHBM
Copy link
Contributor

The problem with that format is it wouldnt allow us to save any image/icon information with entries, maybe we can add a custom &image=... argument?

@captainju
Copy link

Yes the custom arg should be enough

@fortran77
Copy link

Just wanted to add a couple of comments.

Just the ability to exchange the essential TOTP information, without icons, will be very helpful to users. It's just one otpauth URI per line, so implementation can be quick.

Later the format can be further extended by agreement between developers to add:

  • Icons.
  • Encryption.
  • An end marker so file truncation can be detected
  • A comment syntax in case one wishes to manually annotate an exported file.
  • Checksums to detect corrruption.

@flocke flocke modified the milestones: v0.8.0, v0.8.1 Jul 7, 2020
@flocke flocke modified the milestones: v0.8.1, v0.8.2 Jan 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants