Authenticator-Extension / Authenticator-Extension/Authenticator
Importing JSON from AndOTP - Please change the "label" key to "account"
- Dominant language
- TypeScript
- Stars
- 4.7k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the issue
When exporting data to JSON format in the AndOTP app, the data is saved as follows:
```
[
{
"secret": "XXXXXXXXXXXXXXXXX111111",
"issuer": "Facebook",
"label": "Facebook:xxxxx",
"digits": 6,
"type": "TOTP",
"algorithm": "SHA1",
"thumbnail": "Facebook",
"last_used": 1716724437426,
"used_frequency": 16,
"period": 30,
"tags": [
"Facebook"
]
},
{
"secret": "XXXXXXXXXX222222",
"issuer": "Google",
"label": "Gmail:XXXXXX111@gmail.com",
"digits": 6,
"type": "TOTP",
"algorithm": "SHA1",
"thumbnail": "Google",
"last_used": 1612111168403,
"used_frequency": 2,
"period": 30,
"tags": [
"Gmail"
]
} ......... etc
```
Unfortunately, when importing data into the Authenticator, the "label" key is not considered. It would be enough if, during the import, the "label" key was changed to the "account" key - then the imported data would be complete.
Without this change, filtering for individual websites doesn't work properly, especially when you have more than one account for the same service.
I usually solve this by manually replacing the keys in a text editor before importing, but it would be much easier and more convenient if the replacement happened automatically.
### Browser
Firefox
### Browser Version
130
### Extension Version
8.0.0
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.