From 5439067e9fd7f389805826d9a57e81f1d2e3b9fb Mon Sep 17 00:00:00 2001 From: Alexander Bakker Date: Sun, 5 Jan 2025 13:21:55 +0100 Subject: [PATCH] Rename Authenticator Pro -> Stratum --- app/src/main/AndroidManifest.xml | 2 +- .../aegis/importers/DatabaseImporter.java | 2 +- ...rProImporter.java => StratumImporter.java} | 12 +++++------ app/src/main/res/values-ar-rSA/strings.xml | 1 - app/src/main/res/values-bg-rBG/strings.xml | 1 - app/src/main/res/values-ca-rES/strings.xml | 1 - app/src/main/res/values-cs-rCZ/strings.xml | 1 - app/src/main/res/values-da-rDK/strings.xml | 1 - app/src/main/res/values-de-rDE/strings.xml | 1 - app/src/main/res/values-el-rGR/strings.xml | 1 - app/src/main/res/values-es-rES/strings.xml | 1 - app/src/main/res/values-eu-rES/strings.xml | 1 - app/src/main/res/values-fi-rFI/strings.xml | 1 - app/src/main/res/values-fr-rFR/strings.xml | 1 - app/src/main/res/values-fy-rNL/strings.xml | 1 - app/src/main/res/values-gl-rES/strings.xml | 1 - app/src/main/res/values-hi-rIN/strings.xml | 1 - app/src/main/res/values-hu-rHU/strings.xml | 1 - app/src/main/res/values-in-rID/strings.xml | 1 - app/src/main/res/values-it-rIT/strings.xml | 1 - app/src/main/res/values-iw-rIL/strings.xml | 1 - app/src/main/res/values-ja-rJP/strings.xml | 1 - app/src/main/res/values-lv-rLV/strings.xml | 1 - app/src/main/res/values-nl-rNL/strings.xml | 1 - app/src/main/res/values-pl-rPL/strings.xml | 1 - app/src/main/res/values-pt-rBR/strings.xml | 1 - app/src/main/res/values-pt-rPT/strings.xml | 1 - app/src/main/res/values-ro-rRO/strings.xml | 1 - app/src/main/res/values-ru-rRU/strings.xml | 1 - app/src/main/res/values-sv-rSE/strings.xml | 1 - app/src/main/res/values-tr-rTR/strings.xml | 1 - app/src/main/res/values-vi-rVN/strings.xml | 1 - app/src/main/res/values-zh-rCN/strings.xml | 1 - app/src/main/res/values/strings.xml | 2 +- .../aegis/importers/DatabaseImporterTest.java | 20 +++++++++--------- ...ro_encrypted.bin => stratum_encrypted.bin} | Bin ...egacy.bin => stratum_encrypted_legacy.bin} | Bin ...uthpro_internal.db => stratum_internal.db} | Bin ...{authpro_plain.json => stratum_plain.json} | 0 39 files changed, 19 insertions(+), 49 deletions(-) rename app/src/main/java/com/beemdevelopment/aegis/importers/{AuthenticatorProImporter.java => StratumImporter.java} (97%) rename app/src/test/resources/com/beemdevelopment/aegis/importers/{authpro_encrypted.bin => stratum_encrypted.bin} (100%) rename app/src/test/resources/com/beemdevelopment/aegis/importers/{authpro_encrypted_legacy.bin => stratum_encrypted_legacy.bin} (100%) rename app/src/test/resources/com/beemdevelopment/aegis/importers/{authpro_internal.db => stratum_internal.db} (100%) rename app/src/test/resources/com/beemdevelopment/aegis/importers/{authpro_plain.json => stratum_plain.json} (100%) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 9339e65996..9156f0bfa4 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -150,7 +150,7 @@ - + diff --git a/app/src/main/java/com/beemdevelopment/aegis/importers/DatabaseImporter.java b/app/src/main/java/com/beemdevelopment/aegis/importers/DatabaseImporter.java index 1be462f5f5..fe1b5b5fbb 100644 --- a/app/src/main/java/com/beemdevelopment/aegis/importers/DatabaseImporter.java +++ b/app/src/main/java/com/beemdevelopment/aegis/importers/DatabaseImporter.java @@ -34,7 +34,6 @@ public abstract class DatabaseImporter { _importers.add(new Definition("Aegis", AegisImporter.class, R.string.importer_help_aegis, false)); _importers.add(new Definition("andOTP", AndOtpImporter.class, R.string.importer_help_andotp, false)); _importers.add(new Definition("Authenticator Plus", AuthenticatorPlusImporter.class, R.string.importer_help_authenticator_plus, false)); - _importers.add(new Definition("Authenticator Pro", AuthenticatorProImporter.class, R.string.importer_help_authenticator_pro, true)); _importers.add(new Definition("Authy", AuthyImporter.class, R.string.importer_help_authy, true)); _importers.add(new Definition("Battle.net Authenticator", BattleNetImporter.class, R.string.importer_help_battle_net_authenticator, true)); _importers.add(new Definition("Bitwarden", BitwardenImporter.class, R.string.importer_help_bitwarden, false)); @@ -46,6 +45,7 @@ public abstract class DatabaseImporter { _importers.add(new Definition("Microsoft Authenticator", MicrosoftAuthImporter.class, R.string.importer_help_microsoft_authenticator, true)); _importers.add(new Definition("Plain text", GoogleAuthUriImporter.class, R.string.importer_help_plain_text, false)); _importers.add(new Definition("Steam", SteamImporter.class, R.string.importer_help_steam, true)); + _importers.add(new Definition("Stratum (Authenticator Pro)", StratumImporter.class, R.string.importer_help_stratum, true)); _importers.add(new Definition("TOTP Authenticator", TotpAuthenticatorImporter.class, R.string.importer_help_totp_authenticator, true)); _importers.add(new Definition("WinAuth", WinAuthImporter.class, R.string.importer_help_winauth, false)); } diff --git a/app/src/main/java/com/beemdevelopment/aegis/importers/AuthenticatorProImporter.java b/app/src/main/java/com/beemdevelopment/aegis/importers/StratumImporter.java similarity index 97% rename from app/src/main/java/com/beemdevelopment/aegis/importers/AuthenticatorProImporter.java rename to app/src/main/java/com/beemdevelopment/aegis/importers/StratumImporter.java index 1f755962e8..7504d98aa6 100644 --- a/app/src/main/java/com/beemdevelopment/aegis/importers/AuthenticatorProImporter.java +++ b/app/src/main/java/com/beemdevelopment/aegis/importers/StratumImporter.java @@ -45,11 +45,11 @@ import javax.crypto.SecretKey; import javax.crypto.spec.IvParameterSpec; -public class AuthenticatorProImporter extends DatabaseImporter { +public class StratumImporter extends DatabaseImporter { private static final String HEADER = "AUTHENTICATORPRO"; private static final String HEADER_LEGACY = "AuthenticatorPro"; - private static final String PKG_NAME = "me.jmh.authenticatorpro"; - private static final String PKG_DB_PATH = "files/proauth.db3"; + private static final String PKG_NAME = "com.stratumauth.app"; + private static final String PKG_DB_PATH = "databases/authenticator.db3"; private enum Algorithm { SHA1, @@ -57,7 +57,7 @@ private enum Algorithm { SHA512 } - public AuthenticatorProImporter(Context context) { + public StratumImporter(Context context) { super(context); } @@ -169,7 +169,7 @@ public void decrypt(Context context, DecryptListener listener) throws DatabaseIm Argon2Task.Params params = getKeyDerivationParams(password); Argon2Task task = new Argon2Task(context, key -> { try { - AuthenticatorProImporter.JsonState state = decrypt(key); + StratumImporter.JsonState state = decrypt(key); listener.onStateDecrypted(state); } catch (DatabaseImporterException e) { listener.onError(e); @@ -244,7 +244,7 @@ public void decrypt(Context context, DecryptListener listener) throws DatabaseIm PBKDFTask.Params params = getKeyDerivationParams(password); PBKDFTask task = new PBKDFTask(context, key -> { try { - AuthenticatorProImporter.JsonState state = decrypt(key); + StratumImporter.JsonState state = decrypt(key); listener.onStateDecrypted(state); } catch (DatabaseImporterException e) { listener.onError(e); diff --git a/app/src/main/res/values-ar-rSA/strings.xml b/app/src/main/res/values-ar-rSA/strings.xml index a21363fabb..9b0ed729c4 100644 --- a/app/src/main/res/values-ar-rSA/strings.xml +++ b/app/src/main/res/values-ar-rSA/strings.xml @@ -515,7 +515,6 @@ توفير مِلَفّ النسخ الاحتياطي 2FAS Authenticator. توفير مِلَفّ Aegis للتصدير / النسخ الاحتياطي. توفير مِلَفّ تصدير Authenticator Plus الذي تم الحصول عليه من خلال الإعدادات -> النسخ الاحتياطي & استعادة -> تصدير كنص و HTML. - توفير مِلَفّ تصدير Authenticator Pro الذي تم الحصول عليه من خلال <b>الإعدادات -> النسخ الاحتياطي -> النسخ الاحتياطي إلى مِلَفّ مشفر (مستحسن). توفير نسخة من /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml، الموجود في دليل التخزين الداخلي لـ Authy. توفير مِلَفّ تصدير / نسخ احتياطي andOTP. توفير مِلَفّ تصدير / نسخ احتياطي لـ Bitwarden. الملفات المشفرة غير مدعومة. diff --git a/app/src/main/res/values-bg-rBG/strings.xml b/app/src/main/res/values-bg-rBG/strings.xml index 725b106740..7398978f11 100644 --- a/app/src/main/res/values-bg-rBG/strings.xml +++ b/app/src/main/res/values-bg-rBG/strings.xml @@ -499,7 +499,6 @@ Изберете файл с резервно копие на 2FAS Authenticator. Изберете изнесен файл или резервно копие на Aegis. Изберете файл с резервно копие на Authenticator Plus, получен от Настройки → Резервни копия и възстановяване → Изнасяне като текст и HTML. - Изберете файл с резервно копие на Authenticator Pro, получен от Настройки → Резервно копие → Резервно копие в шифрован файл (препотъчително). Изберете копие на файла /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, който се намира в папката с данни на Authy. Изберете изнесен файл или резервно копие на andOTP. Изберете изнесен файл или резервно копие на Bitwarden. Шифровани файлове не се поддържат. diff --git a/app/src/main/res/values-ca-rES/strings.xml b/app/src/main/res/values-ca-rES/strings.xml index 2993a46a27..cdb7e26485 100644 --- a/app/src/main/res/values-ca-rES/strings.xml +++ b/app/src/main/res/values-ca-rES/strings.xml @@ -497,7 +497,6 @@ Subministra un fitxer exportat del 2FAS Authenticator. Subministra un fitxer exportat del Aegis. Subministra un fitxer exportat del Authenticator Plus, obtingut amb Settings -> Backup & Restore -> Export as Text and HTML. - Proveeix un fitxer exportat d\'Authenticat Pro, aconseguit a Settings > Back up > Back up to encrypted file (recommended). Subministra una còpia de /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, que està a l\'emmagatzematge intern del teu dispositiu, al directori del Authy. Subministra un fitxer exportat del andOTP. Subministreu un fitxer d\'exportació/còpia de seguretat de Bitwarden. Els fitxers xifrats no són compatibles. diff --git a/app/src/main/res/values-cs-rCZ/strings.xml b/app/src/main/res/values-cs-rCZ/strings.xml index 353ca221e6..79c7a16f90 100644 --- a/app/src/main/res/values-cs-rCZ/strings.xml +++ b/app/src/main/res/values-cs-rCZ/strings.xml @@ -525,7 +525,6 @@ Dodejte záložní soubor 2FAS Authenticator. Dodejte soubor exportu/zálohy Aegis. Dodejte exportovaný soubor Authenticator Plus získaný přes Nastavení -> Záloha a obnovení -> Exportovat jako text a HTML. - Dodejte exportovaný soubor Authenticator Pro získaný přes Nastavení -> Záloha -> Exportovat do šifrovaného souboru (doporučeno). Dodejte kopii /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, která se nachází v interním úložišti Authy. Dodejte soubor exportu/zálohy andOTP. Vyberte soubor exportu/zálohy Bitwardenu. Šifrované soubory nejsou podporovány. diff --git a/app/src/main/res/values-da-rDK/strings.xml b/app/src/main/res/values-da-rDK/strings.xml index 1abf88330b..d53c504085 100644 --- a/app/src/main/res/values-da-rDK/strings.xml +++ b/app/src/main/res/values-da-rDK/strings.xml @@ -499,7 +499,6 @@ Stil en 2FAS-godkendelse sikkerhedskopifil til rådighed. Levér en Aegis eksport/backup fil. Levér en Authenticator Plus-eksportfil opnået gennem Indstillinger -> Sikkerhedskopi & Gendan -> Eksport som tekst og HTML. - Benyt en Authenticator Pro-eksportfil genereret via Indstillinger -> Sikkerhedskopiering -> Sikkerhedskopiering til krypteret fil (anbefalet). Levér en kopi af /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, der er placeret i den interne lagermappe i Authy. Levér en andOTP eksport/backup fil. Vælg en Bitwarden-eksport-/sikkerhedskopifil. Krypterede filer understøttes ikke. diff --git a/app/src/main/res/values-de-rDE/strings.xml b/app/src/main/res/values-de-rDE/strings.xml index d657c84c08..828fc4c0be 100644 --- a/app/src/main/res/values-de-rDE/strings.xml +++ b/app/src/main/res/values-de-rDE/strings.xml @@ -499,7 +499,6 @@ Gib eine 2FAS-Authenticator-Sicherungsdatei an. Gib eine Aegis-Export-/Sicherungsdatei an. Gib eine Authenticator-Plus-Exportdatei an, die du über Einstellungen -> Sicherung & Rücksicherung -> Exportieren als Text und HTML Format erhältst. - Gib eine Authenticator-Pro-Exportdatei an, die du über Einstellungen -> Sicherung -> Als verschlüsselte Datei sichern (empfohlen) erhältst. Gib eine Kopie von /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml an, die sich im internen Speicherverzeichnis von Authy befindet. Gib eine andOTP-Export-/Sicherungsdatei an. Gib eine Bitwarden-Export-/Sicherungsdatei an. Verschlüsselte Dateien werden nicht unterstützt. diff --git a/app/src/main/res/values-el-rGR/strings.xml b/app/src/main/res/values-el-rGR/strings.xml index 3954d4ebad..244447c8b0 100644 --- a/app/src/main/res/values-el-rGR/strings.xml +++ b/app/src/main/res/values-el-rGR/strings.xml @@ -498,7 +498,6 @@ Παρέχετε ένα αντίγραφο ασφαλείας 2FAS Authenticator. Παρέχετε ένα αρχείο εξαγωγής/αντιγράφων ασφαλείας Aegis. Παρέχετε ένα αρχείο εξαγωγής Authenticator Plus που αποκτήθηκε μέσω των Ρυθμίσεων - > Αντιγράφων ασφαλείας & Επαναφορά - > Εξαγωγή ως Κείμενο και HTML . - Παρέχεται ένα αρχείο εξαγωγής Authenticator Pro που λαμβάνεται μέσω Ρυθμίσεις -> Δημιουργία αντιγράφων ασφαλείας -> Δημιουργία σε κρυπτογραφημένο αρχείο (συνιστάται). Παρέχετε ένα αντίγραφο του /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, που βρίσκεται στον κατάλογο εσωτερικής αποθήκευσης του Authy. Παρέχετε ένα αρχείο εξαγωγής/αντιγράφου ασφαλείας andOTP. Παρέχετε ένα αρχείο εξαγωγής/αντιγράφων ασφαλείας Bitwarden. Τα κρυπτογραφημένα αρχεία δεν υποστηρίζονται. diff --git a/app/src/main/res/values-es-rES/strings.xml b/app/src/main/res/values-es-rES/strings.xml index bcb4afa771..0566e6041c 100644 --- a/app/src/main/res/values-es-rES/strings.xml +++ b/app/src/main/res/values-es-rES/strings.xml @@ -499,7 +499,6 @@ Suministre un archivo exportado de 2FAS Authenticator. Suministre un archivo exportado/copia de seguridad de Aegis. Suministre un archivo exportado de Authenticator Plus obtenido a través de Ajustes -> Copias de seguridad -> Exportar como texto y HTML. - Suministra un archivo de exportación de Authenticator Pro obtenido a través de Configuración -> Copias de seguridad -> Copia de seguridad en archivo cifrado (recomendado). Proporciona una copia del archivo /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, ubicado en la carpeta de almacenamiento interno de Authy. Suministre un archivo exportado/copia de seguridad de andOTP. Suministra un archivo de exportación/copia de seguridad de Bitwarden. Los archivos encriptados no están soportados. diff --git a/app/src/main/res/values-eu-rES/strings.xml b/app/src/main/res/values-eu-rES/strings.xml index 160807b76e..2564a00ca5 100644 --- a/app/src/main/res/values-eu-rES/strings.xml +++ b/app/src/main/res/values-eu-rES/strings.xml @@ -489,7 +489,6 @@ Aukeratu 2FAS Authenticator segurtasun-kopia fitxategia. Aegisen esportazio/segurtasun-kopia fitxategia aukeratu. Authenticator Plus esportazio fitxategia aukeratu. Lortzeko modua: Settings -> Backup & Restore -> Export as Text and HTML. - Aukeratu Authenticator Proren esportazio fitxategia Settings -> Back up -> Back up to encrypted file (recommended) aukeratik lortu bezala. /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml fitxategia aukeratu. andOTPren esportazio/segurtasun-kopia fitxategia aukeratu. Kargatu Bitwardenen esportazio/segurtasun-kopia fitxategi bat. Ezin dituzu zifratutako fitxategiak kargatu. diff --git a/app/src/main/res/values-fi-rFI/strings.xml b/app/src/main/res/values-fi-rFI/strings.xml index d4c3c316c3..9b52b6db6b 100644 --- a/app/src/main/res/values-fi-rFI/strings.xml +++ b/app/src/main/res/values-fi-rFI/strings.xml @@ -499,7 +499,6 @@ Anna 2FAS Authenticatorin varmuuskopiotiedosto. Anna Aegisisin vienti-/varmuuskopiotiedosto. Anna Authenticator Plus -varmuuskopiotiedosto, jonka saat menemällä Asetukset ->Varmuuskopiointi ja palautus -> Vie teksti- tai HTML-tiedostona. - Toimita Authenticator Pro -vientitiedosto, jonka löydät menemällä Asetukset -> Varmuuskopioi -> Varmuuskopioi salattuun tiedostoon (suositus). Anna kopio tiedostosta /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, joka sijaitsee Authyn sisäisessä tallennushakemistossa. Anna andOTP:n vienti-/varmuuskopiotiedosto. Anna Bitwardenin vienti-/varmuuskopiotiedosto. Salattuja tiedostoja ei tueta. diff --git a/app/src/main/res/values-fr-rFR/strings.xml b/app/src/main/res/values-fr-rFR/strings.xml index ace507da9f..3b3fcfc033 100644 --- a/app/src/main/res/values-fr-rFR/strings.xml +++ b/app/src/main/res/values-fr-rFR/strings.xml @@ -499,7 +499,6 @@ Fournir une sauvegarde 2FAS Authenticator. Fournir un export/sauvegarde Aegis. Fournir un export Authenticator Plus obtenu via Paramètres -> Sauvegarde & Restauration -> Exporter en tant que texte et HTML. - Fournir un export Authenticator Pro obtenu via Paramètres -> Sauvegarde -> Sauvegarder en tant que fichier chiffré (recommandé). Fournir une copie de /data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, situé dans le répertoire de stockage interne d\'Authy. Fournir un export/sauvegarde andOTP. Fournir un export/sauvegarde Bitwarden. Les fichiers chiffrés ne sont pas pris en charge. diff --git a/app/src/main/res/values-fy-rNL/strings.xml b/app/src/main/res/values-fy-rNL/strings.xml index 746d23645c..a512cd75db 100644 --- a/app/src/main/res/values-fy-rNL/strings.xml +++ b/app/src/main/res/values-fy-rNL/strings.xml @@ -499,7 +499,6 @@ Leverje in 2FAS-autentikator-eksportbestân oan. Leverje in Aegis-eksport-/reservekopybestân oan. Leverje in Authenticator Plus-eksportbestân oan krigen fia Ynstellingen -> Reservekopy & Werstelle -> Eksportearje as Tekst en HTML. - Leverje in Authenticator Pro-eksportbestân oan krigen fia Ynstellingen -> Reservekopy -> Reservekopy nei fersifere bestân (oanrekommandearre). Leverje in kopy oan fan /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, pleatst yn de ynterne ûnthâldmap fan Authy. Leverje in andOTP-eksport-/reservekopybestân oan. Leverje in Bitwarden-eksport-/reservekopybestân oan. Fersifere bestannen wurde net stipe. diff --git a/app/src/main/res/values-gl-rES/strings.xml b/app/src/main/res/values-gl-rES/strings.xml index 3e4310f153..06c4d24bf2 100644 --- a/app/src/main/res/values-gl-rES/strings.xml +++ b/app/src/main/res/values-gl-rES/strings.xml @@ -499,7 +499,6 @@ Proporciona un ficheiro de copia de seguridade de 2FAS Authenticator. Proporciona un ficheiro de copia de seguridade ou de exportación de Aegis. Proporciona un ficheiro de exportación de Authenticator Plus obtido mediante Axustes -> Copia de seguridade e restauración -> Exportar como texto e HTML. - Proporciona un ficheiro de exportación de Authenticator Pro, obtido desde Axustes -> Copia de seguridade -> Facer copia de seguridade nun ficheiro cifrado (recomendado). Proporciona unha copia de /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, localizado no directorio do almacenamento interno de Authy. Proporciona un ficheiro de copia de seguridade ou de exportación de andOTP. Proporciona un ficheiro de copia de seguridade ou de exportación de Bitwarden. Non se admiten os ficheiros cifrados. diff --git a/app/src/main/res/values-hi-rIN/strings.xml b/app/src/main/res/values-hi-rIN/strings.xml index d59590779b..392d3dde10 100644 --- a/app/src/main/res/values-hi-rIN/strings.xml +++ b/app/src/main/res/values-hi-rIN/strings.xml @@ -399,7 +399,6 @@ एजिस निर्यात/बैकअप फ़ाइल की आपूर्ति करें। एक प्रमाणक प्लस निर्यात फ़ाइल की आपूर्ति करें सेटिंग्स -> बैकअप & पुनर्स्थापना -> पाठ और HTML के रूप में निर्यात करें - सेटिंग्स -> बैक अप -> के माध्यम से प्राप्त ऑथेंटिकेटर प्रो एक्सपोर्ट फ़ाइल की आपूर्ति करें। एन्क्रिप्टेड फ़ाइल का बैकअप लें (अनुशंसित) Authy की आंतरिक संग्रहण निर्देशिका में स्थित /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml की एक प्रति प्रदान करें। एक andOTP निर्यात/बैकअप फ़ाइल की आपूर्ति करें। एक बिटवर्डन निर्यात/बैकअप फ़ाइल की आपूर्ति करें। एन्क्रिप्टेड फ़ाइलें समर्थित नहीं हैं। diff --git a/app/src/main/res/values-hu-rHU/strings.xml b/app/src/main/res/values-hu-rHU/strings.xml index ab1d4d98e4..bea2a8d74c 100644 --- a/app/src/main/res/values-hu-rHU/strings.xml +++ b/app/src/main/res/values-hu-rHU/strings.xml @@ -499,7 +499,6 @@ Adja meg a 2FAS Authenticator egy biztonsági mentési fájlját. Adja meg az Aegis egy exportját vagy biztonsági mentési fájlját. Adja meg az Authenticator Plus egy exportfájlját, melyet a Beállítások -> Mentés és visszaállítás -> Exportálás szövegként vagy HTML-ként résznél állíthat elő. - Adja meg az Authenticator Plus egy exportfájlját, melyet a Beállítások -> Biztonsági mentés -> Biztonsági mentés titkosított fájlba (ajánlott) résznél állíthat elő. Adja meg a /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml másolatát, mely az Authy belső háttértáron levő mappájában található. Adja meg az andOTP egy exportját vagy biztonsági mentési fájlját. Adja meg a Bitwarden egy exportját vagy biztonsági mentési fájlját. A titkosított fájlok nem támogatottak. diff --git a/app/src/main/res/values-in-rID/strings.xml b/app/src/main/res/values-in-rID/strings.xml index ec3a2f80ad..dcb49a00a3 100644 --- a/app/src/main/res/values-in-rID/strings.xml +++ b/app/src/main/res/values-in-rID/strings.xml @@ -484,7 +484,6 @@ Sediakan sebuah berkas cadangan Autetikator 2FAS. Siapkan berkas ekspor/cadangan Aegis. Siapkan berkas ekspor Authenticator Plus yang didapat melaluiPengaturan -> Pemulihan & Cadangan -> Ekspor sebagai Teks dan HTML. - Sediakan file ekspor Authenticator Pro yang diperoleh melalui Pengaturan -> Cadangkan -> Cadangkan ke file terenkripsi (disarankan). Siapkan salinan /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, yang terletak di direktori penyimpanan internal Authy. Siapkan berkas ekspor/cadangan andOTP. diff --git a/app/src/main/res/values-it-rIT/strings.xml b/app/src/main/res/values-it-rIT/strings.xml index d8ad81b716..4b890e12df 100644 --- a/app/src/main/res/values-it-rIT/strings.xml +++ b/app/src/main/res/values-it-rIT/strings.xml @@ -445,7 +445,6 @@ Seleziona un backup di 2FAS Authenticator. Seleziona un file di backup di Aegis. Seleziona un file di esportazione di Authenticator Plus ottenuto tramite Impostazioni -> Backup & Ripristino -> Esporta come testo e HTML. - Fornire un file di esportazione di Authenticator Pro ottenuto tramite Impostazioni -> Backup -> Backup in file cifrato (raccomandato). Seleziona una copia di /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, situata nella directory della memoria interna di Authy. Seleziona un file di backup di andOTP. Seleziona un file di esportazione/backup di Bitwarden. I file crittografati non sono supportati. diff --git a/app/src/main/res/values-iw-rIL/strings.xml b/app/src/main/res/values-iw-rIL/strings.xml index 6468bf9a9d..7a94c36833 100644 --- a/app/src/main/res/values-iw-rIL/strings.xml +++ b/app/src/main/res/values-iw-rIL/strings.xml @@ -388,7 +388,6 @@ ספק קובץ גיבוי של 2FAS Authenticator. ספק קובץ ייצוא/גיבוי של Aegis. ספק קובץ ייצוא של Authenticator Plus שהושג דרך הגדרות -> גיבוי & שחזור -> ייצוא כטקסט ו-HTML. - ספק קובץ ייצוא של Authenticator Pro שהושג דרך הגדרות -> גיבוי -> גבה לקובץ מוצפן (מומלץ). ספק עותק של /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, הממוקם בספריית האחסון הפנימית של Authy. ספק קובץ יצוא/גיבוי andOTP. ספק קובץ יצוא/גיבוי של Bitwarden. קבצים מוצפנים אינם נתמכים. diff --git a/app/src/main/res/values-ja-rJP/strings.xml b/app/src/main/res/values-ja-rJP/strings.xml index 7c11b8fc60..ce76380329 100644 --- a/app/src/main/res/values-ja-rJP/strings.xml +++ b/app/src/main/res/values-ja-rJP/strings.xml @@ -416,7 +416,6 @@ 2FAS Authenticatorのバックアップファイルを提供します。 Aegisのエクスポート/バックアップファイルを提供します。 Authenticator PlusのSettings -> Backup & Restore -> Export as Text and HTMLで取得したエクスポートファイルを提供します。 - Authenticator Pro でファイルをエクスポートするには、設定 -> バックアップ -> 暗号化されたファイルへバックアップ (推奨) と進みます。 Authyの内部ストレージディレクトリにある /data/data/com.authy/shared_prefs/com.auth.storage.tokens.authenticator.xmlのコピーを提供します。 andOTPのエクスポート/バックアップ ファイルを提供します。 Bitwarden のエクスポート/バックアップファイルを提供します。暗号化されたファイルはサポートされていません。 diff --git a/app/src/main/res/values-lv-rLV/strings.xml b/app/src/main/res/values-lv-rLV/strings.xml index 23ad5f3ab8..6973b8bf87 100644 --- a/app/src/main/res/values-lv-rLV/strings.xml +++ b/app/src/main/res/values-lv-rLV/strings.xml @@ -512,7 +512,6 @@ Jāiesniedz 2FAS Authenticator izgūšanas datne. Jāiesniedz Aegis izgūšanas/rezerves kopijas datne. Jāiesniedz Authenticator Plus izgūšanas datne, kas ir iegūta ar Iestatījumi -> Dublēšana un atjaunošana -> Izgūt kā tekstu un HTML. - Jāiesniedz Authenticator Pro izgūšanas datne, kas ir iegūstama Iestatījumi -> Rezerves kopijas -> Dublēt šifrētā datnē (ieteicams). Jāiesniedz /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml kopija, kas atrodas iekšējās krātuves Authy mapē. Jāiesniedz andOTP izgūšanas/rezerves kopijas datne. Jāiesniedz Bitwarden izgūšanas/rezerves kopijas datne. Šifrētas datnes netiek atbalstītas. diff --git a/app/src/main/res/values-nl-rNL/strings.xml b/app/src/main/res/values-nl-rNL/strings.xml index bc8c60cb88..a395701e66 100644 --- a/app/src/main/res/values-nl-rNL/strings.xml +++ b/app/src/main/res/values-nl-rNL/strings.xml @@ -499,7 +499,6 @@ Lever een 2FAS Authenticator-back-upbestand aan. Lever een Aegis-export/-back-upbestand aan. Lever een Authenticator Plus-exportbestand aan verkregen via Instellingen -> Back-up & Herstellen -> Exporteren als Tekst en HTML. - Lever een Authenticator Pro-exportbestand aan verkregen via Instellingen -> Back-up -> Back-up naar versleuteld bestand (aanbevolen). Lever een kopie aan van /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, geplaatst in de interne opslagmap van Authy. Lever een andOTP-export/-back-upbestand aan. Lever een Bitwarden-export/-back-upbestand aan. Versleutelde bestanden worden niet ondersteund. diff --git a/app/src/main/res/values-pl-rPL/strings.xml b/app/src/main/res/values-pl-rPL/strings.xml index e43b89d2eb..5229310d6f 100644 --- a/app/src/main/res/values-pl-rPL/strings.xml +++ b/app/src/main/res/values-pl-rPL/strings.xml @@ -524,7 +524,6 @@ Dostarcz plik zapasowy 2FAS Authenticator. Dostarcz plik zapasowy Aegis. Dostarcz plik eksportu Authenticator Plus uzyskany w Ustawienia -> Kopia zapasowa & Przywróć -> Eksportuj jako tekst i HTML. - Dostarcz plik eksportu Authenticator Pro uzyskany przez Ustawienia -> Kopia zapasowa -> Kopia zapasowa do zaszyfrowanego pliku (zalecana). Dostarcz kopię /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, znajdującą się w wewnętrznym katalogu pamięci Authy. Dostarcz plik andOTP eksportu/kopii zapasowej. Dostarcz plik kopii zapasowej Bitwarden. Zaszyfrowane pliki nie są obsługiwane. diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 3dcde19344..3ec74df766 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -500,7 +500,6 @@ Por favor, configure o local de backup. Forneça um arquivo de backup do 2FAS Authenticator. Fornecer um arquivo de exportação/backup do Aegis. Fornecer um arquivo de exportação do Autenticador Plus obtido através de Configurações -> Backup & Restaurar -> Exportar como Texto e HTML. - Forneça um arquivo de exportação do Autenticador Pro obtido através de Configurações -> Fazer backup -> Fazer backup para arquivo criptografado (recomendado). Fornecer uma cópia de /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, localizado no diretório de armazenamento interno do Authy. Fornecer um arquivo de exportação/backup do andOTP. Forneça um arquivo de exportação/backup do Bitwarden. Arquivos criptografados não são suportados. diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index 1709495fc7..e54f1ac291 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -453,7 +453,6 @@ Fornecer um arquivo de backup de 2FAS Authenticator. Fornecer um arquivo de exportação/backup do Aegis. Fornecer um arquivo de exportação do Autenticador Plus obtido através de Configurações -> Backup & Restaurar -> Exportar como Texto e HTML. - Forneça um ficheiro de exportação do Authenticator Pro obtido através de Settings -> Back up -> Back up to encrypted file (recommended). Fornecer uma cópia de /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, localizado no diretório de armazenamento interno do Authy. Fornecer um arquivo de exportação/backup do andOTP. Forneça um ficheiro de exportação/backup Bitwarden. Os ficheiros encriptados não são suportados. diff --git a/app/src/main/res/values-ro-rRO/strings.xml b/app/src/main/res/values-ro-rRO/strings.xml index 2b7b773b5b..9444f572ea 100644 --- a/app/src/main/res/values-ro-rRO/strings.xml +++ b/app/src/main/res/values-ro-rRO/strings.xml @@ -500,7 +500,6 @@ Furnizează un fișier de backup 2FAS autentificator. Furnizează un fișier export/copie de rezervă Aegis. Furnizează un fişier de export de Autentificator Plus obţinut prin Setări -> Copie de rezervă & Restore -> Export ca Text şi HTML. - Furnizează fișierul cu parole provenit de la Authenticator Pro, fișier ce poate fi obținut prin Setări -> Backup -> Backup criptat (recomandat). Furnizează o copie a /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, localizată în directorul de stocare internă al Authy. Furnizați un fişier de export/copie de rezervă andOTP. Furnizează un fișier de backup din aplicația Bitwarden. Fișierele criptate nu sunt suportate. diff --git a/app/src/main/res/values-ru-rRU/strings.xml b/app/src/main/res/values-ru-rRU/strings.xml index 5a7a3d8520..c9e52ed7ce 100644 --- a/app/src/main/res/values-ru-rRU/strings.xml +++ b/app/src/main/res/values-ru-rRU/strings.xml @@ -525,7 +525,6 @@ Необходим файл резервной копии 2FAS. Необходим файл экспорта/резервной копии Aegis. Необходим файл экспорта Authenticator Plus, полученный через «Настройки» → «Рез. копия и восстановление» → «Экспорт текста и HTML». - Необходим файл экспорта Authenticator Pro, полученный через «Настройки» → «Резервное копирование» → «Резервное копирование в зашифрованный файл (рекомендуется)». Необходима копия файла /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, расположенного в папке «Authy» во внутренней памяти. Необходим файл экспорта/резервной копии andOTP. Необходим файл экспорта/резервной копии Bitwarden. Зашифрованные файлы не поддерживаются. diff --git a/app/src/main/res/values-sv-rSE/strings.xml b/app/src/main/res/values-sv-rSE/strings.xml index c135f526ab..fc530014b3 100644 --- a/app/src/main/res/values-sv-rSE/strings.xml +++ b/app/src/main/res/values-sv-rSE/strings.xml @@ -499,7 +499,6 @@ Tillhandahåll en säkerhetskopieringsfil från 2FAS Authenticator. Tillhandahåll en export-/säkerhetskopieringsfil från Aegis. Tillhandahåll en exportfil från Authenticator Plus som har erhållits genom Settings -> Backup & Restore -> Export as Text and HTML. - Tillhandahåll en exportfil från Authenticator Pro som har erhållits genom Inställningar -> Säkerhetskopiera -> Säkerhetskopiera till krypterad fil (rekommenderas). Tillhandahåll en kopia av /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, som finns i den interna lagringskatalogen för Authy. Tillhandahåll en export-/säkerhetskopieringsfil från andOTP. Tillhandahåll en export-/säkerhetskopieringsfil från Bitwarden. Krypterade filer stöds ej. diff --git a/app/src/main/res/values-tr-rTR/strings.xml b/app/src/main/res/values-tr-rTR/strings.xml index 95bc7bcded..755942455a 100644 --- a/app/src/main/res/values-tr-rTR/strings.xml +++ b/app/src/main/res/values-tr-rTR/strings.xml @@ -432,7 +432,6 @@ 2FAS Authenticator dışa aktarım dosyasını sağlayın. Aegis dışarı aktarım/yedek dosyası sağlayın. Ayarlar -> Yedekleme & Geri Yükleme -> Metin ya da HTML olarak dışa aktar yolunu izleyerek bir Authenticator Plus dışa aktarım dosyası sağlayın. - Ayarlar ->; Yedekle ->; Şifreli dosyaya yedekle (önerilir) aracılığıyla elde edilen bir Authenticator Pro dışa aktarma dosyası sağlar. /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xmldosyasını sağlayın, Authy\'nin dahili depolama konumunda bulunabilir. andOTP dışa aktarım dosyasını sağlayın. Bitwarden\'a ait bir yedekleme/aktarma dosyası sağlayın. Şifrelenmiş dosyalar desteklenmiyor. diff --git a/app/src/main/res/values-vi-rVN/strings.xml b/app/src/main/res/values-vi-rVN/strings.xml index d4c95d4c51..72f5d93ec8 100644 --- a/app/src/main/res/values-vi-rVN/strings.xml +++ b/app/src/main/res/values-vi-rVN/strings.xml @@ -487,7 +487,6 @@ Cung cấp một tập tin sao lưu 2FAS Authenticator. Cung cấp một file xuất/sao lưu Aegis. Cung cấp một tập tin xuất Authenticator Plus được nhận qua Cài đặt -> Sao lưu & Khôi phục -> Xuất dưới dạng Văn bản và HTML. - Cung cấp tập tin xuất Authenticator Pro có được thông qua Cài đặt -> Sao lưu -> Sao lưu tập tin mã hóa (đề xuất). Cung cấp một bản sao của /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, nằm trong thư mục bộ nhớ trong của Authy. Cung cấp một tập tin xuất/sao lưu andOTP. Hãy chọn tập tin xuất/sao lưu của Bitwarden. Tập tin mã hoá không được hỗ trợ. diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 94479df0d8..5629658cb8 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -485,7 +485,6 @@ 提供一个 2FAS 身份验证器备份文件。 提供一个 Aegis 导出/备份文件。 提供一个通过 设置 -> 备份 & 还原 -> 导出为纯文本和 HTML 获得的 Authenticator Plus 导出文件。 - 提供一个用如下方式获取的 Authenticator Pro 导出文件:设置 -> 备份 -> 备份到加密文件(推荐) 提供 /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml 的一个副本,位于 Authy 的内部存储目录。 提供 andOTP 导出/备份文件。 提供 Bitwarden 导出 / 备份文件。不支持加密的文件。 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2725c77f2a..e115154b62 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -530,7 +530,6 @@ Supply a 2FAS Authenticator backup file. Supply an Aegis export/backup file. Supply an Authenticator Plus export file obtained through Settings -> Backup & Restore -> Export as Text and HTML. - Supply an Authenticator Pro export file obtained through Settings -> Back up -> Back up to encrypted file (recommended). Supply a copy of /data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml, located in the internal storage directory of Authy. Supply an andOTP export/backup file. Supply a Bitwarden export/backup file. Encrypted files are not supported. @@ -545,6 +544,7 @@ Supply a copy of /data/data/com.azure.authenticator/databases/PhoneFactor, located in the internal storage directory of Microsoft Authenticator. Supply a plain text file with a Google Authenticator URI on each line. Steam v3.0 and newer are not supported. Supply a copy of /data/data/com.valvesoftware.android.steam.community/files/Steamguard-*.json, located in the internal storage directory of Steam. + Supply a Stratum export file obtained through Settings -> Back up -> Back up to encrypted file (recommended). Supply a TOTP Authenticator export file. Supply a WinAuth export file. Assign icons diff --git a/app/src/test/java/com/beemdevelopment/aegis/importers/DatabaseImporterTest.java b/app/src/test/java/com/beemdevelopment/aegis/importers/DatabaseImporterTest.java index 959252c6d7..4742eabd43 100644 --- a/app/src/test/java/com/beemdevelopment/aegis/importers/DatabaseImporterTest.java +++ b/app/src/test/java/com/beemdevelopment/aegis/importers/DatabaseImporterTest.java @@ -149,32 +149,32 @@ public void testImportTotpAuthenticatorInternal() throws IOException, DatabaseIm } @Test - public void testImportAuthProEncrypted() throws DatabaseImporterException, IOException, OtpInfoException { - List entries = importEncrypted(AuthenticatorProImporter.class, "authpro_encrypted.bin", state -> { + public void testImportStratumEncrypted() throws DatabaseImporterException, IOException, OtpInfoException { + List entries = importEncrypted(StratumImporter.class, "stratum_encrypted.bin", state -> { char[] password = "test".toCharArray(); - return ((AuthenticatorProImporter.EncryptedState) state).decrypt(password); + return ((StratumImporter.EncryptedState) state).decrypt(password); }); checkImportedEntries(entries); } @Test - public void testImportAuthProEncryptedLegacy() throws DatabaseImporterException, IOException, OtpInfoException { - List entries = importEncrypted(AuthenticatorProImporter.class, "authpro_encrypted_legacy.bin", state -> { + public void testImportStratumEncryptedLegacy() throws DatabaseImporterException, IOException, OtpInfoException { + List entries = importEncrypted(StratumImporter.class, "stratum_encrypted_legacy.bin", state -> { char[] password = "test".toCharArray(); - return ((AuthenticatorProImporter.LegacyEncryptedState) state).decrypt(password); + return ((StratumImporter.LegacyEncryptedState) state).decrypt(password); }); checkImportedEntries(entries); } @Test - public void testImportAuthProInternal() throws DatabaseImporterException, IOException, OtpInfoException { - List entries = importPlain(AuthenticatorProImporter.class, "authpro_internal.db", true); + public void testImportStratumInternal() throws DatabaseImporterException, IOException, OtpInfoException { + List entries = importPlain(StratumImporter.class, "stratum_internal.db", true); checkImportedEntries(entries); } @Test - public void testImportAuthProPlain() throws DatabaseImporterException, IOException, OtpInfoException { - List entries = importPlain(AuthenticatorProImporter.class, "authpro_plain.json"); + public void testImportStratumPlain() throws DatabaseImporterException, IOException, OtpInfoException { + List entries = importPlain(StratumImporter.class, "stratum_plain.json"); checkImportedEntries(entries); } diff --git a/app/src/test/resources/com/beemdevelopment/aegis/importers/authpro_encrypted.bin b/app/src/test/resources/com/beemdevelopment/aegis/importers/stratum_encrypted.bin similarity index 100% rename from app/src/test/resources/com/beemdevelopment/aegis/importers/authpro_encrypted.bin rename to app/src/test/resources/com/beemdevelopment/aegis/importers/stratum_encrypted.bin diff --git a/app/src/test/resources/com/beemdevelopment/aegis/importers/authpro_encrypted_legacy.bin b/app/src/test/resources/com/beemdevelopment/aegis/importers/stratum_encrypted_legacy.bin similarity index 100% rename from app/src/test/resources/com/beemdevelopment/aegis/importers/authpro_encrypted_legacy.bin rename to app/src/test/resources/com/beemdevelopment/aegis/importers/stratum_encrypted_legacy.bin diff --git a/app/src/test/resources/com/beemdevelopment/aegis/importers/authpro_internal.db b/app/src/test/resources/com/beemdevelopment/aegis/importers/stratum_internal.db similarity index 100% rename from app/src/test/resources/com/beemdevelopment/aegis/importers/authpro_internal.db rename to app/src/test/resources/com/beemdevelopment/aegis/importers/stratum_internal.db diff --git a/app/src/test/resources/com/beemdevelopment/aegis/importers/authpro_plain.json b/app/src/test/resources/com/beemdevelopment/aegis/importers/stratum_plain.json similarity index 100% rename from app/src/test/resources/com/beemdevelopment/aegis/importers/authpro_plain.json rename to app/src/test/resources/com/beemdevelopment/aegis/importers/stratum_plain.json