Comments (3)
Hi jamie-mh,
First of all an HUGE merci (en Français haha). I figure out the problem!
For information, I used http://json.parser.online.fr/ to validate my JSON. Almost everytime, my JSON was valid.
After multiple try (around more than 100 ), I discovered that, if you import a .authpro files with "AuthenticatorSecret" containing LOWERCASE or SPACE in it, the apps crash after few seconds (or almost instantly).
Some provider (like Google (not every time) or Instagram) give secret key with SPACE or in LOWERCASE. When creating manualy the JSON for the .authpro file, the user has to put every "AuthenticatorSecret" in UPPERCASE and without SPACE. I've tested multiple time and the SAME key with or without SPACE OR lower/uppercase doesnt matter => generated code is the same.
Maybe it will be great if you can write somewhere a little tutorial or an info/warning to prevent this trouble. Another solution will be to remove automatically the SPACE and put all "AuthenticatorSecret" in UPPERCASE during the import process!
Now, I've 55 entries in my DB and all is AWSOME!
Thanks you for this great apps. I was looking for a lonnnnnng time an app with search function.
from authenticatorpro.
Hi @Engel1ST
I don't see why the number of entries would be a problem. There must be an issue with your file. Here is an example of what a backup file looks like:
{
"Authenticators": [
{
"Type": 2,
"Icon": "google",
"Issuer": "Google",
"Username": "[email protected]",
"Secret": "SECRETKEY123ABCD",
"Algorithm": 0,
"Digits": 6,
"Period": 30,
"Counter": 0,
"Ranking": 0
}
],
"Categories": [
{
"Id": "a8323a2a",
"Name": "Web",
"Ranking": 0
}
],
"AuthenticatorCategories": [
{
"CategoryId": "a8323a2a",
"AuthenticatorSecret": "SECRETKEY123ABCD",
"Ranking": 0
}
]
}
The Category Id is a random string of 8 alphanumeric characters.
The AuthenticatorCategory is a pair made up of the Category Id and the Authenticator Secret.
In your case, it might be easier for you to leave the Categories and AuthenticatorCategories arrays empty and just create them in the app once you've imported your authenticators.
Let me know if this works for you.
from authenticatorpro.
Great!
I'll write some documentation on how the backup files work, it could be useful for anyone else with this issue. As for the icons request you created, I'll get round to that soon when I get the time.
from authenticatorpro.
Related Issues (20)
- Feature Suggestion: Importing from Bitwarden Authenticator HOT 1
- WearOS Sync independent HOT 2
- Message in Spanish, please translate it. Quisiera saber y no sé si ya algunas personas hayan pedido lo mismo, sería la opción de agregar copia de seguridad en la nube, que se pueda guardar con Google Drive para poder guardar las copias de seguridad en la cuenta de Google, creo que sería algo genial y me motivaría a donar al projecto ya que es muy bueno. HOT 1
- Icon Request - Company-Bike
- Build guide would be nice..... HOT 1
- Icon Request
- QR Scan not working HOT 4
- Biometric unlock broken HOT 5
- Camera is not working properly HOT 2
- The app crashes when trying to add an account by scanning a QR code HOT 1
- Plain text URI list backup replaces @ and : with HTML escape sequences HOT 2
- [Feature Request] Pinning 2FA codes / Pin 2FA codes HOT 2
- Category versus Tag
- Failed to restore backup and import icon package HOT 1
- Request for Listing Authenticator Pro on Huawei AppGallery to Address HarmonyOS Installation Issues HOT 1
- Unable to set custom icon ("Error picking file")
- Imminent removal from the Google Play Store HOT 8
- Incompatibility with GrapheneOS due to 32bit on Izzy
- error
- Confusing UX for importing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from authenticatorpro.