Compare commits

..

687 Commits

Author SHA1 Message Date
vishnukvmd
d389d3d163 v2.0.4 2023-09-08 21:05:02 +05:30
vishnukvmd
60e34f780e Update color of the active track within Toggle Switches 2023-09-08 21:04:41 +05:30
Vishnu Mohandas
16d57b8bad Merge branch 'main' into update_settings 2023-09-08 21:00:34 +05:30
vishnukvmd
ddc14a031e v2.0.3 2023-09-08 21:00:07 +05:30
vishnukvmd
bd7402fe38 Move option to select a language from Account -> General 2023-09-08 20:59:43 +05:30
Vishnu Mohandas
ad3ae560bd Update settings (#240) 2023-09-08 20:56:50 +05:30
vishnukvmd
1a15410f0d v2.0.2 2023-09-08 20:35:38 +05:30
vishnukvmd
3d7a4b1d32 Rename General -> Advanced 2023-09-08 20:32:47 +05:30
vishnukvmd
ba1c74b9b5 Update icon for the general section 2023-09-08 20:31:00 +05:30
vishnukvmd
9d3a7efe29 Remove border from search bar 2023-09-08 20:29:09 +05:30
vishnukvmd
95d7a9fe67 Change app header to simply "ente Auth" 2023-09-08 20:29:01 +05:30
vishnukvmd
e4a549a55b Add setting to auto-focus on search bar on app-start 2023-09-08 20:25:31 +05:30
vishnukvmd
9f0a53e733 Add setting to show large icons 2023-09-08 20:19:16 +05:30
vishnukvmd
c89bffb8ff Remove easter egg 2023-09-08 20:18:15 +05:30
Vishnu Mohandas
7456b0a2e7 Format 6-digit codes (#239) 2023-09-08 18:49:09 +05:30
vishnukvmd
bffff57d28 Format 6-digit codes 2023-09-08 18:40:54 +05:30
Vishnu Mohandas
442bab6bdd Copy next code to clipboard on tap (#238) 2023-09-08 18:39:27 +05:30
Vishnu Mohandas
ef9530af24 Merge branch 'main' into copy_next 2023-09-08 18:33:42 +05:30
vishnukvmd
cdb615b0ba Copy next code to clipboard on tap 2023-09-08 18:33:03 +05:30
Vishnu Mohandas
fddf9169d3 Large icons (#237) 2023-09-08 18:32:14 +05:30
vishnukvmd
91cd77ad8d Animate while switching between small and large icons 2023-09-08 18:26:51 +05:30
vishnukvmd
1697547091 Refresh UI when icon settings are updated 2023-09-08 18:02:10 +05:30
vishnukvmd
7fb3ab02f9 Publish an event when icons are changed 2023-09-08 18:01:45 +05:30
vishnukvmd
d855559bab Add option to save the preference for viewing large icons 2023-09-08 17:51:58 +05:30
vishnukvmd
c02a16a321 Refactor code widget 2023-09-08 17:49:16 +05:30
vishnukvmd
97bc2ba141 Accept icon-width as a param 2023-09-08 17:48:26 +05:30
Neeraj Gupta
7f8673b65b Fix: Avoid duplicate imports during offline to offline switch (#234) 2023-09-05 17:36:45 +05:30
Vishnu Mohandas
a5caa06944 Minor updates to readme (#233) 2023-09-05 17:17:16 +05:30
Neeraj Gupta
457c6ffd2f bump version: 2.0.1+201 2023-09-05 17:13:46 +05:30
Neeraj Gupta
1d960fadce Fix: Run single instance of offline import 2023-09-05 17:13:08 +05:30
vishnukvmd
cba39f4ef5 Minor updates to readme 2023-09-05 16:50:28 +05:30
Vishnu Mohandas
9f270cf471 Bump version: v2.0.0+200 (#232) 2023-09-05 15:41:17 +05:30
Neeraj Gupta
5b8ccea31a Add more logs for offline to online import (#231) 2023-09-05 15:40:44 +05:30
Neeraj Gupta
92201eb4ea bump version: 2.0.0+200 2023-09-05 15:31:10 +05:30
Neeraj Gupta
9d519d90c7 Enchance logging 2023-09-05 14:48:23 +05:30
Neeraj Gupta
4d34ab7a01 Force insert offline entry to avoid bad conflict 2023-09-05 13:40:22 +05:30
Neeraj Gupta
3c25216116 Add more logs for offline to online import 2023-09-05 13:34:04 +05:30
Neeraj Gupta
5d0007d749 Add decryption tool for auth encrypted export (#230) 2023-09-05 13:18:26 +05:30
Neeraj Gupta
1afd2ce27e Update encrypted export doc 2023-09-05 13:15:59 +05:30
Neeraj Gupta
438193ac39 go mod tidy 2023-09-05 13:15:44 +05:30
Neeraj Gupta
286940a5d1 Add decryption tool for auth encrypted export 2023-09-05 13:14:30 +05:30
Neeraj Gupta
50ebcdd1f0 Fix duplicate entry for same code during offline to online transition (#229) 2023-09-05 09:19:24 +05:30
Neeraj Gupta
53c406f30c bump version: 1.0.57+57 2023-09-05 08:21:44 +05:30
Neeraj Gupta
acbbd8d049 Minor imporvement 2023-09-05 08:21:11 +05:30
Neeraj Gupta
5c9e879628 Avoid duplicate imports 2023-09-05 08:12:52 +05:30
Vishnu Mohandas
4b633d1a02 Minor changes (#228) 2023-09-05 06:39:34 +05:30
vishnukvmd
b95ed5fbb5 Increase font size for progress dialogs 2023-09-04 23:28:05 +05:30
vishnukvmd
ffcd4022ea Update icon 2023-09-04 23:23:24 +05:30
vishnukvmd
aa525bfeb1 Update alignment of the support widget 2023-09-04 23:19:06 +05:30
Neeraj Gupta
18d098b310 Add no account/offline mode (#227) 2023-09-04 19:34:04 +05:30
Neeraj Gupta
57930b2dd8 Add warning when user selects without backup option 2023-09-04 19:30:55 +05:30
Neeraj Gupta
0d0c89900a Show copoun code for iOS 2023-09-04 19:22:26 +05:30
Neeraj Gupta
4893753b19 Add warning before export 2023-09-04 19:10:54 +05:30
Neeraj Gupta
a594d1c962 Show support dev banner in offline mode 2023-09-04 18:52:38 +05:30
Neeraj Gupta
2e3b6b27de Add support for importing offline codes 2023-09-04 17:51:09 +05:30
Neeraj Gupta
326653054d Add option to sign in to backup 2023-09-04 17:47:31 +05:30
Neeraj Gupta
a7818fc6d4 Add notification component 2023-09-04 16:58:13 +05:30
Neeraj Gupta
5e327a7d65 Show error toast if device doesn't support biometrics 2023-09-04 16:51:07 +05:30
Neeraj Gupta
9c0aea66ec Check for existing key before creating new 2023-09-04 16:45:08 +05:30
Neeraj Gupta
523f216b61 Update key 2023-09-04 16:34:06 +05:30
Neeraj Gupta
fb0fa73c03 Use Sizebox.shrink() 2023-09-04 16:22:50 +05:30
Neeraj Gupta
535109d08f Hide unsync icon for offline mode 2023-09-04 16:13:19 +05:30
Neeraj Gupta
a02cfef105 Add basic support for offline mode 2023-09-04 16:01:59 +05:30
Neeraj Gupta
2ff8963c52 Refactor to clear online mode keys 2023-09-04 10:54:14 +05:30
Neeraj Gupta
117d397d77 Add offline db 2023-09-04 10:49:28 +05:30
Neeraj Gupta
c5b3808dee Merge branch 'main' into offline_mode 2023-09-04 09:50:32 +05:30
Neeraj Gupta
7cd5b313de Ind Upgrade: Switch to direct download option (#226) 2023-09-04 09:45:48 +05:30
Neeraj Gupta
8cbba78bcb APK download: Switch to direct download option 2023-09-04 09:43:45 +05:30
Neeraj Gupta
9d95bd16cd By default, enable sentry in debugMode 2023-09-04 09:35:38 +05:30
Neeraj Gupta
f9eb7c11fd New Translations (#225) 2023-09-03 06:04:05 +05:30
Crowdin Bot
e5c8e90889 New Crowdin translations by GitHub Action 2023-09-03 00:25:35 +00:00
Vishnu Mohandas
a4941d9975 Update README.md (#224) 2023-09-02 10:15:31 +05:30
Vishnu Mohandas
69f09c896c Update README.md 2023-09-02 10:08:07 +05:30
Neeraj Gupta
7f7954d4ea Update CONTRIBUTING.md 2023-09-02 10:04:06 +05:30
Neeraj Gupta
f736357b04 Add Contribution.md & Updated Readme (#223) 2023-09-02 10:01:47 +05:30
Neeraj Gupta
c413564a4b Add Contribution doc 2023-09-02 09:58:42 +05:30
Neeraj Gupta
445f3f20f0 Add option to install manually 2023-09-02 08:31:38 +05:30
Neeraj Gupta
05a36b051d Clean up configuration 2023-08-31 09:33:03 +05:30
Neeraj Gupta
75843814bd Merge branch 'main' into offline_mode 2023-08-29 15:34:14 +05:30
Neeraj Gupta
c3a38b5002 bump version: 1.0.56+56 2023-08-28 18:57:10 +05:30
Vishnu Mohandas
615809e383 Update _getProviderTitle to also split on parentheses (#221) 2023-08-25 01:44:29 +05:30
laurenspriem
10ca447f54 Update _getProviderTitle to split on parentheses 2023-08-24 22:05:11 +02:00
Neeraj Gupta
7fefadc808 New Translations (#220) 2023-08-24 20:08:10 +05:30
Crowdin Bot
991f7ce302 New Crowdin translations by GitHub Action 2023-08-24 12:09:15 +00:00
Neeraj Gupta
864fbd015d New Translations (#219) 2023-08-23 07:23:57 +05:30
Crowdin Bot
427cf73d9d New Crowdin translations by GitHub Action 2023-08-23 00:23:21 +00:00
Neeraj Gupta
8428af3b40 Obscure secret key during edit #193 (#218) 2023-08-22 23:00:23 +05:30
Alastair McNeill
c117473ce8 Issue #193: masked secret key 2023-08-22 17:12:12 +01:00
Neeraj Gupta
a90670e404 dart fix --apply (#216) 2023-08-22 10:48:50 +05:30
Neeraj Gupta
c758704a2e ignore lint for pb generate 2023-08-22 10:18:38 +05:30
Neeraj Gupta
0a010994ee dart fix --apply 2023-08-22 10:17:15 +05:30
vishnukvmd
d965a0239f Merge branch 'main' into offline_mode 2023-08-20 21:50:38 +05:30
vishnukvmd
a773f999fa Merge branch 'main' into offline_mode 2023-08-20 21:50:09 +05:30
vishnukvmd
3b710e9274 Revert "Generate and save localKey"
This reverts commit 945d6d6728.
2023-08-20 21:49:35 +05:30
Vishnu Mohandas
08090f6873 New Translations (#215) 2023-08-20 19:57:49 +05:30
Crowdin Bot
a59c5539b2 New Crowdin translations by GitHub Action 2023-08-20 12:01:06 +00:00
Vishnu Mohandas
75fb88ba1d Add instructions for adding custom icons (#214) 2023-08-20 03:57:57 +05:30
Vishnu Mohandas
e8416728b4 New Translations (#211) 2023-08-19 22:56:36 +05:30
vishnukvmd
d0481775ad Add instructions for adding custom icons 2023-08-19 22:55:04 +05:30
Neeraj Gupta
2960cb7bac Create a custom icon for Github (#213) 2023-08-19 22:35:10 +05:30
vishnukvmd
2b43825eef Create a custom icon for Github 2023-08-19 21:08:03 +05:30
Crowdin Bot
814fc98274 New Crowdin translations by GitHub Action 2023-08-19 12:07:29 +00:00
Neeraj Gupta
1ba113147f Flutter upgrade: v3.10.6 (#210) 2023-08-19 09:22:24 +05:30
Neeraj Gupta
630c3f8ec8 New Translations (#209) 2023-08-19 08:47:18 +05:30
Neeraj Gupta
f975895e4d [Flutter-submodule] Update to 3.10.6 2023-08-19 07:49:04 +05:30
Crowdin Bot
456e46052d New Crowdin translations by GitHub Action 2023-08-19 00:22:02 +00:00
Neeraj Gupta
0d9223e6ea Upgrade flutter: 3.10.6 2023-08-18 20:03:51 +05:30
Neeraj Gupta
cdd8d7906b Upgrade flutter: 3.10.6 2023-08-18 20:03:33 +05:30
Neeraj Gupta
384f37bb07 Aegis import + bump version (#207) 2023-08-18 17:03:53 +05:30
Neeraj Gupta
7cee6ad7e6 Clean up 2023-08-18 16:14:01 +05:30
Neeraj Gupta
6f51d0bd75 bump version for release 2023-08-18 15:59:29 +05:30
Neeraj Gupta
111c28d076 Add support for importing encrypt aegis vault 2023-08-18 15:59:10 +05:30
Neeraj Gupta
815059f11e Add support for plain text import from Aegis 2023-08-18 14:47:16 +05:30
Vishnu Mohandas
16dbf5b3bf Minor fixes (#206) 2023-08-18 09:07:41 +05:30
vishnukvmd
1c5d4201ea Prioritize custom icons 2023-08-18 08:50:48 +05:30
vishnukvmd
400de2d20e Return empty widget in case there's no icon 2023-08-18 08:50:24 +05:30
Neeraj Gupta
f4ee647144 New Translations (#205) 2023-08-18 06:06:16 +05:30
Vishnu Mohandas
f73df1f8b7 Icons (#204) 2023-08-18 06:05:47 +05:30
Crowdin Bot
0f76e30d0a New Crowdin translations by GitHub Action 2023-08-18 00:23:02 +00:00
Vishnu Mohandas
bc5f731a68 New Translations (#203) 2023-08-18 00:15:02 +05:30
vishnukvmd
51da1ab4c7 Update screenshots 2023-08-17 23:32:13 +05:30
vishnukvmd
909276fe2f Update README 2023-08-17 23:19:35 +05:30
vishnukvmd
041e90a8ed Setup custom icons 2023-08-17 23:16:10 +05:30
vishnukvmd
0ed1b15977 Remove debug statement 2023-08-17 23:04:01 +05:30
vishnukvmd
cdcc8e103f Setup icon loading with colors 2023-08-17 22:54:53 +05:30
vishnukvmd
ab2e3645f5 Add build ID 2023-08-17 22:54:21 +05:30
vishnukvmd
45afcf1e35 Load icons within pubspec 2023-08-17 22:12:07 +05:30
vishnukvmd
2711d3c2e3 Add dependency on Simple Icons 2023-08-17 22:07:27 +05:30
Crowdin Bot
028c2f7e4c New Crowdin translations by GitHub Action 2023-08-17 12:08:31 +00:00
Neeraj Gupta
b54e6a01f1 New Translations (#202) 2023-08-16 18:11:57 +05:30
Crowdin Bot
d551780d81 New Crowdin translations by GitHub Action 2023-08-16 12:08:41 +00:00
vishnukvmd
945d6d6728 Generate and save localKey 2023-08-16 14:00:19 +05:30
vishnukvmd
7d8a85b861 Modify Settings page to work for offline mode 2023-08-16 13:28:09 +05:30
vishnukvmd
54817cc100 Add an option in the onboarding page to opt in for offline mode 2023-08-16 13:27:55 +05:30
vishnukvmd
34a39a2a86 Redirect to home page if user has opted for offline mode 2023-08-16 13:27:30 +05:30
vishnukvmd
52e9567a12 Persist user preference for offline mode 2023-08-16 13:27:13 +05:30
vishnukvmd
0a05fc917b Update Podfile 2023-08-16 13:26:35 +05:30
Neeraj Gupta
e0512f687c New Translations (#201) 2023-08-14 18:08:19 +05:30
Crowdin Bot
2a3886c7c4 New Crowdin translations by GitHub Action 2023-08-14 12:09:07 +00:00
Neeraj Gupta
f8d3cb5d5b Show disable email verification for all users (#200) 2023-08-14 10:08:42 +05:30
Neeraj Gupta
bf9449ea69 Bump version to 1.0.54+54 2023-08-14 10:07:15 +05:30
Neeraj Gupta
2b827fd5d5 New Translations (#199) 2023-08-14 10:04:03 +05:30
Neeraj Gupta
31ffb48e0f Disable emailMFA: request for password if SRP setup is not done 2023-08-14 10:02:37 +05:30
Neeraj Gupta
648f68d6a6 Page for password verification 2023-08-14 09:46:12 +05:30
Crowdin Bot
993fd16075 New Crowdin translations by GitHub Action 2023-08-14 00:24:05 +00:00
Neeraj Gupta
16b2602423 Minor imprvements & fixes (#198) 2023-08-13 11:08:37 +05:30
Neeraj Gupta
90103c67ae Always show the dialog to disable email verification 2023-08-13 11:05:17 +05:30
Neeraj Gupta
4c1783a54b Disable barrier dismissibility for session expired dialog, resolves #166 2023-08-13 11:04:11 +05:30
Neeraj Gupta
65e5a8f900 Dismiss dialog before navigation 2023-08-13 10:28:32 +05:30
Neeraj Gupta
0c4e5b7da6 Improve UX for login via password 2023-08-13 10:27:48 +05:30
Neeraj Gupta
6f032eeba3 Fix qrcode for dark mode, resolves #197 2023-08-13 10:06:47 +05:30
Neeraj Gupta
edc1023caf Fix export for macOS & iPadOS, resolves #196 2023-08-13 10:01:12 +05:30
Neeraj Gupta
c8e8240540 Extract strings 2023-08-12 12:45:55 +05:30
Neeraj Gupta
718fd294a6 Fix update check for Github Channel (#195) 2023-08-12 12:43:36 +05:30
Neeraj Gupta
19942db88d Refactor: route to homePage post import 2023-08-12 12:13:11 +05:30
Neeraj Gupta
287c23038d Update review url for playstore 2023-08-12 12:02:18 +05:30
Neeraj Gupta
4d13ca6c1d Use env variable to identify Github APKs 2023-08-12 11:51:54 +05:30
Neeraj Gupta
9c1e24f8aa New Translations (#191) 2023-08-12 06:03:33 +05:30
Crowdin Bot
8c30cf71b2 New Crowdin translations by GitHub Action 2023-08-12 00:22:12 +00:00
Neeraj Gupta
c1097bf251 Update Social + bump version to 1.0.52+52 (#190) 2023-08-11 17:24:04 +05:30
Neeraj Gupta
3e96118079 Merge branch 'main' into social 2023-08-11 17:10:11 +05:30
Neeraj Gupta
ace3754370 Update case 2023-08-11 17:01:06 +05:30
Neeraj Gupta
3f0cd893b2 Bump version to 1.0.52+52 2023-08-11 16:57:36 +05:30
Neeraj Gupta
66ebcb6701 Add link to blog and shop 2023-08-11 16:57:12 +05:30
Neeraj Gupta
bd18e966f5 Add option to rate 2023-08-11 16:53:59 +05:30
Vishnu Mohandas
ccbe0953d8 New Translations (#189) 2023-08-11 07:12:05 +05:30
Crowdin Bot
a965b859ff New Crowdin translations by GitHub Action 2023-08-11 00:22:37 +00:00
Neeraj Gupta
683d44a83c Fix bug in editing code with username in non-ascii format (#188) 2023-08-10 12:33:13 +05:30
Neeraj Gupta
7d5bbfdadd Add test 2023-08-10 12:25:47 +05:30
Neeraj Gupta
81fcbac0ec Fix: use safeDecode while decoding account & issuer 2023-08-10 11:59:19 +05:30
Neeraj Gupta
32e74929ce New Translations (#186) 2023-08-10 06:34:24 +05:30
Crowdin Bot
d6f20e827a New Crowdin translations by GitHub Action 2023-08-10 00:29:23 +00:00
Neeraj Gupta
67ce577fe4 Add option to view QR code (#184) 2023-08-09 15:42:41 +05:30
Neeraj Gupta
1d7abe4023 Fix bug 2023-08-09 14:27:09 +05:30
Neeraj Gupta
70c72a45b7 Calculate qr size dynamatically 2023-08-09 14:16:18 +05:30
Neeraj Gupta
ea6eb1368c Add support for viewing qrCode 2023-08-09 14:13:12 +05:30
Neeraj Gupta
28f94df354 Minor fixes (#183) 2023-08-09 12:35:56 +05:30
Neeraj Gupta
e5812ed09a Add option to suggest features 2023-08-09 12:07:14 +05:30
Neeraj Gupta
08eac475d1 -mRemove unused import 2023-08-09 12:01:34 +05:30
Neeraj Gupta
306f7fdab7 Fix url for github 2023-08-09 12:00:37 +05:30
Vishnu Mohandas
4257dac83e New Translations (#180) 2023-08-09 09:41:48 +05:30
Crowdin Bot
ef8294adb3 New Crowdin translations by GitHub Action 2023-08-09 00:28:57 +00:00
Neeraj Gupta
dc5cb41f95 Update copies and hook for import & faq on Empty home page (#179) 2023-08-08 10:26:40 +05:30
Neeraj Gupta
caeb0f4e92 Remove unused import 2023-08-08 10:05:40 +05:30
Neeraj Gupta
e8ffaa5278 Bump version 2023-08-08 10:02:23 +05:30
Neeraj Gupta
79b5b835b4 Fix: Check canPop before pop 2023-08-08 09:59:41 +05:30
Neeraj Gupta
2cd8ff6a46 EmptyState: Add hook to import code and faq 2023-08-08 09:59:04 +05:30
Neeraj Gupta
911471cd98 Remove dead code 2023-08-08 09:49:44 +05:30
Neeraj Gupta
4944eff546 Switch to new actionSheet for delete code 2023-08-08 09:45:02 +05:30
Neeraj Gupta
9f470ac709 Update copy for Google auth import 2023-08-08 09:39:54 +05:30
Neeraj Gupta
5d682989cd Add faq for auth (#178) 2023-08-08 09:10:07 +05:30
Neeraj Gupta
b5d5c283a1 bump version 2023-08-08 08:42:40 +05:30
Neeraj Gupta
00fc97129b Remove unused import 2023-08-08 08:39:07 +05:30
Neeraj Gupta
1f6ef8f941 Add faq for auth 2023-08-08 08:38:40 +05:30
Neeraj Gupta
e24fda9ce6 Move UI options (#177) 2023-08-07 19:04:31 +05:30
Neeraj Gupta
98e9cfc44a Move logout and delete options under account 2023-08-07 16:49:32 +05:30
Neeraj Gupta
3db76c7e1b Recovery key under security 2023-08-07 16:45:51 +05:30
Neeraj Gupta
a08c01b49b Document encrypted export format (#175) 2023-08-03 17:20:46 +05:30
Neeraj Gupta
cf862d291d Add support for toggling email MFA (#174) 2023-08-03 16:49:39 +05:30
Neeraj Gupta
007de8bb87 Document encrypted export format 2023-08-03 16:31:41 +05:30
Neeraj Gupta
5dbeb36be9 Minor update 2023-08-02 17:39:00 +05:30
Neeraj Gupta
45e720917d Minor refactor + comment 2023-08-02 16:41:05 +05:30
Neeraj Gupta
a8c2bc2d9a Fix UI refresh 2023-08-02 16:35:57 +05:30
Neeraj Gupta
10a26131ac Extract string 2023-08-02 16:33:10 +05:30
Neeraj Gupta
8394ec72ce Show generic error 2023-08-02 13:39:45 +05:30
Neeraj Gupta
895f9bf410 Bump version 2023-08-02 13:37:54 +05:30
Neeraj Gupta
b8c4711b8d Fetch user profile on Sign in 2023-08-02 13:37:39 +05:30
Neeraj Gupta
553a6ce732 Show option to enable/disable email MFA 2023-08-02 13:17:41 +05:30
Neeraj Gupta
89774972f8 Handle emailMFA flag during login 2023-08-02 13:16:48 +05:30
Neeraj Gupta
58cf5ab4c3 HOTP next counter (#173) 2023-08-01 17:58:48 +05:30
Neeraj Gupta
e401503948 Add support for incrementing hotp counter 2023-08-01 17:34:58 +05:30
Neeraj Gupta
80d97734fd Add support for parsing counter 2023-08-01 15:50:28 +05:30
Neeraj Gupta
e6a6f0a76f Remove bad tests 2023-08-01 15:50:16 +05:30
Neeraj Gupta
8a3a64adcc Google auth import (#172) 2023-08-01 13:22:06 +05:30
Neeraj Gupta
25b10efec4 Add support for importing from Google Authenticator 2023-08-01 12:51:05 +05:30
Neeraj Gupta
2879f9efd7 Add dependency on base32 2023-08-01 12:50:44 +05:30
Neeraj Gupta
39d415bab6 HomePage: Call super.initiate() first 2023-08-01 12:50:24 +05:30
Neeraj Gupta
010c32ecf7 Fix: UI bug 2023-08-01 12:41:04 +05:30
Neeraj Gupta
2637cd60a0 Add generated proto model 2023-08-01 08:09:26 +05:30
Neeraj Gupta
d67f7db834 Add depedency on protobuf 2023-08-01 08:07:41 +05:30
Neeraj Gupta
bd8cc72dfd Add proto for Google Auth 2023-08-01 08:04:45 +05:30
Neeraj Gupta
5cef1cd0e6 Show error if user tries to import zip 2023-08-01 07:54:40 +05:30
Neeraj Gupta
f3bd45f31b Add dependency on archive pkg 2023-07-31 21:51:19 +05:30
Neeraj Gupta
503d06edec RaivoImport: Minor refactor 2023-07-31 21:51:06 +05:30
Neeraj Gupta
b10ee19a50 Login v2 (#156) 2023-07-31 17:52:00 +05:30
Neeraj Gupta
108298b52a Merge branch 'main' into login-v2 2023-07-31 17:36:15 +05:30
Neeraj Gupta
8016c11a2b Support for importing ente encrypted export (#171) 2023-07-31 17:29:38 +05:30
Neeraj Gupta
46d96ef779 Support for importing ente encrypted export 2023-07-31 17:26:56 +05:30
Neeraj Gupta
c666bbb6e8 Fix alignment of codes list (#170) 2023-07-31 16:20:21 +05:30
Neeraj Gupta
c09cb51ef6 Merge branch 'main' into login-v2 2023-07-31 16:07:39 +05:30
Neeraj Gupta
d41cae9903 Merge branch 'main' into login-v2 2023-07-31 16:07:17 +05:30
Neeraj Gupta
fb8aa013fa Export in encrypted format + import from Ravio (#168) 2023-07-31 16:06:51 +05:30
Neeraj Gupta
9070f12edc Merge branch 'main' into fix_165 2023-07-31 15:58:00 +05:30
Neeraj Gupta
f10bc75668 Fix alginment of codes list 2023-07-31 15:56:05 +05:30
Neeraj Gupta
d8182225d3 Make sort case-insensitive (#169) 2023-07-31 15:50:48 +05:30
Neeraj Gupta
5a245ed1ef Make sort case-insensitive 2023-07-31 15:47:54 +05:30
Neeraj Gupta
2cb6275fdf Fix minor bug 2023-07-31 15:43:02 +05:30
Neeraj Gupta
4e4a773c1a Remove commented out code 2023-07-31 15:41:17 +05:30
Neeraj Gupta
50b74367be Extract strings 2023-07-31 15:39:19 +05:30
Neeraj Gupta
94eb5d8c97 Add support for importing raivo codes 2023-07-31 15:26:08 +05:30
Neeraj Gupta
f91d3876d0 Merge branch 'main' into login-v2 2023-07-31 13:12:38 +05:30
Neeraj Gupta
471621880f Fix bug in closing progressDialog 2023-07-31 13:06:00 +05:30
Neeraj Gupta
562f5667eb Show multiple import options 2023-07-31 13:00:38 +05:30
Neeraj Gupta
ea770cfa18 Export auth codes 2023-07-31 10:45:07 +05:30
Neeraj Gupta
07f63bc07c Add model for exporting encrypted codes 2023-07-29 21:10:41 +05:30
Neeraj Gupta
dd90d57675 Update UI 2023-07-29 21:10:24 +05:30
Neeraj Gupta
f40df0b819 Show option to export encrypted or plain text codes 2023-07-29 21:00:01 +05:30
Neeraj Gupta
7a4125a847 Move settings->data files 2023-07-29 16:03:08 +05:30
Neeraj Gupta
a53a13b746 New Translations (#163) 2023-07-28 09:42:53 +05:30
Crowdin Bot
d48fd18749 New Crowdin translations by GitHub Action 2023-07-28 00:26:47 +00:00
Neeraj Gupta
a70d04f704 New Translations (#162) 2023-07-27 09:16:11 +05:30
Crowdin Bot
51ec1d5b0c New Crowdin translations by GitHub Action 2023-07-27 00:26:42 +00:00
Vishnu Mohandas
7827b7dbd8 New Translations (#158) 2023-07-25 22:21:12 +05:30
Crowdin Bot
26af0b4689 New Crowdin translations by GitHub Action 2023-07-25 12:09:05 +00:00
Neeraj Gupta
261496c417 New Translations (#157) 2023-07-25 10:43:08 +05:30
Crowdin Bot
d60f0c3841 New Crowdin translations by GitHub Action 2023-07-25 00:30:33 +00:00
Neeraj Gupta
9a80bf2cb2 Use initial 128bit as loginKey 2023-07-24 15:11:43 +05:30
Neeraj Gupta
a88cd75a5c LoginV2 changes 2023-07-24 11:47:01 +05:30
Neeraj Gupta
37ce8a55db LoginV2 changes 2023-07-24 11:43:17 +05:30
Neeraj Gupta
42b3dee44a Update migration guide (#154) 2023-07-24 08:57:55 +05:30
Neeraj Gupta
4ad2627b8b Add LoginPasswordVerificationPage page 2023-07-20 18:07:43 +05:30
green
b6371179ff Update authy.md
got rid of "there is" because i forgot to delete that for some reason when editing my guide before publishing it
2023-07-20 14:21:24 +02:00
green
9d3a998c42 Update authy.md 2023-07-20 14:06:42 +02:00
green
2ce7ed87e1 Update authy.md
I was going to add a recommendation to delete the unencrypted files that were made during migration, but I forgot to when I wrote the guide and now I've added it
2023-07-20 14:01:48 +02:00
Neeraj Gupta
d13c7bfd3a Login V2 changes - part 2 2023-07-20 17:26:19 +05:30
Neeraj Gupta
ac82e1a004 LoginV2 changes 2023-07-20 16:40:00 +05:30
Neeraj Gupta
5a0927ea82 Add dependency on pointycastle 2023-07-20 16:26:30 +05:30
Neeraj Gupta
dad3d2fa51 Add model for SRP 2023-07-20 16:02:57 +05:30
Neeraj Gupta
16d90d33f5 Upgrade CryptoUtil 2023-07-20 15:59:23 +05:30
Neeraj Gupta
396cd87bbe Lint: ignore flutter submodule 2023-07-20 15:58:51 +05:30
Neeraj Gupta
68b7f3d265 Switch to forked version for computer 2023-07-20 15:49:47 +05:30
Neeraj Gupta
2835f9777b New Translations (#151) 2023-07-17 08:02:25 +05:30
Crowdin Bot
8cd030e62e New Crowdin translations by GitHub Action 2023-07-17 00:35:14 +00:00
Neeraj Gupta
4148c8fdf9 bump kotlin version 2023-07-13 22:00:40 +05:30
Neeraj Gupta
54f94c2137 l10n: Enable japanese and turkish locale 2023-07-13 21:29:20 +05:30
Neeraj Gupta
479753291c Bump version (#150) 2023-07-13 21:11:12 +05:30
Neeraj Gupta
d67df6b4b5 Bump version and add generated changes 2023-07-13 21:02:09 +05:30
Neeraj Gupta
70ccb5856a Extract strings 2023-07-13 20:59:28 +05:30
Neeraj Gupta
902b30d9bc Handle # in label (#149) 2023-07-13 20:58:47 +05:30
Neeraj Gupta
f05fb0374f Add test for rawCodes with bad account names 2023-07-13 20:33:21 +05:30
Neeraj Gupta
ab6867e3b0 Fix: Handle # value in the account name 2023-07-13 20:32:57 +05:30
Vishnu Mohandas
1b85674357 Authy to ente Auth migration guide (#146) 2023-07-07 19:48:26 +05:30
green
618d5bf5e5 authy to ente guide 2023-07-07 15:55:14 +02:00
Vishnu Mohandas
9d476188c4 New Translations (#145) 2023-07-06 06:21:15 +05:30
Crowdin Bot
cb5b89154d New Crowdin translations by GitHub Action 2023-07-06 00:35:06 +00:00
Vishnu Mohandas
0c1707fbba New Translations (#142) 2023-06-29 20:42:31 +05:30
Crowdin Bot
86289eb217 New Crowdin translations by GitHub Action 2023-06-29 12:09:49 +00:00
Neeraj Gupta
b8a186972a New Translations (#140) 2023-06-14 09:12:24 +05:30
Crowdin Bot
aa8a911298 New Crowdin translations by GitHub Action 2023-06-14 03:41:41 +00:00
Neeraj Gupta
07181c1e37 Fix: Handle empty spaces in qrCode secrets (#138) 2023-06-09 14:59:21 +05:30
Neeraj Gupta
79de39f92a Fix: Handle empty spaces in qrCode secrets 2023-06-09 14:57:31 +05:30
Neeraj Gupta
e5a5759ee1 Update README.md (#133) 2023-06-02 16:11:01 +05:30
Neeraj Gupta
64c712efd9 Update README.md 2023-06-02 16:09:47 +05:30
Neeraj Gupta
840bf8d8eb Resolve package version conflict and fix error (#132) 2023-06-02 10:34:41 +05:30
Naveen
842f33ea06 intl package has been updated from 1.17.0 to 1.18.0
local_auth package has been updated from 1.1.5 to 2.1.3
Code related to local_auth package has been updated
2023-06-02 08:27:56 +05:30
Neeraj Gupta
4e8af2818f UX: Search for new account post scanning QRcode (#131) 2023-05-25 15:31:12 +05:30
Neeraj Gupta
c95d32a10e UX: Search for new account post scanning QRcode 2023-05-25 15:09:14 +05:30
Neeraj Gupta
a95394a9b2 New Translations (#130) 2023-05-25 09:40:42 +05:30
Crowdin Bot
ef2757b8ce New Crowdin translations by GitHub Action 2023-05-25 00:24:41 +00:00
Neeraj Gupta
e62e79f56b New Translations (#129) 2023-05-24 12:26:19 +05:30
Crowdin Bot
355609194f New Crowdin translations by GitHub Action 2023-05-24 00:26:13 +00:00
Neeraj Gupta
7069f2cc68 New Translations (#127) 2023-05-18 05:31:14 +05:30
Crowdin Bot
bb02fa8197 New Crowdin translations by GitHub Action 2023-05-17 12:08:31 +00:00
Neeraj Gupta
bb26599caf New Translations (#126) 2023-05-17 11:20:03 +05:30
Crowdin Bot
5350ade862 New Crowdin translations by GitHub Action 2023-05-17 00:29:23 +00:00
Neeraj Gupta
9fe4eb77b3 New Translations (#125) 2023-05-16 12:05:59 +05:30
Crowdin Bot
75b195e51b New Crowdin translations by GitHub Action 2023-05-16 00:26:08 +00:00
Neeraj Gupta
e69d7c3554 Update list for older iphones (#124) 2023-05-15 15:53:40 +05:30
Neeraj Gupta
febe877300 Update list for older iphones 2023-05-15 15:15:33 +05:30
Neeraj Gupta
943bf096fe New Translations (#123) 2023-05-15 12:35:19 +05:30
Crowdin Bot
1547ec648b New Crowdin translations by GitHub Action 2023-05-15 00:27:23 +00:00
Vishnu Mohandas
189f2524c2 Add links to Mastodon and Matrix (#122) 2023-05-14 19:58:38 +05:30
vishnukvmd
7dc79f4631 Add links to Mastodon and Matrix 2023-05-14 17:57:43 +05:30
Vishnu Mohandas
7055bad2b2 New Translations (#120) 2023-05-13 20:43:26 +05:30
Crowdin Bot
e05ac2144b New Crowdin translations by GitHub Action 2023-05-13 12:07:46 +00:00
Neeraj Gupta
ed490957ae bump version 1.0.40+40 2023-05-12 11:20:27 +05:30
Neeraj Gupta
3b105f13c2 Merge branch 'bug_fix' 2023-05-12 11:19:57 +05:30
Neeraj Gupta
93d9609218 New Translations (#119) 2023-05-12 11:19:40 +05:30
Neeraj Gupta
3c355a6b8d Fix bug during setup first code via qr 2023-05-12 11:17:59 +05:30
Crowdin Bot
37c62e9a97 New Crowdin translations by GitHub Action 2023-05-12 00:25:13 +00:00
Neeraj Gupta
2e828ef218 Sort by issuer,account (#118) 2023-05-11 14:38:06 +05:30
Neeraj Gupta
ba08479e54 l10n: Add translation for Polski and Italiano 2023-05-11 14:29:05 +05:30
Neeraj Gupta
ae9a8f71da Sort by issuer,account 2023-05-11 14:18:11 +05:30
Neeraj Gupta
4e0d4ff6fd New Translations (#116) 2023-05-10 06:27:23 +05:30
Crowdin Bot
1f6f411abf New Crowdin translations by GitHub Action 2023-05-10 00:25:19 +00:00
Vishnu Mohandas
88dc209d6a New Translations (#115) 2023-05-09 18:42:51 +05:30
Crowdin Bot
39fb6c2a52 New Crowdin translations by GitHub Action 2023-05-09 12:47:29 +00:00
Neeraj Gupta
40ed35e5f5 bump version to 1.0.39+39 2023-05-07 14:48:24 +05:30
Neeraj Gupta
ecdeb2c8ae Update changelog and description 2023-05-07 14:33:02 +05:30
Neeraj Gupta
736516f449 l10n: Extract strings 2023-05-07 14:12:54 +05:30
Neeraj Gupta
2750192ed4 l10n: Extract strings 2023-05-07 11:52:07 +05:30
Neeraj Gupta
1d778821af l10n: Enable persian language 2023-05-07 11:51:53 +05:30
Neeraj Gupta
a22e136e71 Improve localeResolution logic 2023-05-07 10:28:21 +05:30
Neeraj Gupta
4a64aa6a41 bump version to 1.0.38+38 2023-05-07 10:04:08 +05:30
Neeraj Gupta
f75c43f4ad Add support for more locales 2023-05-07 10:01:23 +05:30
Neeraj Gupta
aece36e82c Locale: Support persisting both lang and countryCode 2023-05-07 09:44:26 +05:30
Neeraj Gupta
b0734f6d06 Update toggle_switch_widget 2023-05-07 09:38:53 +05:30
Neeraj Gupta
08d01b22f8 Merge pull request #113 from ente-io/register_for_url
Support for handling otpauth scheme
2023-05-06 01:54:05 +05:30
Neeraj Gupta
ea3cd1844b Add support for handling otpauth:// scheme 2023-05-06 01:47:04 +05:30
Neeraj Gupta
ba49d0002d Add dependency on uni_link 2023-05-06 01:39:44 +05:30
Neeraj Gupta
73c130ce7e Add widget for empty state and coach mark 2023-05-06 00:45:34 +05:30
Neeraj Gupta
4d88503c2b Extract widget in separate file 2023-05-06 00:16:07 +05:30
Neeraj Gupta
3bce3092e3 Remove redundant lint ignore rule 2023-05-06 00:00:07 +05:30
Neeraj Gupta
08cc772ff1 Merge pull request #112 from ente-io/109_fix_bug
Fix bug in edit code
2023-04-30 09:29:38 +05:30
Neeraj Gupta
c4d671596b Fix bug in edit code 2023-04-30 09:28:25 +05:30
Neeraj Gupta
e993fba73d Merge pull request #111 from ente-io/l10n_translations
New Translations
2023-04-30 06:48:17 +05:30
Crowdin Bot
4daac3bdea New Crowdin translations by GitHub Action 2023-04-30 00:28:20 +00:00
Vishnu Mohandas
4beeec1e43 Merge pull request #106 from ente-io/l10n_translations
New Translations
2023-04-28 07:16:10 +05:30
Crowdin Bot
b50019c287 New Crowdin translations by GitHub Action 2023-04-28 00:26:14 +00:00
Neeraj Gupta
3e3cb71767 Merge pull request #104 from ente-io/l10n_translations
New Translations
2023-04-26 00:18:34 +05:30
Crowdin Bot
623c80aa8d New Crowdin translations by GitHub Action 2023-04-25 12:08:34 +00:00
Neeraj Gupta
acdce27dbf Merge pull request #103 from ente-io/l10n_translations
New Translations
2023-04-24 09:10:55 +05:30
Crowdin Bot
6e88b85fed New Crowdin translations by GitHub Action 2023-04-24 00:26:38 +00:00
Neeraj Gupta
385a5443f3 Merge pull request #102 from ente-io/l10n_translations
New Translations
2023-04-21 10:23:03 +05:30
Crowdin Bot
33179207d2 New Crowdin translations by GitHub Action 2023-04-21 00:25:40 +00:00
Neeraj Gupta
ab89674b58 Merge pull request #101 from ente-io/l10n_translations
New Translations
2023-04-20 14:52:57 +05:30
Crowdin Bot
124ef81865 New Crowdin translations by GitHub Action 2023-04-20 00:24:26 +00:00
Neeraj Gupta
1773820ac6 Merge pull request #100 from ente-io/l10n_translations
New Translations
2023-04-18 21:05:49 +05:30
Crowdin Bot
e935eace16 New Crowdin translations by GitHub Action 2023-04-18 15:35:26 +00:00
Neeraj Gupta
86bb4bc86c Merge pull request #99 from ente-io/l10n_translations
New Translations
2023-04-18 09:34:15 +05:30
Crowdin Bot
7d7385c9da New Crowdin translations by GitHub Action 2023-04-18 04:03:16 +00:00
Neeraj Gupta
ce514d9e95 Fix typo 2023-04-18 09:32:37 +05:30
Neeraj Gupta
59c0df2ce8 Merge pull request #98 from ente-io/l10n_translations
New Translations
2023-04-18 09:14:59 +05:30
Crowdin Bot
9f514447e4 New Crowdin translations by GitHub Action 2023-04-18 00:26:08 +00:00
Vishnu Mohandas
065248a9cb Update README.md 2023-04-17 19:12:20 +05:30
Vishnu Mohandas
09fad5fa3e Update README.md 2023-04-17 19:11:52 +05:30
Neeraj Gupta
a46fff91c2 bump version to 1.0.37+37 2023-04-15 13:51:08 +05:30
Neeraj Gupta
6277bd8e7a Merge pull request #97 from ente-io/minor_fixes
minor fixes
2023-04-15 12:50:36 +05:30
vishnukvmd
7cc3ed8fa5 Update string 2023-04-15 12:50:21 +05:30
Neeraj Gupta
0d59263422 Logout: Add warning for unsycned changes 2023-04-15 12:25:52 +05:30
Neeraj Gupta
5e21a077cf Extract more strings 2023-04-15 11:56:01 +05:30
Neeraj Gupta
aa558fd35d Extract strings 2023-04-15 11:42:05 +05:30
Neeraj Gupta
20f50e4dba Extract strings 2023-04-15 11:23:45 +05:30
Neeraj Gupta
48828d095f Remove unused lint skip 2023-04-15 11:23:04 +05:30
Neeraj Gupta
727d53bb8f Lang: Allow fr and es 2023-04-15 11:22:36 +05:30
Neeraj Gupta
6892d029aa Fix social section 2023-04-15 11:11:20 +05:30
Neeraj Gupta
91d78cd83e Merge pull request #96 from ente-io/l10n_translations
New Translations
2023-04-15 10:59:41 +05:30
Crowdin Bot
76cf109433 New Crowdin translations by GitHub Action 2023-04-15 00:28:13 +00:00
Neeraj Gupta
22b05da6bf Update README.md 2023-04-14 16:35:38 +05:30
Neeraj Gupta
b0e9cd49ae Update uri scheme from ente to ente-auth 2023-04-13 12:19:27 +05:30
Neeraj Gupta
f47e0fe1c7 Merge pull request #93 from ente-io/l10n_translations
New Translations
2023-04-12 11:28:44 +05:30
Crowdin Bot
553f8555de New Crowdin translations by GitHub Action 2023-04-12 00:25:31 +00:00
Neeraj Gupta
ca53f5127e Merge pull request #92 from ente-io/l10n_translations
New Translations
2023-04-10 10:03:40 +05:30
Crowdin Bot
30d1238e09 New Crowdin translations by GitHub Action 2023-04-10 04:27:15 +00:00
Neeraj Gupta
11d6e672b1 Merge pull request #90 from ente-io/update_pages
Nullsafety + string extractions
2023-04-10 09:56:36 +05:30
Neeraj Gupta
8f7226cb02 Complete null-safety migration 2023-04-10 09:47:45 +05:30
Neeraj Gupta
fc2db578a8 Add more components 2023-04-09 19:10:34 +05:30
Neeraj Gupta
bb86c023cc Merge pull request #91 from ente-io/l10n_translations
New Translations
2023-04-09 19:00:04 +05:30
Crowdin Bot
cefd663921 New Crowdin translations by GitHub Action 2023-04-09 12:07:51 +00:00
Neeraj Gupta
84bf988de4 Null safety migration 2023-04-08 17:26:28 +05:30
Neeraj Gupta
537b3d2e4d Copy more common components 2023-04-08 17:10:10 +05:30
Neeraj Gupta
33b141916f Remove unused widgets 2023-04-08 17:08:53 +05:30
Neeraj Gupta
c10655e353 NullSafety migration: app_lock.dart 2023-04-08 17:08:16 +05:30
Neeraj Gupta
8e3c766468 NullSafety+ String extraction for LoginPage 2023-04-08 15:34:32 +05:30
Neeraj Gupta
646c64372c Fix validate fillColor 2023-04-08 14:11:11 +05:30
Neeraj Gupta
cc8139341b NullSafety+ String extraction for EmailEntryPage 2023-04-08 14:08:15 +05:30
Neeraj Gupta
b12043ae13 Merge pull request #89 from ente-io/lang_change
Support for changing language
2023-04-08 10:32:27 +05:30
Neeraj Gupta
cc15def963 Show language names 2023-04-08 10:23:55 +05:30
Neeraj Gupta
e0fe0833fb Update recovery_key_page 2023-04-08 09:48:39 +05:30
Neeraj Gupta
624ca39fff l10n: extract strings 2023-04-08 09:38:10 +05:30
Neeraj Gupta
33292657b9 l10n: extract strings 2023-04-08 09:33:12 +05:30
Neeraj Gupta
24c97c56a0 l10n: extract strings 2023-04-08 09:25:34 +05:30
Neeraj Gupta
2ffe79b9b3 Merge branch 'main' into lang_change 2023-04-07 17:43:49 +05:30
Neeraj Gupta
66ee9ef1a6 Add support for changing language 2023-04-07 17:40:47 +05:30
Neeraj Gupta
0629789a22 [design] Update components 2023-04-07 15:11:37 +05:30
Neeraj Gupta
1e0e5c3ff5 [design] Update components 2023-04-07 15:06:57 +05:30
Neeraj Gupta
bff5205dda [design] Update components 2023-04-07 15:02:11 +05:30
Neeraj Gupta
5cd08622ff Add de, fr, and fi as support locales 2023-04-07 14:29:27 +05:30
Neeraj Gupta
f478014c64 Merge pull request #88 from ente-io/l10n_translations
New Translations
2023-04-07 10:57:42 +05:30
Crowdin Bot
d932d7c6b8 New Crowdin translations by GitHub Action 2023-04-07 00:24:00 +00:00
Neeraj Gupta
8d734b761e Merge pull request #86 from ente-io/l10n_translations
New Translations
2023-04-06 10:38:43 +05:30
Crowdin Bot
790985663f New Crowdin translations by GitHub Action 2023-04-06 00:25:18 +00:00
Neeraj Gupta
f5e1319f1b Merge pull request #83 from ente-io/l10n_translations
New Translations
2023-04-04 21:32:56 +05:30
Crowdin Bot
a71f7b78ca New Crowdin translations by GitHub Action 2023-04-04 12:08:51 +00:00
Neeraj Gupta
a5eb5c4cb8 Merge pull request #85 from ente-io/ua741-patch-1
README: Add link to view codes on web
2023-04-04 16:26:24 +05:30
Neeraj Gupta
6f80ded657 README: Add link to view codes on web 2023-04-04 16:22:14 +05:30
Neeraj Gupta
33c3b997ed Merge pull request #84 from ente-io/handle_logout
Handle invalid sessions
2023-04-04 16:14:38 +05:30
Neeraj Gupta
b841d5ecd7 Fix string 2023-04-04 16:12:18 +05:30
Neeraj Gupta
abf4afe76e Fix: Remove synced codes on logout 2023-04-04 16:06:51 +05:30
Neeraj Gupta
873da725f9 l10n: remove @@locale 2023-04-04 16:00:39 +05:30
Neeraj Gupta
c9ce4b662a l10n: extract strings 2023-04-04 15:59:28 +05:30
Neeraj Gupta
e140e9dfa7 Handle logged out sessions 2023-04-04 15:46:18 +05:30
Neeraj Gupta
1551842886 Fix: throw UnauthorizedError on 401 status 2023-04-04 15:25:19 +05:30
Neeraj Gupta
153998763e Fix format for importing codes 2023-04-04 14:53:26 +05:30
Neeraj Gupta
d66a5db998 Merge pull request #82 from ente-io/minor_fixes
Minor fixes
2023-04-03 12:31:05 +05:30
Neeraj Gupta
ea20e1b155 Fix locales 2023-04-03 12:28:36 +05:30
Neeraj Gupta
0963ea7129 Fix parsing and add tests 2023-04-03 12:28:27 +05:30
Neeraj Gupta
1c3ebd026b Fix: Parsing of account name 2023-04-03 12:13:43 +05:30
Neeraj Gupta
d1e1cb983e Handle bad issuerName 2023-04-03 12:10:32 +05:30
Vishnu Mohandas
ad8fd6224a Merge pull request #64 from ente-io/vishnukvmd-patch-1 2023-04-03 11:53:51 +05:30
Neeraj Gupta
2893eb45fa Merge branch 'main' into vishnukvmd-patch-1 2023-04-03 11:53:09 +05:30
Neeraj Gupta
2ea4d2c614 Merge pull request #78 from ente-io/l10n_translations
New Translations
2023-04-03 09:30:03 +05:30
Crowdin Bot
259461cf8b New Crowdin translations by GitHub Action 2023-04-03 00:26:40 +00:00
Vishnu Mohandas
2109c912fe Merge pull request #80 from ente-io/minor_fixes
Minor fixes
2023-03-29 11:44:40 +05:30
vishnukvmd
54b3b3ecb6 v1.0.36 2023-03-29 11:27:50 +05:30
vishnukvmd
766742abf2 Cache fetched subscription 2023-03-29 11:27:21 +05:30
vishnukvmd
a2216fe145 Minor copy change 2023-03-29 11:25:45 +05:30
Neeraj Gupta
29d6012fde Merge pull request #79 from ente-io/upgrade_store 2023-03-29 08:59:57 +05:30
vishnukvmd
983496e711 Fix i18n 2023-03-28 17:24:12 +05:30
vishnukvmd
a16aace96a Update deps 2023-03-28 17:24:04 +05:30
vishnukvmd
e2a1b429e2 Upgrade SecureStorage 2023-03-28 17:21:49 +05:30
Neeraj Gupta
4906f980f7 Merge pull request #76 from ente-io/l10n_translations
New Translations
2023-03-21 15:13:55 +05:30
Neeraj Gupta
f17275071c Merge pull request #77 from ente-io/fixes
fixes
2023-03-21 14:44:10 +05:30
Neeraj Gupta
abb51d09ac Read issuer name from query params 2023-03-21 14:37:47 +05:30
Neeraj Gupta
5ca06c12d7 Fix typo 2023-03-21 14:16:40 +05:30
Crowdin Bot
e91deee8fe New Crowdin translations by GitHub Action 2023-03-21 00:26:29 +00:00
Neeraj Gupta
8571c024f7 Update README.md 2023-03-18 19:24:55 +05:30
Neeraj Gupta
d621e2fd74 Merge pull request #75 from ente-io/crowdin_ci 2023-03-18 12:39:33 +05:30
Neeraj Gupta
b06649b9c9 Add CI config for crowdin action 2023-03-18 11:41:33 +05:30
Neeraj Gupta
862bea5a18 Add crowdin config 2023-03-18 11:39:47 +05:30
Neeraj Gupta
81740bb549 bump version 2023-03-15 20:34:21 +05:30
Neeraj Gupta
4bf0c5d4bb Merge pull request #73 from ente-io/ente_photos_upgrade
Hook for development support
2023-03-15 18:17:36 +05:30
vishnukvmd
e7a2c671e1 Minor fixes 2023-03-15 18:15:10 +05:30
Neeraj Gupta
099be22598 Hide discount for iOS users 2023-03-15 14:08:37 +05:30
Neeraj Gupta
34200b702a Add nudget to upgrade 2023-03-15 14:05:30 +05:30
Neeraj Gupta
719585f74b Merge pull request #72 from ente-io/timer_animation
Fix timer animation
2023-03-14 06:43:21 +05:30
Neeraj Gupta
4b003cb91f Merge pull request #71 from ente-io/monochrome_icon
Android: Add support for theme icon
2023-03-14 06:42:40 +05:30
Neeraj Gupta
b9fa6f3094 remove unused pkg 2023-03-14 06:23:15 +05:30
Neeraj Gupta
835e8d01bd Switch to simple progress widget with no animation 2023-03-14 06:19:49 +05:30
Neeraj Gupta
3d2dabc288 Add linear progress bar widget 2023-03-14 06:19:08 +05:30
Neeraj Gupta
2ed8684cc1 bump version : 1.0.33 2023-03-14 05:12:38 +05:30
Neeraj Gupta
2eb7542293 Improve time counter animation 2023-03-14 05:12:10 +05:30
Neeraj Gupta
96dc8adf46 Android: Add support for theme icon 2023-03-14 05:02:36 +05:30
Vishnu Mohandas
0650889afa Merge pull request #68 from ente-io/f-droid
Add link to F-Droid to README
2023-03-12 12:34:49 +05:30
vishnukvmd
65a78ae4b1 Update description 2023-03-12 11:25:15 +05:30
vishnukvmd
060ae5571f Add link to F-Droid to README 2023-03-12 11:17:53 +05:30
Vishnu Mohandas
875df67a5e Update README.md 2023-02-23 20:59:06 +05:30
Vishnu Mohandas
74f2d70000 Update README.md 2023-02-23 20:46:40 +05:30
Manav
64ff5d91b9 Merge pull request #63 from ente-io/update-cla
Update to cla-assistant.io for CLA shared across ente
2023-02-16 21:04:36 +05:30
Manav
317ba39f46 Update to cla-assistant.io for CLA shared across ente
Replace the manual per-repository integration with the standard cla-assistant.io
setup for integrating a single CLA across all ente repositories.

Updated CLA: https://gist.github.com/enteio/f3b9abc4e047425da3e1538cde903b4d
2023-02-16 20:26:27 +05:30
Neeraj Gupta
cf3a9f9d8f Merge Upgrade flutter: 3.7.3 #62
Upgrade flutter: 3.7.3
2023-02-16 10:24:04 +05:30
Neeraj Gupta
e6fb1d6fc0 Upgrade flutter: 3.7.3 2023-02-16 09:07:39 +05:30
Neeraj Gupta
001077dd97 Merge pull request #61 from ente-io/fix_code_generation
Fix: Wrap decode in try catch
2023-02-16 08:22:54 +05:30
Neeraj Gupta
e82e7634d4 Improve logging 2023-02-16 07:56:20 +05:30
Neeraj Gupta
d20eb65645 bump version to 1.0.32+32 2023-02-16 07:47:35 +05:30
Neeraj Gupta
bf86dac10f Fix: Wrap decode in try catch 2023-02-16 07:47:08 +05:30
Neeraj Gupta
c5d68b4a94 Merge pull request #60 from ente-io/fix_change_email
Fix change email
2023-02-13 13:01:10 +05:30
Neeraj Gupta
dd558cb008 bump version to 1.0.31+31 2023-02-13 12:56:09 +05:30
Neeraj Gupta
ea9b0d01ba Fix change email 2023-02-13 12:40:33 +05:30
Manav
6582c3b3dc Merge pull request #59 from ente-io/fix_build
Fix iOS build by configuring the Flutter script to be run for all builds
2023-02-13 12:34:44 +05:30
vishnukvmd
5fdc475386 Fix iOS build by configuring the Flutter script to be run for all builds 2023-02-13 12:33:38 +05:30
Vishnu Mohandas
806fe8a916 Merge pull request #58 from ente-io/add_logs
Log error while rendering code widgets
2023-02-13 11:51:35 +05:30
Neeraj Gupta
161a990c17 Log error while rendering code widgets 2023-02-13 11:48:40 +05:30
Neeraj Gupta
3fc716d474 Merge pull request #56 from ente-io/ui_fresh
Fix: Reduce UI rebuilds
2023-02-11 17:02:07 +05:30
Neeraj Gupta
d7d61f2699 bump version to 1.0.30+30 2023-02-11 16:53:07 +05:30
Neeraj Gupta
37f5c23169 Reduce UI rebuilds 2023-02-11 16:52:08 +05:30
Neeraj Gupta
7c5d95d8e3 Merge pull request #55 from ente-io/fix_locale
Fix locale detection for AppLock
2023-02-07 12:57:08 +05:30
Neeraj Gupta
4f3dff44fc bump version to 1.0.29+29 2023-02-07 12:54:03 +05:30
Neeraj Gupta
3b2f886ae1 Fix locale detection for AppLock 2023-02-07 12:53:04 +05:30
Vishnu Mohandas
bad2bafbe9 Merge pull request #53 from ente-io/search_ux
Improve UX for search
2023-02-06 15:48:13 +05:30
Neeraj Gupta
4f7b6e9f8e Merge pull request #52 from ente-io/low_end_key_derivation
Be verbose about the key derivation limits on low end devices
2023-02-06 15:39:20 +05:30
Neeraj Gupta
120fee358b bump version to 1.0.28+28 2023-02-06 15:38:18 +05:30
Neeraj Gupta
85cc5d7d18 bump version to 1.0.27+27 2023-02-06 15:37:53 +05:30
vishnukvmd
660b370d72 Be verbose about the key derivation limits on low end devices 2023-02-06 14:57:25 +05:30
Vishnu Mohandas
a23fd97f83 Merge pull request #51 from ente-io/handle_empty_account
Allow empty account name + bump version
2023-02-06 12:11:16 +05:30
Neeraj Gupta
1f83456b2b bump version to 1.0.27+27 2023-02-06 12:09:28 +05:30
Neeraj Gupta
28ea0d1b06 Allow adding code without account info 2023-02-06 12:08:55 +05:30
Neeraj Gupta
1584a23936 Merge pull request #49 from ente-io/handle_low_end_device
Fix: Attempt to avoid crash on low-spec devices
2023-02-06 11:39:37 +05:30
Neeraj Gupta
7fd0b8f407 Refactor and start with 256MB as memLimit for lowSpecDevices 2023-02-06 11:29:45 +05:30
Neeraj Gupta
bbe7525882 Switch to maxOpsLimit for low end devices 2023-02-06 10:21:49 +05:30
Neeraj Gupta
a9182577c0 Fix typo in comparision 2023-02-06 10:21:49 +05:30
Neeraj Gupta
7d6d3fe0f2 Switch to device_info_plus 2023-02-06 10:20:57 +05:30
Neeraj Gupta
303cdc92e7 Merge pull request #50 from ente-io/basic_search
Support for searching by account or issuer
2023-02-05 22:54:51 +05:30
Neeraj Gupta
3b39a34045 Support for searching by account or issuer 2023-02-05 22:33:37 +05:30
Vishnu Mohandas
2435c9ddef Merge pull request #48 from ente-io/fix_incorrect_scanning 2023-02-05 01:03:11 +05:30
Neeraj Gupta
35bb9284d6 Fix incorrect 2fa type detection 2023-02-05 01:02:16 +05:30
Neeraj Gupta
0c34cfcc5e Merge pull request #46 from ente-io/20_secret_with_spaces
Trim whitespaces from manual secret input
2023-01-28 18:44:56 +05:30
Neeraj Gupta
a0c2db5315 Merge pull request #45 from ente-io/34_url_decode
Fix: Url decode the path value
2023-01-28 18:44:46 +05:30
Neeraj Gupta
b8f1f00d2f Trim whitespaces from manual secret input 2023-01-28 18:42:32 +05:30
Neeraj Gupta
41c33003ac Fix: Url decode the path value 2023-01-28 18:27:59 +05:30
Neeraj Gupta
4103b776c4 Merge pull request #44 from ente-io/flutter_as_module
Add flutter as submodule
2023-01-28 15:46:06 +05:30
Manav
ae1986d7d3 Merge pull request #43 from ente-io/bump-build-number
1.0.25 (26)
2023-01-28 15:43:00 +05:30
Manav
3b6648074a 1.0.25 (26) 2023-01-28 15:42:03 +05:30
Neeraj Gupta
d5249d40cb Add flutter as submodule 2023-01-28 15:41:14 +05:30
Manav
a90f7e6abc Merge pull request #42 from ente-io/document-releases
Document automated releases
2023-01-28 15:37:37 +05:30
Manav
55722dd818 Merge pull request #41 from ente-io/playstore-submit
Upload to Google Play from GitHub action
2023-01-28 15:37:25 +05:30
Manav
7666c4e053 Document automated releases 2023-01-28 15:34:21 +05:30
Manav
cb93a0658f Use direct path
Removes the dependency of this build step on the previous build step.
2023-01-28 14:58:47 +05:30
Manav
97f665e8cf Remove unneeded mapping files 2023-01-28 14:57:55 +05:30
Manav
99516650fe Fix path 2023-01-28 14:01:10 +05:30
Manav
3928ccc6b7 Build a playstore variants 2023-01-28 13:49:42 +05:30
Manav
699f906843 Skeleton for upload-google-play 2023-01-28 13:39:24 +05:30
Manav
ca809a0e0b Merge pull request #40 from ente-io/apply-bis
Enable the BIS self classification flag
2023-01-28 13:02:18 +05:30
Manav
d52e0ed04a Enable the BIS self classification flag
We've submitted the BIS self classification report for the auth app alongwith
the photos app. More details: https://github.com/ente-io/photos-app/issues/427
2023-01-28 12:59:19 +05:30
Neeraj Gupta
c9936d68c1 Merge pull request #38 from ente-io/use_en_as_default
Restrict to en locale
2023-01-28 12:30:40 +05:30
Neeraj Gupta
59cfc88b4e Merge pull request #39 from ente-io/ua741-patch-1
Fix typo in read me
2023-01-28 12:14:15 +05:30
Neeraj Gupta
39f9385c74 Fix typo in read me 2023-01-28 12:13:16 +05:30
Neeraj Gupta
2017506b28 bump version to 1.0.25+25 2023-01-28 12:06:01 +05:30
Neeraj Gupta
1497866597 Restrict locale to en 2023-01-28 12:05:31 +05:30
Neeraj Gupta
78c12b5ee2 Merge pull request #35 from ente-io/24 2023-01-27 17:22:51 +05:30
Vishnu Mohandas
64159434d0 Merge pull request #36 from ente-io/xcloud 2023-01-26 16:39:23 +05:30
vishnukvmd
8bd1c1ec50 Update build script 2023-01-26 14:57:24 +05:30
vishnukvmd
409e9c39ca Update build file 2023-01-26 14:51:06 +05:30
vishnukvmd
73bd24da95 Add post clone CI script 2023-01-26 14:51:00 +05:30
vishnukvmd
aeb2f46a4f v1.0.24 2023-01-26 14:04:13 +05:30
vishnukvmd
cc9f8db288 Update build files 2023-01-26 14:04:06 +05:30
Vishnu Mohandas
83c70f0f6b Merge pull request #32 from ente-io/recents
Remove option to remove app from recents
2023-01-08 16:51:01 +05:30
Vishnu Mohandas
91fffc8b04 Merge pull request #31 from ente-io/tweak-trailing-margin-theme-picker
Increase trailing margin for the theme picker selection checkmark
2023-01-08 16:47:31 +05:30
Vishnu Mohandas
50b583c2d7 Merge pull request #30 from ente-io/use-newer-alternative
Use `AppLocalizations.localizationsDelegates` in other MaterialApp
2023-01-08 16:47:07 +05:30
vishnukvmd
0034da064f Remove option to remove app from recents 2023-01-08 16:38:04 +05:30
Manav
4fa61f0997 Use AppLocalizations.localizationsDelegates in other MaterialApp
Smoke tested by running the app on iOS simulator
2023-01-08 16:26:36 +05:30
Vishnu Mohandas
29bc7bb78f Merge pull request #29 from ente-io/fix-change-email-i18n-crash
Fix the crash on opening change email dialog
2023-01-08 16:16:55 +05:30
Manav
1df7d8de46 Fix the crash on opening change email dialog
The crash was happening in the `context.l10n` line in the
change_email_dialog.dart. This was because the root MaterialApp created by
AppLock wasn't being passed the AppLocalizations object.

Tested:
- Was able to reproduce the crash on iOS simulator (null check assertion)
- After the change, the crash doesn't happen
2023-01-08 16:05:40 +05:30
Manav
435fd6a1e7 Increase trailing margin for the theme picker selection checkmark 2023-01-08 15:26:05 +05:30
Vishnu Mohandas
c0f450d380 Merge pull request #27 from ente-io/reduce-cla-spam 2023-01-06 15:17:31 +05:30
Manav
9f686d38ed Run the CLA bot only on comments to PR
Right now, it unnecessarily runs and sends an email when customers open issues.

Not tested, but can test it by opening an issue after this is merged.

Reference:
- https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issue_comment
2023-01-06 15:15:10 +05:30
Vishnu Mohandas
8ade294d7a Merge pull request #26 from ente-io/fix_typo
Fix copy
2022-12-31 11:30:57 +05:30
vishnukvmd
b5f3694805 Fix copy 2022-12-31 11:30:19 +05:30
Manav
1b1df0aa37 Merge pull request #25 from MalteKiefer/hotfix/german_language
fixed a forgotten string
2022-12-28 12:37:10 +05:30
Malte Kiefer
25dd92bdf0 fixed a forgotten string 2022-12-28 08:05:26 +01:00
Manav
e3ddc10a00 Merge pull request #24 from MalteKiefer/feature/language_german
translate app to german
2022-12-28 12:24:16 +05:30
Malte Kiefer
d0ae1ce566 translate app to german 2022-12-28 07:36:07 +01:00
Neeraj Gupta
b0eb0413f0 Separate icon config for fdroid 2022-12-18 08:59:05 +05:30
Neeraj Gupta
60a66efa79 Add fdroid flavor 2022-12-18 07:11:55 +05:30
Neeraj Gupta
e7c8437478 Merge branch 'main' of github.com:ente-io/auth 2022-12-18 06:43:35 +05:30
Neeraj Gupta
21ca31c1f3 Add fastlane details 2022-12-18 06:42:54 +05:30
Vishnu Mohandas
0330982eb0 Merge pull request #19 from ente-io/fix_window_manager_warning
Update warning dialog when "Hide from recents" is enabled
2022-12-15 22:36:19 +05:30
vishnukvmd
5fec321267 Update the warning copy since not all ROMs may block capturing of screenshots once FLAG_SECURE is set 2022-12-15 22:34:48 +05:30
Vishnu Mohandas
ca378d31d2 Merge pull request #17 from ente-io/ua741-patch-1 2022-12-15 14:08:33 +05:30
Neeraj Gupta
aedde8e447 Readme: Fix link to issues 2022-12-15 13:47:24 +05:30
Vishnu Mohandas
1f090ce3af Merge pull request #16 from ente-io/independent
Merge Independent APK track
2022-12-14 14:55:27 +05:30
vishnukvmd
308cf250fd v1.0.23 2022-12-14 14:43:20 +05:30
vishnukvmd
9ef9c3b9fd Migrate to open_filex 2022-12-14 14:43:05 +05:30
vishnukvmd
8e39b6f359 Merge branch 'main' into independent 2022-12-14 14:24:04 +05:30
vishnukvmd
05955e2e76 Update .gitignore 2022-12-14 14:23:51 +05:30
vishnukvmd
3bc9b46d4d Merge branch 'main' into independent 2022-12-14 14:16:39 +05:30
Vishnu Mohandas
38a6e5a99c Merge pull request #15 from ente-io/upgrade_dependencies
Upgrade dependencies
2022-12-14 14:16:03 +05:30
vishnukvmd
89dc0f81ed v1.0.22 2022-12-14 13:46:33 +05:30
vishnukvmd
24de1c6af7 Upgrade file_picker and flutter_sodium 2022-12-14 13:46:14 +05:30
Vishnu Mohandas
ee6c4d3744 Fix hyperlink to Download 2022-12-12 20:29:50 +05:30
Vishnu Mohandas
4e46a6f222 Merge pull request #14 from ente-io/readme-tweaks 2022-12-12 18:34:28 +05:30
Manav
563fb2fb7c README tweaks 2022-12-12 18:30:32 +05:30
Manav
216499d0a6 Merge pull request #13 from ente-io/extract-more-strings
Extract more strings into ARB files for localization
2022-12-12 18:11:02 +05:30
Manav
daf48befff Merge pull request #12 from ente-io/remove-test-file
Remove test file
2022-12-12 17:31:47 +05:30
Manav
359dc09d6a Extract more strings into ARB files for localization 2022-12-12 17:30:37 +05:30
Neeraj Gupta
73989998e9 Remove test file 2022-12-12 14:44:54 +05:30
Manav
0894a7eb36 Merge pull request #11 from ente-io/add-cla
Add CLA
2022-12-12 14:20:57 +05:30
Manav
550a955c1a Add CLA 2022-12-12 14:17:14 +05:30
Manav
598fb7856c Merge pull request #9 from ente-io/test-clabot
Testing CLA bot
2022-12-12 13:27:51 +05:30
Manav
b0d89cc568 Configure cla-assistant 2022-12-12 11:58:26 +05:30
Manav
e4eacb684f Test commit 2022-12-12 10:48:18 +05:30
Manav
6717f739ae Testing CLA bot 2022-12-12 10:40:15 +05:30
Vishnu Mohandas
00372208a4 Update Architecture folder structure 2022-12-09 21:50:36 +05:30
Vishnu Mohandas
7c093ec8c8 Update README 2022-12-09 21:46:31 +05:30
Vishnu Mohandas
ed3aafa7fc Fix licence to GPL-3.0 2022-12-09 21:42:35 +05:30
Vishnu Mohandas
6505ed37fc Add info about desktop support 2022-12-09 14:47:19 +05:30
vishnukvmd
6dd3903c78 Add screenshots 2022-12-05 10:50:38 +05:30
vishnukvmd
6996650ad5 Add links to both stores 2022-12-05 10:37:31 +05:30
vishnukvmd
86be8482b7 Merge branch 'main' into independent 2022-11-28 13:07:08 +05:30
vishnukvmd
26930f2760 v1.0.21 2022-11-28 13:06:57 +05:30
vishnukvmd
3e49cfbe5f Merge branch 'main' into independent 2022-11-28 13:06:41 +05:30
vishnukvmd
17fc973bfb Pause and resume camera on Android 2022-11-28 13:06:27 +05:30
vishnukvmd
0aae349509 Update POD file 2022-11-28 13:05:13 +05:30
vishnukvmd
bacca876ae Remove usages of IAP 2022-11-28 13:05:07 +05:30
vishnukvmd
d7e1998fbd v1.0.20 2022-11-24 16:23:47 +05:30
vishnukvmd
f53b44ec97 Remove unused library 2022-11-24 16:23:41 +05:30
vishnukvmd
338efb1eba v1.0.19 2022-11-24 16:15:58 +05:30
vishnukvmd
02ffe72cca Revert "Disable OpenFile to please PlayStore overlords"
This reverts commit a5cac1579b.
2022-11-24 16:15:24 +05:30
vishnukvmd
a5cac1579b Disable OpenFile to please PlayStore overlords 2022-11-24 16:14:57 +05:30
vishnukvmd
7a90a09d0c Format README 2022-11-24 13:23:07 +05:30
vishnukvmd
9508b30353 Update readme 2022-11-24 13:21:40 +05:30
vishnukvmd
7207921838 v1.0.18 2022-11-23 17:23:06 +05:30
vishnukvmd
56a741b2ac Update copy 2022-11-23 17:23:02 +05:30
vishnukvmd
e52aa78fae v1.0.17 2022-11-23 16:26:47 +05:30
vishnukvmd
9bcd107de8 Display a coach mark to nudge the user to swipe left 2022-11-23 16:26:29 +05:30
vishnukvmd
8e5488eaf9 v1.0.16 2022-11-22 15:00:08 +05:30
vishnukvmd
b20139f3b8 Provide option to opt in to crash analytics 2022-11-22 14:59:25 +05:30
vishnukvmd
21b139687d Disable Sentry tunnel 2022-11-22 14:58:59 +05:30
vishnukvmd
385731196f Remove code for setting anonymous user ID from Configuration 2022-11-22 14:44:27 +05:30
vishnukvmd
71c2958078 Improve warning while sharing logs 2022-11-22 14:06:46 +05:30
vishnukvmd
7a25da3927 Simplify email to share logs with 2022-11-22 14:06:36 +05:30
vishnukvmd
34c9ee76b3 Improve logging 2022-11-22 14:06:25 +05:30
vishnukvmd
3fbad241b1 Remove irrelevant link 2022-11-22 13:57:38 +05:30
vishnukvmd
9143634000 Execute remote sync if local items were pushed 2022-11-22 13:56:00 +05:30
vishnukvmd
a573c012e0 Rename variable 2022-11-22 13:37:09 +05:30
vishnukvmd
94debda2c7 Add the ability to add and edit issuers 2022-11-22 13:24:37 +05:30
vishnukvmd
c9f37b4f5a Add ability to edit an existing code 2022-11-22 13:24:37 +05:30
Neeraj Gupta
05652656ae Update README.md 2022-11-16 16:15:13 +05:30
vishnukvmd
8e715b4cf9 v1.0.15 2022-11-15 17:44:18 +05:30
vishnukvmd
e264d3456b Add indicator for codes that haven't synced to remote yet 2022-11-15 17:44:04 +05:30
vishnukvmd
56a73ab7ee Send stack trace on error capture 2022-11-15 17:27:12 +05:30
vishnukvmd
963d18b501 Gracefully parse errors 2022-11-15 17:26:59 +05:30
vishnukvmd
b35d3bda16 Reset cache on logout 2022-11-15 17:21:44 +05:30
vishnukvmd
7ad76adcaa v1.0.14 2022-11-15 14:04:26 +05:30
vishnukvmd
691eaabf50 Switch to FlutterFragmentActivity 2022-11-15 14:04:17 +05:30
vishnukvmd
7ab16df330 Update readme 2022-11-14 22:46:08 +05:30
vishnukvmd
3c16cfd829 Update podfile 2022-11-14 22:46:02 +05:30
vishnukvmd
8c9c9c53d1 v1.0.12 2022-11-14 22:11:38 +05:30
vishnukvmd
aeaaddbe40 Update README 2022-11-14 22:11:14 +05:30
vishnukvmd
25782870c7 Remove wasteful refresh 2022-11-14 21:53:14 +05:30
vishnukvmd
39e28dd63b Sort codes by issuer 2022-11-14 21:51:25 +05:30
vishnukvmd
517ce33fd9 Display the account within the code widget 2022-11-14 21:49:00 +05:30
vishnukvmd
02d2cb5733 Document architecture 2022-11-14 20:46:43 +05:30
vishnukvmd
2b5f349b2f Copy code on long press as well as on tap 2022-11-14 20:30:15 +05:30
vishnukvmd
08ad496975 Update README 2022-11-14 20:02:32 +05:30
vishnukvmd
f52ee5683b v1.0.11 2022-11-14 18:57:45 +05:30
vishnukvmd
332faa9166 Send error messages to sentry, even if the error object is missing 2022-11-14 18:57:37 +05:30
vishnukvmd
3d95c789f5 v1.0.10 2022-11-14 18:33:56 +05:30
vishnukvmd
244d4d969a Enable auto-updates 2022-11-14 18:33:49 +05:30
vishnukvmd
32605dc708 Implement a functional notification service 2022-11-14 18:23:55 +05:30
vishnukvmd
ef0c302c94 Add configuration for production builds for Android 2022-11-14 18:12:07 +05:30
vishnukvmd
fba694de68 Sort dependencies 2022-11-14 18:10:06 +05:30
vishnukvmd
3d4cd106cb Add dependencies to power auto-update 2022-11-14 18:08:42 +05:30
vishnukvmd
61e6e0ffaa Define responsible disclosure policy 2022-11-14 14:00:00 +05:30
vishnukvmd
e0b952e516 Configure Sentry 2022-11-14 13:58:09 +05:30
vishnukvmd
546a9234a4 Allow resetting on 2FA with the mnemonic phrase 2022-11-13 13:57:18 +05:30
vishnukvmd
da2083ef08 Fix styles for 2FA entry 2022-11-13 13:56:49 +05:30
vishnukvmd
8a1177e7db Fix case 2022-11-13 13:29:18 +05:30
vishnukvmd
8acd1faf03 Remove link to rate 2022-11-13 12:02:45 +05:30
vishnukvmd
0c28b83b46 Fix button color 2022-11-13 11:58:40 +05:30
vishnukvmd
fa0ac608f4 Add illustration for the lock screen 2022-11-13 11:57:07 +05:30
vishnukvmd
0965b367cc Decode the recovery key into hex instead of base64 2022-11-13 11:41:40 +05:30
vishnukvmd
37db940720 v1.0.9 2022-11-12 01:19:42 +05:30
vishnukvmd
334800472e Fix iOS permission issue 2022-11-12 01:19:25 +05:30
vishnukvmd
0da4497857 v1.0.8 2022-11-12 01:07:04 +05:30
vishnukvmd
0b05a21dc7 Fix fab colors 2022-11-12 01:05:25 +05:30
vishnukvmd
2558473399 Remove unused import 2022-11-12 00:47:53 +05:30
vishnukvmd
4dd465fdfa Remove junk value 2022-11-12 00:47:35 +05:30
vishnukvmd
1f20ba17f4 Remove toast library that was blocking user interaction 2022-11-12 00:46:02 +05:30
vishnukvmd
9ce8059212 Fix ripple 2022-11-12 00:37:06 +05:30
vishnukvmd
e69a3adf14 Remove redundant import 2022-11-12 00:35:21 +05:30
vishnukvmd
8baa350056 Improve style of the code widget 2022-11-12 00:34:06 +05:30
vishnukvmd
2526b61620 v1.0.7 2022-11-11 20:24:02 +05:30
vishnukvmd
ec4df467a0 Up flutter version to 3.3.8 2022-11-11 20:23:48 +05:30
vishnukvmd
41fd5337a6 Fix link to checksum 2022-11-11 20:23:29 +05:30
vishnukvmd
8fbec8307e v1.0.6 2022-11-11 20:14:01 +05:30
vishnukvmd
d902fdbf75 Add separate section for import and export 2022-11-11 20:13:52 +05:30
vishnukvmd
932dc53f6c Made with love @ ente 2022-11-11 20:09:59 +05:30
vishnukvmd
745cb54ffd Update copy 2022-11-11 20:01:02 +05:30
vishnukvmd
8ced5bf32e Fix error dialog 2022-11-11 19:58:36 +05:30
vishnukvmd
9b1a8fb4ca v1.0.5 2022-11-11 19:52:23 +05:30
vishnukvmd
824c6d769b Sanitize the secret 2022-11-11 19:51:54 +05:30
vishnukvmd
92c2247aa1 Add option to bulk import codes 2022-11-11 18:51:09 +05:30
vishnukvmd
e84e9db70e Add parameter to disable sync post code addition 2022-11-11 18:50:26 +05:30
vishnukvmd
be72db844d De-duplicate codes before inserting them into the DB 2022-11-11 17:12:05 +05:30
vishnukvmd
2386a5a10b Remove redundant code 2022-11-11 17:05:28 +05:30
vishnukvmd
09ae14a1d6 Add dependency on file picker 2022-11-11 17:05:22 +05:30
vishnukvmd
924ce5ff86 Update launch config 2022-11-11 15:45:58 +05:30
vishnukvmd
c47370163d Auto focus on OTT entry screen 2022-11-11 15:45:52 +05:30
vishnukvmd
3dd408af01 Clarify that account deletion applies to all products 2022-11-03 16:13:48 +05:30
vishnukvmd
408e3bd2b6 Fix the option to view recovery key 2022-11-03 16:00:02 +05:30
vishnukvmd
ebf634ef1e Enable 2fa within 2fa :okaypepe: 2022-11-03 15:59:00 +05:30
vishnukvmd
62c21749b5 v1.0.3 2022-11-03 15:04:52 +05:30
vishnukvmd
a9e8245b4d Fix typo 2022-11-03 15:04:43 +05:30
vishnukvmd
a088c61785 v1.0.2 2022-11-03 14:06:49 +05:30
vishnukvmd
640fad7b3c Add permission to use biometric auth on Android devices 2022-11-03 14:06:25 +05:30
vishnukvmd
f6df133e73 Add permission for biometric auth to Info.plist 2022-11-03 14:04:47 +05:30
237 changed files with 18363 additions and 4026 deletions

View File

@@ -1,70 +1,86 @@
name: Flutter CI
name: release
# This workflow is triggered on pushes to the repository.
on:
workflow_dispatch:
# Enable manual run
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v4.2.0
workflow_dispatch:
# Enable manual run
push:
# Sequence of patterns matched against refs/tags
tags:
- "v*" # Push events to matching v*, i.e. v4.2.0
jobs:
build:
# This job will run on ubuntu virtual machine
runs-on: ubuntu-latest
steps:
build:
# This job will run on ubuntu virtual machine
runs-on: ubuntu-latest
steps:
# Setup Java environment in order to build the Android app.
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: "adopt"
java-version: "11"
# Setup Java environment in order to build the Android app.
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
# Setup the flutter environment.
- uses: subosito/flutter-action@v2
with:
channel: "stable"
flutter-version: "3.10.6"
# Setup the flutter environment.
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.3.2'
# Fetch sub modules
- run: git submodule update --init --recursive
# Fetch sub modules
- run: git submodule update --init --recursive
# Get flutter dependencies.
- run: flutter pub get
# Get flutter dependencies.
- run: flutter pub get
- name: Setup keys
uses: timheuer/base64-to-file@v1
with:
fileName: "keystore/ente_auth_key.jks"
encodedString: ${{ secrets.SIGNING_KEY }}
- name: Setup keys
uses: timheuer/base64-to-file@v1
with:
fileName: 'keystore/ente_auth_key.jks'
encodedString: ${{ secrets.SIGNING_KEY }}
# Build independent apk.
- name: Build
run: flutter build apk --release --flavor independent --dart-define=app.flavor=independent && mv build/app/outputs/flutter-apk/app-independent-release.apk build/app/outputs/flutter-apk/ente-auth.apk
env:
SIGNING_KEY_PATH: "/home/runner/work/_temp/keystore/ente_auth_key.jks"
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
# Build independent apk.
- name: Build
run: flutter build apk --release --flavor independent && mv build/app/outputs/flutter-apk/app-independent-release.apk build/app/outputs/flutter-apk/ente-auth.apk
env:
SIGNING_KEY_PATH: '/home/runner/work/_temp/keystore/ente_auth_key.jks'
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
# Build Play store aab.
- name: Build
run: flutter build appbundle --release --flavor playstore --dart-define=app.flavor=playstore
env:
SIGNING_KEY_PATH: "/home/runner/work/_temp/keystore/ente_auth_key.jks"
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
- name: Checksum
run: sha256sum build/app/outputs/flutter-apk/ente-auth.apk > build/app/outputs/flutter-apk/sha256sum
- name: Checksum
run: sha256sum build/app/outputs/flutter-apk/ente-auth.apk > build/app/outputs/flutter-apk/sha256sum
# Upload generated apk to the artifacts.
- uses: actions/upload-artifact@v2
with:
name: release-apk
path: build/app/outputs/flutter-apk/ente-auth.apk
# Upload generated apk to the artifacts.
- uses: actions/upload-artifact@v2
with:
name: release-apk
path: build/app/outputs/flutter-apk/ente-auth.apk
- uses: actions/upload-artifact@v2
with:
name: release-checksum
path: build/app/outputs/flutter-apk/checksum
- uses: actions/upload-artifact@v2
with:
name: release-checksum
path: build/app/outputs/flutter-apk/sha256sum
# Create a Github release
- uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/flutter-apk/ente-auth.apk,build/app/outputs/flutter-apk/sha256sum"
token: ${{ secrets.GITHUB_TOKEN }}
# Create a Github release
- uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/flutter-apk/ente-auth.apk,build/app/outputs/flutter-apk/sha256sum"
token: ${{ secrets.GITHUB_TOKEN }}
# Upload to Play store
- uses: ente-io/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: io.ente.auth
releaseFiles: build/app/outputs/bundle/playstoreRelease/app-playstore-release.aab
track: internal

35
.github/workflows/l18n-crowdin.yml vendored Normal file
View File

@@ -0,0 +1,35 @@
name: Sync crowdin translation
on:
push:
paths: # run action automatically when app_en.arb file is changed
- 'lib/l10n/arb/app_en.arb'
branches: [ main ]
schedule:
- cron: '0 */12 * * *' # Every 12 hours - https://crontab.guru/#0_*/12_*_*_*
workflow_dispatch: # for manually running the action
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: crowdin action
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: true
download_translations: true
localization_branch_name: l10n_translations
create_pull_request: true
skip_untranslated_strings: true
pull_request_title: 'New Translations'
pull_request_body: 'New translations via [Crowdin GH Action](https://github.com/crowdin/github-action)'
pull_request_base_branch_name: 'main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

7
.gitmodules vendored
View File

@@ -2,3 +2,10 @@
path = thirdparty/sentry-dart
url = https://github.com/ente-io/sentry-dart.git
branch = sentry_flutter_ente
[submodule "flutter"]
path = flutter
url = https://github.com/flutter/flutter.git
branch = stable
[submodule "assets/simple-icons"]
path = assets/simple-icons
url = https://github.com/simple-icons/simple-icons.git

11
.vscode/launch.json vendored
View File

@@ -26,14 +26,21 @@
"request": "launch",
"type": "dart",
"program": "lib/main.dart",
"args": ["--dart-define", "endpoint=http://192.168.1.3:8080"]
"args": ["--dart-define", "endpoint=http://192.168.1.30:8080"]
},
{
"name": "Prod",
"name": "iOS Prod",
"request": "launch",
"type": "dart",
"program": "lib/main.dart",
"args": ["--target", "lib/main.dart"]
},
{
"name": "Android Prod",
"request": "launch",
"type": "dart",
"program": "lib/main.dart",
"args": ["--target", "lib/main.dart", "--flavor", "independent"]
}
]
}

56
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,56 @@
# Contributing
Thank you for showing interest in contributing to ente Authenticator. There are a couple of ways to help
out. This document contains some general guidelines for each type of
contribution.
## Translations
[![Crowdin](https://badges.crowdin.net/ente-authenticator-app/localized.svg)](https://crowdin.com/project/ente-authenticator-app)
We use [Crowdin](https://crowdin.com/project/ente-authenticator-app) to crowdsource
translations of ente Authenticator.
If your language is not listed for translation, feel free to [create a GitHub issue](https://github.com/ente-io/auth/issues/new?title=Request+for+New+Language+Translation&body=Language+name%3A) to have it added.
## Icons
ente Auth supports the icon pack provided by
[simple-icons](https://github.com/simple-icons/simple-icons).
If you would like to add your own custom icon, please open a pull-request
with the relevant SVG and color
code ([example PR](https://github.com/ente-io/auth/pull/213/files)).
## Development
If you're planning on adding a new feature or making other changes, please
discuss it with us by creating [an
issue](https://github.com/ente-io/auth/issues/new)
on GitHub. Discussing your idea with us first ensures that everyone is on the
same page before you start working on your change.
### 💻 Setup
1. [Install Flutter v3.10.6](https://flutter.dev/docs/get-started/install)
2. Clone this repository with `git clone git@github.com:ente-io/auth.git`
3. Pull in all submodules with `git submodule update --init --recursive`
4. For Android, run
```bash
flutter run -t lib/main.dart --flavor independent
```
5. For iOS, run `flutter run`
#### Localization
If the feature requires adding new strings, you can do that by following these steps:
1. Add a new entry inside [app_en.arb](https://github.com/ente-io/auth/blob/main/lib/l10n/arb/app_en.arb) (Remember to save)
2. In your dart file, add follwing import
```dart
import "package:ente_auth/l10n/l10n.dart";
```
3. Refer to the string using `context.l10n.<keyName>`. For example
```dart
context.l10n.account
```

687
LICENSE
View File

@@ -1,21 +1,674 @@
MIT License
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (c) 2021 Very Good Ventures
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Preamble
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

129
README.md
View File

@@ -1,3 +1,128 @@
# ente Auth
# ente Authenticator
Open source authenticator app for your 2FA secrets, with end-to-end encrypted backups.
![Build](https://github.com/ente-io/auth/actions/workflows/ci.yml/badge.svg?branch=)
[![Crowdin](https://badges.crowdin.net/ente-authenticator-app/localized.svg)](https://crowdin.com/project/ente-authenticator-app)
[![Matrix](https://img.shields.io/matrix/ente:matrix.org?color=blue)](https://matrix.to/#/#ente:matrix.org)
ente's Authenticator app helps you generate and store 2 step verification (2FA)
tokens on your mobile devices.
[Download now](#-download)
![App Screenshots](./screenshots/screenshots.png)
## ✨ Features
### Secure Backups
ente provides end-to-end encrypted cloud backups so that you don't have to worry
about losing your tokens. We use the same protocols [ente
Photos](https://ente.io) uses to encrypt and preserve your data.
### Multi Device Synchronization
ente will automatically sync the 2FA tokens you add to your account, across all
your devices. Every new device you sign into will have access to these tokens.
### Offline Mode
ente generates 2FA tokens offline, so your network connectivity will not get in
the way of your workflow. If you wish to use the app without an account for e2ee
backups, you can do that as well.
### Import and Export Tokens
You can add tokens to ente by one of the following methods:
1. Scanning a QR code
2. Manually entering (copy-pasting) a 2FA secret
3. Bulk importing from other popular 2FA apps and from a file that contains a list of codes in the following format:.
```
otpauth://totp/provider.com:you@email.com?secret=YOUR_SECRET
```
You can export the codes you have added to ente, to either an **encrypted** or
plain text file. The encrypted backups can be accessed through the app, as well
as a standalone CLI tool. [Read
more](migration-guides/encrypted_export.md#how-to-use-the-exported-data).
## 📲 Download
### Android
This repository's [GitHub
releases](https://github.com/ente-io/auth/releases/latest/download/ente-auth.apk)
contains APKs, built straight from source. These builds keep themselves updated,
without relying on third party stores.
You can alternatively install the build from PlayStore or F-Droid.
<a href="https://play.google.com/store/apps/details?id=io.ente.auth"> <img
width="197" alt="Get it on Google Play"
src="https://ente.io/static/ed265c3abdcd3efa5e29f64b927bcb44/e230a/play-store-badge.webp">
</a>
<a href="https://f-droid.org/packages/io.ente.auth/">
<img width="197" alt="Get it on F-Droid" src="https://ente.io/static/5378d3de690a04a5011268b9caf739f5/e230a/f-droid-badge.webp">
</a>
### iPhone / Apple Silicon
<a href="https://apps.apple.com/us/app/ente-authenticator/id6444121398"> <img
width="197" alt="Download on AppStore"
src="https://user-images.githubusercontent.com/1161789/154795157-c4468ff9-97fd-46f3-87fe-dca789d8733a.png">
</a>
### Web / Desktop
You can view your 2FA codes at [auth.ente.io](https://auth.ente.io). For adding or managing your secrets, please use our mobile app.
## 🔩 Architecture
The architecture that powers end-to-end encrypted storage and sync of your
tokens has been documented [here](architecture/README.md).
## 🧑‍💻 Build from source
1. [Install Flutter](https://flutter.dev/docs/get-started/install)
2. Clone this repository with `git clone git@github.com:ente-io/auth.git`
3. Pull in all submodules with `git submodule update --init --recursive`
4. For Android, [setup your keystore](https://docs.flutter.dev/deployment/android#create-an-upload-keystore) and run `flutter build apk --release --flavor independent`
5. For iOS, run `flutter build ios`
For maintainers, there is [additional documentation](RELEASES.md) on
automatically publishing the main branch to App store, Play store and GitHub
releases.
## 🧑‍🔧 Contribute
Please refer to our [contribution guide](./CONTRIBUTING.md) if you wish to add
an icon, assist with translation, or develop new features.
You can also support us by giving this project a ⭐ star on GitHub or by leaving
a review on
[PlayStore](https://play.google.com/store/apps/details?id=io.ente.auth),
[AppStore](https://apps.apple.com/us/app/ente-authenticator/id6444121398) or
[AlternativeTo](https://alternativeto.net/software/ente-authenticator/).
## 🙋‍♂️ Help
If you need help, please reach out to support@ente.io, and a human will get in
touch with you.
If you have feature requests, please create a [GitHub issue](https://github.com/ente-io/auth/issues/).
## 💜 Community
- Follow us on [Twitter](https://twitter.com/enteio) / [Mastodon](https://mstdn.social/@ente)
- Join us on [Discord](https://ente.io/discord) / [Matrix](https://ente.io/matrix)

12
RELEASES.md Normal file
View File

@@ -0,0 +1,12 @@
# Releases
1. Create a PR to bump up the version number in `pubspec.yaml`.
2. Once that is merged, tag main. This'll trigger the
[workflow](.github/workflows/ci.yml) to (a) create a new GitHub release with
the independently distributed APK, and (b) build and upload a release to
Google Play.
3. Xcode Cloud has already been configured and will automatically build and
release to TestFlight when step 1 was merged to main (you can see logs under
the PR checks).

50
SECURITY.md Normal file
View File

@@ -0,0 +1,50 @@
ente believes that working with security researchers across the globe is crucial
to keeping our users safe. If you believe you've found a security issue in our
product or service, we encourage you to notify us (security@ente.io). We welcome
working with you to resolve the issue promptly. Thanks in advance!
# Disclosure Policy
- Let us know as soon as possible upon discovery of a potential security issue,
and we'll make every effort to quickly resolve the issue.
- Provide us a reasonable amount of time to resolve the issue before any
disclosure to the public or a third-party. We may publicly disclose the issue
before resolving it, if appropriate.
- Make a good faith effort to avoid privacy violations, destruction of data, and
interruption or degradation of our service. Only interact with accounts you
own or with explicit permission of the account holder.
- If you would like to encrypt your report, please use the PGP key with long ID
`E273695C0403F34F74171932DF6DDDE98EBD2394` (available in the public keyserver
pool).
# In-scope
- Security issues in any current release of ente. This includes the web app,
desktop app, and mobile apps (iOS and Android). Product downloads are
available at https://ente.io. Source code is available at
https://github.com/ente-io.
# Exclusions
The following bug classes are out-of scope:
- Bugs that are already reported on any of ente's issue trackers
(https://github.com/ente-io), or that we already know of. Note that some of
our issue tracking is private.
- Issues in an upstream software dependency (ex: Flutter, Next.js etc) which are
already reported to the upstream maintainer.
- Attacks requiring physical access to a user's device.
- Self-XSS
- Issues related to software or protocols not under ente's control
- Vulnerabilities in outdated versions of ente
- Missing security best practices that do not directly lead to a vulnerability
- Issues that do not have any impact on the general public
While researching, we'd like to ask you to refrain from:
- Denial of service
- Spamming
- Social engineering (including phishing) of ente staff or contractors
- Any physical attempts against ente property or data centers
Thank you for helping keep ente and our users safe!

View File

@@ -48,4 +48,5 @@ analyzer:
avoid_renaming_method_parameters: ignore # incorrect warnings for `equals` overrides
exclude:
- thirdparty/**
- thirdparty/**
- flutter/**

View File

@@ -72,6 +72,9 @@ android {
playstore {
dimension "default"
}
fdroid {
dimension "default"
}
}
buildTypes {

View File

@@ -25,7 +25,14 @@
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="ente"/>
<data android:scheme="ente-auth"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="otpauth" />
</intent-filter>
</activity>
@@ -35,7 +42,7 @@
<meta-data android:name="flutterEmbedding" android:value="2"/>
<meta-data android:name="io.sentry.dsn"
android:value="https://8aeb7f013be74f829f8b73b46b3d7a80@sentry.ente.io/8"/>
android:value="https://ed4ddd6309b847ba8849935e26e9b648@sentry.ente.io/9"/>
</application>
<queries>
@@ -52,4 +59,6 @@
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="29"
tools:ignore="ScopedStorage"/>
</manifest>
<uses-permission android:name="android.permission.USE_BIOMETRIC"/>
</manifest>

View File

@@ -1,6 +1,6 @@
package io.ente.auth
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.android.FlutterFragmentActivity
class MainActivity: FlutterActivity() {
class MainActivity: FlutterFragmentActivity() {
}

View File

@@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

View File

@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.6.10'
ext.kotlin_version = '1.8.22'
repositories {
google()
mavenCentral()
@@ -24,6 +24,6 @@ subprojects {
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}

275
architecture/README.md Normal file
View File

@@ -0,0 +1,275 @@
# Architecture
This is an overview of ente's end-to-end encrypted architecture and
specifications of the underlying cryptography.
## Introduction
Your data is end-to-end encrypted with **ente**. Meaning, they are encrypted
with your `keys` before they leave your device.
<img src="assets/e2ee.svg" class="architecture-svg" style="max-width: 600px"
title="End-to-end encryption in ente" />
<br/>
These `keys` are available only to you. Meaning only you can access your data
else where.
What follows is an explanation of how we do what we do.
## Key Encryption
### Fundamentals
#### Master Key
When you sign up for **ente**, your client generates a `masterKey` for you. This
never leaves your device unencrypted.
#### Key Encryption Key
Once you choose a password, a `keyEncryptionKey` is derived from it. This never
leaves your device.
### Flows
#### Primary Device
During registration, your `masterKey` is encrypted with your`keyEncryptionKey`,
and the resultant `encryptedMasterKey` is then sent to our servers for storage.
<img src="assets/key-derivation.svg" class="architecture-svg" title="Key derivation" />
#### <a id="key-encryption-flows-secondary-device"></a> Secondary Device
When you sign in on a secondary device, after you successfully verify your
email, our servers give you back your `encryptedMasterKey` that was sent to us
by your primary device.
You are then prompted to enter your password. Once entered, your
`keyEncryptionKey` is derived, and the client decrypts your `encryptedMasterKey`
with this, to yield your original `masterKey`.
If the decryption fails, the client will know that the derived
`keyEncryptionKey` was wrong, indicating an incorrect password, and this
information will be surfaced to you.
### Privacy
- Since only you know your password, only you can derive your
`keyEncryptionKey`.
- Since only you can derive your `keyEncryptionKey`, only you have access to
your `masterKey`.
> Keep reading to learn about how this `masterKey` is used to encrypt your data.
---
## Token Encryption
### Fundamentals
#### Token Key
Each of your tokens in **ente** are encrypted with a `tokenKey`. These never
leave your device unencrypted.
#### Authenticator Key
Each of your `tokenKey`s are in turn encrypted with an `authKey`. This never
leave your device unencrypted.
### Flows
#### Upload
- Each token and associated metadata is encrypted with randomly generated
`tokenKey`s.
- Each `tokenKey` is encrypted with your `authKey`. In case your account does
not have an `authKey` yet, one is randomly generated and encrypted with your
`masterKey`.
- All of the above mentioned encrypted data is then pushed to the server for
storage.
<img src="assets/token-encryption.svg" class="architecture-svg" title="Token
encryption" />
#### Download
- All of the above mentioned encrypted data is pulled from the server.
- You first decrypt your `authKey` with your `masterKey`.
- You then decrypt each token's `tokenKey` with your `authKey`.
- Finally, you decrypt each token and associated metadata with the respective
`tokenKey`s.
### Privacy
- As explained in the previous section, only you have access to your
`masterKey`.
- Since only you have access to your `masterKey`, only you can decrypt your
`authKey`.
- Since only you have access to your `authKey`, only you can decrypt the
`tokenKey`s.
- Since only you have access to the `tokenKey`s, only you can decrypt the tokens
and their associated metadata.
---
## Key Recovery
### Fundamentals
#### Recovery Key
When you sign up for **ente**, your app generates a `recoveryKey` for you. This
never leaves your device unencrypted.
### Flow
#### Storage
Your `recoveryKey` and `masterKey` are encrypted with each other and stored on
the server.
#### Access
This encrypted `recoveryKey` is downloaded when you sign in on a new device.
This is decrypted with your `masterKey` and surfaced to you whenever you request
for it.
#### Recovery
Post email verification, if you're unable to unlock your account because you
have forgotten your password, the client will prompt you to enter your
`recoveryKey`.
The client then pulls the `masterKey` that was earlier encrypted and pushed to
the server (as discussed in [Key Encryption](#key-encryption), and decrypts it
with the entered `recoveryKey`. If the decryption succeeds, the client will know
that you have entered the correct `recoveryKey`.
<img src="assets/recovery.svg" class="architecture-svg" title="Recovery" />
Now that you have your `masterKey`, the client will prompt you to set a new
password, using which it will derive a new `keyEncryptionKey`. This is then used
to encrypt your `masterKey` and this new `encryptedMasterKey` is uploaded to our
servers, similar to what was earlier discussed in [Key
Encryption](#key-encryption).
### Privacy
- Since only you have access to your `masterKey`, only you can access your
`recoveryKey`.
- Since only you can access your `recoveryKey`, only you can reset your
password.
---
## Authentication
### Fundamentals
#### One Time Token
When you attempt to verify ownership of an email address, our server generates a
`oneTimeToken`, that if presented confirms your access to the said email
address. This token is valid for a short time and can only be used once.
#### Authentication Token
When you successfully authenticate yourself against our server by proving
ownership of your email (and in future any other configured vectors), the server
generates an `authToken`, that can from there on be used to authenticate against
our private APIs.
#### Encrypted Authentication Token
A generated `authToken` is returned to your client after being encrypted with
your `publicKey`. This `encryptedAuthToken` can only be decrypted with your
`privateKey`.
### Flow
- You are asked for an email address, to which a `oneTimeToken` is sent.
- Once you present this information correctly to our server, an `authToken` is
generated and an `encryptedAuthToken` is returned to you, along with your
other encrypted keys.
- You are then prompted to enter your password, using which your `masterKey` is
derived (as discussed [here](#key-encryption-flows-secondary-device)).
- Using this `masterKey`, the rest of your keys, including your `privateKey` is
decrypted (as discussed [here](#private-key)).
- Using your `privateKey`, the client will then decrypt the `encryptedAuthToken`
that was earlier encrypted by our server with your `publicKey`.
- This decrypted `authToken` can then from there on be used to authenticate all
API calls against our servers.
<img src="assets/authentication.svg" class="architecture-svg" title="Authentication" />
### Security
Only by verifying access to your email and knowing your password can you obtain
an `authToken` that can be used to authenticate yourself against our servers.
---
## Implementation Details
We rely on the high level APIs exposed by this wonderful library called
[libsodium](https://libsodium.gitbook.io/doc/).
#### Key Generation
[`crypto_secretbox_keygen`](https://libsodium.gitbook.io/doc/public-key_cryptography/sealed_boxes)
is used to generate all random keys within the application. Your `masterKey`,
`recoveryKey`, `authKey`, `tokenKey` are all 256-bit keys generated using this
API.
#### Key Derivation
[`crypto_pwhash`](https://libsodium.gitbook.io/doc/password_hashing/default_phf)
is used to derive your `keyEncryptionKey` from your password.
`crypto_pwhash_OPSLIMIT_SENSITIVE` and `crypto_pwhash_MEMLIMIT_SENSITIVE` are
used as the limits for computation and memory respectively. If the operation
fails due to insufficient memory, the former is doubled and the latter is halved
progressively, until a key can be derived. If during this process the memory
limit is reduced to a value less than `crypto_pwhash_MEMLIMIT_MIN`, the client
will not let you register from that device.
Internally, this uses [Argon2
v1.3](https://github.com/P-H-C/phc-winner-argon2/raw/master/argon2-specs.pdf),
which is regarded as [one of the best hashing
algorithms](https://en.wikipedia.org/wiki/Argon2) currently available.
#### Symmetric Encryption
[`crypto_secretbox_easy`](https://libsodium.gitbook.io/doc/secret-key_cryptography/secretbox)
is used to encrypt your `masterKey`, `recoveryKey`, `authKey` and `tokenKey`s.
Internally, this uses
[XSalsa20](https://libsodium.gitbook.io/doc/advanced/stream_ciphers/xsalsa20)
stream cipher with [Poly1305
MAC](https://datatracker.ietf.org/doc/html/rfc8439#section-2.5) for
authentication.
[`crypto_secretstream_*`](https://libsodium.gitbook.io/doc/secret-key_cryptography/secretstream)
APIs are used to encrypt your token data. Internally, this uses
[XChaCha20](https://libsodium.gitbook.io/doc/advanced/stream_ciphers/xchacha20)
stream cipher with [Poly1305
MAC](https://datatracker.ietf.org/doc/html/rfc8439#section-2.5) for
authentication.
#### Salt & Nonce Generation
[`randombytes_buf`](https://libsodium.gitbook.io/doc/generating_random_data) is
used to generate a new salt/nonce every time data needs to be hashed/encrypted.
---
## Further Details
Thank you for reading this far! For implementation details, we request you to
checkout [our code](https://github.com/ente-io).
If you'd like to help us improve this document, kindly email
[security@ente.io](mailto:security@ente.io).

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 119 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 22 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 76 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 130 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

View File

@@ -0,0 +1 @@
f23611a675a8c9bc71eb16e8a1108cf8

View File

@@ -0,0 +1,12 @@
{
"icons": [
{
"title": "ente",
"hex": "1DB954"
},
{
"title": "Github",
"hex": "858585"
}
]
}

View File

@@ -0,0 +1,3 @@
<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4.06803 7.096C3.33203 7.096 2.68403 6.952 2.12403 6.664C1.57203 6.376 1.14403 5.984 0.840033 5.488C0.536033 4.984 0.384033 4.412 0.384033 3.772C0.384033 3.124 0.532033 2.552 0.828033 2.056C1.13203 1.552 1.54403 1.16 2.06403 0.879997C2.58403 0.591998 3.17203 0.447998 3.82803 0.447998C4.46003 0.447998 5.02803 0.583998 5.53203 0.855998C6.04403 1.12 6.44803 1.504 6.74403 2.008C7.04003 2.504 7.18803 3.1 7.18803 3.796C7.18803 3.868 7.18403 3.952 7.17603 4.048C7.16803 4.136 7.16003 4.22 7.15203 4.3H1.90803V3.208H6.16803L5.44803 3.532C5.44803 3.196 5.38003 2.904 5.24403 2.656C5.10803 2.408 4.92003 2.216 4.68003 2.08C4.44003 1.936 4.16003 1.864 3.84003 1.864C3.52003 1.864 3.23603 1.936 2.98803 2.08C2.74803 2.216 2.56003 2.412 2.42403 2.668C2.28803 2.916 2.22003 3.212 2.22003 3.556V3.844C2.22003 4.196 2.29603 4.508 2.44803 4.78C2.60803 5.044 2.82803 5.248 3.10803 5.392C3.39603 5.528 3.73203 5.596 4.11603 5.596C4.46003 5.596 4.76003 5.544 5.01603 5.44C5.28003 5.336 5.52003 5.18 5.73603 4.972L6.73203 6.052C6.43603 6.388 6.06403 6.648 5.61603 6.832C5.16803 7.008 4.65203 7.096 4.06803 7.096Z" fill="black" style="fill:black;fill:black;fill-opacity:1;"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>

After

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

1
assets/simple-icons Submodule

Submodule assets/simple-icons added at 7e1ad45175

6
crowdin.yml Normal file
View File

@@ -0,0 +1,6 @@
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
files:
- source: /lib/l10n/arb/app_en.arb
translation: /lib/l10n/arb/app_%two_letters_code%.arb

View File

@@ -0,0 +1 @@
- Hello, FDroid!

View File

@@ -0,0 +1,3 @@
- Added OTPAuth URL Scheme Support: Our Two-Factor Authenticator app now supports the otpauth:// URL scheme for easy setup and configuration of your one-time password (OTP) accounts.
- Expanded Language Support: Thanks to the help from our community, in addition to English, French, and Spanish, our app now supports German, Spanish, Dutch, Brazilian Portuguese, Russian, and Simplified Chinese. To change your language preferences, go to Settings > Account > Language.

View File

@@ -0,0 +1,40 @@
ente's Authenticator app helps you generate and store 2 step verification (2FA)
tokens on your mobile devices.
FEATURES
- Secure Backups
ente provides end-to-end encrypted cloud backups so that you don't have to worry
about losing your tokens. We use the same protocols ente Photos uses to encrypt
and preserve your data.
- Multi Device Synchronization
ente will automatically sync the 2FA tokens you add to your account, across all
your devices. Every new device you sign into will have access to these tokens.
- Web access
You can access your 2FA code from any web browser by visiting https://auth.ente.io .
- Offline Mode
ente generates 2FA tokens offline, so your network connectivity will not get in
the way of your workflow.
- Import and Export Tokens
You can add tokens to ente by one of the following methods:
1. Scanning a QR code
2. Manually entering (copy-pasting) a 2FA secret
3. Bulk importing from a file that contains a list of codes in the following format:
otpauth://totp/provider.com:you@email.com?secret=YOUR_SECRET
The codes maybe separated by new lines or commas.
You can also export the codes you have added to ente, to an **unencrypted** text
file, that adheres to the above format.
SUPPORT
If you need help, please reach out to support@ente.io, and a human will get in touch with you.
If you have feature requests, please create an issue @ https://github.com/ente-io/auth

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@@ -0,0 +1 @@
ente is an end-to-end encrypted authenticator app

View File

@@ -0,0 +1 @@
ente Authenticator

View File

@@ -0,0 +1,6 @@
flutter_icons:
android: "launcher_icon"
image_path: "assets/icon-light.png"
adaptive_icon_foreground: "assets/icon-light-adaptive-fg.png"
adaptive_icon_background: "#ffffff"

1
flutter Submodule

Submodule flutter added at f468f3366c

1
ios/.gitignore vendored
View File

@@ -8,6 +8,7 @@
.tags*
**/.vagrant/
**/DerivedData/
build/
Icon?
**/Pods/
**/.symlinks/

View File

@@ -2,7 +2,41 @@ PODS:
- connectivity (0.0.1):
- Flutter
- Reachability
- device_info (0.0.1):
- device_info_plus (0.0.1):
- Flutter
- DKImagePickerController/Core (4.3.4):
- DKImagePickerController/ImageDataManager
- DKImagePickerController/Resource
- DKImagePickerController/ImageDataManager (4.3.4)
- DKImagePickerController/PhotoGallery (4.3.4):
- DKImagePickerController/Core
- DKPhotoGallery
- DKImagePickerController/Resource (4.3.4)
- DKPhotoGallery (0.0.17):
- DKPhotoGallery/Core (= 0.0.17)
- DKPhotoGallery/Model (= 0.0.17)
- DKPhotoGallery/Preview (= 0.0.17)
- DKPhotoGallery/Resource (= 0.0.17)
- SDWebImage
- SwiftyGif
- DKPhotoGallery/Core (0.0.17):
- DKPhotoGallery/Model
- DKPhotoGallery/Preview
- SDWebImage
- SwiftyGif
- DKPhotoGallery/Model (0.0.17):
- SDWebImage
- SwiftyGif
- DKPhotoGallery/Preview (0.0.17):
- DKPhotoGallery/Model
- DKPhotoGallery/Resource
- SDWebImage
- SwiftyGif
- DKPhotoGallery/Resource (0.0.17):
- SDWebImage
- SwiftyGif
- file_picker (0.0.1):
- DKImagePickerController/PhotoGallery
- Flutter
- fk_user_agent (2.0.0):
- Flutter
@@ -16,9 +50,11 @@ PODS:
- flutter_inappwebview/Core (0.0.1):
- Flutter
- OrderedSet (~> 5.0)
- flutter_local_notifications (0.0.1):
- Flutter
- flutter_native_splash (0.0.1):
- Flutter
- flutter_secure_storage (3.3.1):
- flutter_secure_storage (6.0.0):
- Flutter
- flutter_sodium (0.0.1):
- Flutter
@@ -28,68 +64,95 @@ PODS:
- FMDB (2.7.5):
- FMDB/standard (= 2.7.5)
- FMDB/standard (2.7.5)
- in_app_purchase (0.0.1):
- Flutter
- local_auth (0.0.1):
- local_auth_ios (0.0.1):
- Flutter
- move_to_background (0.0.1):
- Flutter
- MTBBarcodeScanner (5.0.11)
- open_filex (0.0.2):
- Flutter
- OrderedSet (5.0.0)
- package_info_plus (0.4.5):
- Flutter
- path_provider_ios (0.0.1):
- path_provider_foundation (0.0.1):
- Flutter
- FlutterMacOS
- qr_code_scanner (0.2.0):
- Flutter
- MTBBarcodeScanner
- Reachability (3.2)
- SDWebImage (5.17.0):
- SDWebImage/Core (= 5.17.0)
- SDWebImage/Core (5.17.0)
- Sentry/HybridSDK (8.9.1):
- SentryPrivate (= 8.9.1)
- sentry_flutter (0.0.1):
- Flutter
- FlutterMacOS
- Sentry/HybridSDK (= 8.9.1)
- SentryPrivate (8.9.1)
- share_plus (0.0.1):
- Flutter
- shared_preferences_ios (0.0.1):
- shared_preferences_foundation (0.0.1):
- Flutter
- sqflite (0.0.2):
- FlutterMacOS
- sqflite (0.0.3):
- Flutter
- FMDB (>= 2.7.5)
- SwiftyGif (5.4.4)
- Toast (4.0.0)
- uni_links (0.0.1):
- Flutter
- url_launcher_ios (0.0.1):
- Flutter
DEPENDENCIES:
- connectivity (from `.symlinks/plugins/connectivity/ios`)
- device_info (from `.symlinks/plugins/device_info/ios`)
- device_info_plus (from `.symlinks/plugins/device_info_plus/ios`)
- file_picker (from `.symlinks/plugins/file_picker/ios`)
- fk_user_agent (from `.symlinks/plugins/fk_user_agent/ios`)
- Flutter (from `Flutter`)
- flutter_email_sender (from `.symlinks/plugins/flutter_email_sender/ios`)
- flutter_inappwebview (from `.symlinks/plugins/flutter_inappwebview/ios`)
- flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`)
- flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
- flutter_secure_storage (from `.symlinks/plugins/flutter_secure_storage/ios`)
- flutter_sodium (from `.symlinks/plugins/flutter_sodium/ios`)
- fluttertoast (from `.symlinks/plugins/fluttertoast/ios`)
- in_app_purchase (from `.symlinks/plugins/in_app_purchase/ios`)
- local_auth (from `.symlinks/plugins/local_auth/ios`)
- local_auth_ios (from `.symlinks/plugins/local_auth_ios/ios`)
- move_to_background (from `.symlinks/plugins/move_to_background/ios`)
- open_filex (from `.symlinks/plugins/open_filex/ios`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- path_provider_ios (from `.symlinks/plugins/path_provider_ios/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- qr_code_scanner (from `.symlinks/plugins/qr_code_scanner/ios`)
- sentry_flutter (from `.symlinks/plugins/sentry_flutter/ios`)
- share_plus (from `.symlinks/plugins/share_plus/ios`)
- shared_preferences_ios (from `.symlinks/plugins/shared_preferences_ios/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
- sqflite (from `.symlinks/plugins/sqflite/ios`)
- uni_links (from `.symlinks/plugins/uni_links/ios`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
SPEC REPOS:
trunk:
- DKImagePickerController
- DKPhotoGallery
- FMDB
- MTBBarcodeScanner
- OrderedSet
- Reachability
- SDWebImage
- Sentry
- SentryPrivate
- SwiftyGif
- Toast
EXTERNAL SOURCES:
connectivity:
:path: ".symlinks/plugins/connectivity/ios"
device_info:
:path: ".symlinks/plugins/device_info/ios"
device_info_plus:
:path: ".symlinks/plugins/device_info_plus/ios"
file_picker:
:path: ".symlinks/plugins/file_picker/ios"
fk_user_agent:
:path: ".symlinks/plugins/fk_user_agent/ios"
Flutter:
@@ -98,6 +161,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/flutter_email_sender/ios"
flutter_inappwebview:
:path: ".symlinks/plugins/flutter_inappwebview/ios"
flutter_local_notifications:
:path: ".symlinks/plugins/flutter_local_notifications/ios"
flutter_native_splash:
:path: ".symlinks/plugins/flutter_native_splash/ios"
flutter_secure_storage:
@@ -106,54 +171,68 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/flutter_sodium/ios"
fluttertoast:
:path: ".symlinks/plugins/fluttertoast/ios"
in_app_purchase:
:path: ".symlinks/plugins/in_app_purchase/ios"
local_auth:
:path: ".symlinks/plugins/local_auth/ios"
local_auth_ios:
:path: ".symlinks/plugins/local_auth_ios/ios"
move_to_background:
:path: ".symlinks/plugins/move_to_background/ios"
open_filex:
:path: ".symlinks/plugins/open_filex/ios"
package_info_plus:
:path: ".symlinks/plugins/package_info_plus/ios"
path_provider_ios:
:path: ".symlinks/plugins/path_provider_ios/ios"
path_provider_foundation:
:path: ".symlinks/plugins/path_provider_foundation/darwin"
qr_code_scanner:
:path: ".symlinks/plugins/qr_code_scanner/ios"
sentry_flutter:
:path: ".symlinks/plugins/sentry_flutter/ios"
share_plus:
:path: ".symlinks/plugins/share_plus/ios"
shared_preferences_ios:
:path: ".symlinks/plugins/shared_preferences_ios/ios"
shared_preferences_foundation:
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
sqflite:
:path: ".symlinks/plugins/sqflite/ios"
uni_links:
:path: ".symlinks/plugins/uni_links/ios"
url_launcher_ios:
:path: ".symlinks/plugins/url_launcher_ios/ios"
SPEC CHECKSUMS:
connectivity: c4130b2985d4ef6fd26f9702e886bd5260681467
device_info: d7d233b645a32c40dfdc212de5cf646ca482f175
device_info_plus: e5c5da33f982a436e103237c0c85f9031142abed
DKImagePickerController: b512c28220a2b8ac7419f21c491fc8534b7601ac
DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179
file_picker: ce3938a0df3cc1ef404671531facef740d03f920
fk_user_agent: 1f47ec39291e8372b1d692b50084b0d54103c545
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
flutter_email_sender: 02d7443217d8c41483223627972bfdc09f74276b
flutter_inappwebview: bfd58618f49dc62f2676de690fc6dcda1d6c3721
flutter_local_notifications: 0c0b1ae97e741e1521e4c1629a459d04b9aec743
flutter_native_splash: 52501b97d1c0a5f898d687f1646226c1f93c56ef
flutter_secure_storage: 7953c38a04c3fdbb00571bcd87d8e3b5ceb9daec
flutter_secure_storage: 23fc622d89d073675f2eaa109381aefbcf5a49be
flutter_sodium: c84426b4de738514b5b66cfdeb8a06634e72fe0b
fluttertoast: 16fbe6039d06a763f3533670197d01fc73459037
fluttertoast: fafc4fa4d01a6a9e4f772ecd190ffa525e9e2d9c
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
in_app_purchase: 3e2155afa9d03d4fa32d9e62d567885080ce97d6
local_auth: 1740f55d7af0a2e2a8684ce225fe79d8931e808c
local_auth_ios: c6cf091ded637a88f24f86a8875d8b0f526e2605
move_to_background: 39a5b79b26d577b0372cbe8a8c55e7aa9fcd3a2d
MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb
open_filex: 6e26e659846ec990262224a12ef1c528bb4edbe4
OrderedSet: aaeb196f7fef5a9edf55d89760da9176ad40b93c
package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e
path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02
package_info_plus: fd030dabf36271f146f1f3beacd48f564b0f17f7
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
qr_code_scanner: bb67d64904c3b9658ada8c402e8b4d406d5d796e
Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96
SDWebImage: 750adf017a315a280c60fde706ab1e552a3ae4e9
Sentry: e3203780941722a1fcfee99e351de14244c7f806
sentry_flutter: 8f0ffd53088e6a4d50c095852c5cad9e4405025c
SentryPrivate: 5e3683390f66611fc7c6215e27645873adb55d13
share_plus: 056a1e8ac890df3e33cb503afffaf1e9b4fbae68
shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68ad
sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
sqflite: 31f7eba61e3074736dff8807a9b41581e4f7f15a
SwiftyGif: 93a1cc87bf3a51916001cf8f3d63835fb64c819f
Toast: 91b396c56ee72a5790816f40d3a94dd357abc196
url_launcher_ios: 839c58cdb4279282219f5e248c3321761ff3c4de
uni_links: d97da20c7701486ba192624d99bffaaffcfc298a
url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4
PODFILE CHECKSUM: b4e3a7eabb03395b66e81fc061789f61526ee6bb
COCOAPODS: 1.11.3
COCOAPODS: 1.12.1

View File

@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 51;
objectVersion = 54;
objects = {
/* Begin PBXBuildFile section */
@@ -220,10 +220,12 @@
};
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
);
name = "Thin Binary";
outputPaths = (
@@ -256,7 +258,7 @@
};
9740EEB61CF901F6004384FC /* Run Script */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
buildActionMask = 12;
files = (
);
inputPaths = (
@@ -266,7 +268,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build\n";
};
/* End PBXShellScriptBuildPhase section */

View File

@@ -1,60 +1,81 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>auth</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLocalizations</key>
<array>
<string>en</string>
<string>es</string>
</array>
<key>CFBundleName</key>
<string>auth</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>MinimumOSVersion</key>
<string>12.0</string>
<key>NSCameraUsageDescription</key>
<string>This app needs camera access to scan QR codes</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIStatusBarHidden</key>
<false/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
<dict>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>auth</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLocalizations</key>
<array>
<string>en</string>
<string>es</string>
</array>
<key>CFBundleName</key>
<string>auth</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleURLSchemes</key>
<array>
<string>otpauth</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>MinimumOSVersion</key>
<string>12.0</string>
<key>NSCameraUsageDescription</key>
<string>This app needs camera access to scan QR codes</string>
<key>NSFaceIDUsageDescription</key>
<string>Please allow auth to lock itself with FaceID or TouchID</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Please allow auth to pick a file to import data from</string>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIStatusBarHidden</key>
<false/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
</dict>
</plist>

24
ios/ci_scripts/ci_post_clone.sh Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/sh
# by default, the execution directory of this script is the ci_scripts directory
# CI_WORKSPACE is the directory of your cloned repo
echo "🟩 Navigate from ($PWD) to ($CI_WORKSPACE)"
cd $CI_WORKSPACE
echo "🟩 Install Flutter"
time git clone https://github.com/flutter/flutter.git -b stable $HOME/flutter
export PATH="$PATH:$HOME/flutter/bin"
echo "🟩 Flutter Precache"
time flutter precache --ios
echo "🟩 Install Flutter Dependencies"
time flutter pub get
echo "🟩 Install CocoaPods via Homebrew"
time HOMEBREW_NO_AUTO_UPDATE=1 brew install cocoapods
echo "🟩 Install CocoaPods dependencies..."
time cd ios && pod install
exit 0

View File

@@ -1,2 +1,2 @@
// @dart=2.9
export "view/app.dart";

View File

@@ -1,4 +1,3 @@
// @dart=2.9
import 'dart:async';
import 'dart:io';
@@ -9,23 +8,38 @@ import 'package:ente_auth/ente_theme_data.dart';
import 'package:ente_auth/events/signed_in_event.dart';
import 'package:ente_auth/events/signed_out_event.dart';
import "package:ente_auth/l10n/l10n.dart";
import 'package:ente_auth/locale.dart';
import "package:ente_auth/onboarding/view/onboarding_page.dart";
import 'package:ente_auth/services/update_service.dart';
import 'package:ente_auth/services/user_service.dart';
import 'package:ente_auth/ui/home_page.dart';
import 'package:ente_auth/ui/settings/app_update_dialog.dart';
import 'package:flutter/foundation.dart';
import "package:flutter/material.dart";
import 'package:flutter_easyloading/flutter_easyloading.dart';
import "package:flutter_localizations/flutter_localizations.dart";
import 'package:flutter_localizations/flutter_localizations.dart';
class App extends StatefulWidget {
const App({Key key});
final Locale locale;
const App({Key? key, this.locale = const Locale("en")}) : super(key: key);
static void setLocale(BuildContext context, Locale newLocale) {
_AppState state = context.findAncestorStateOfType<_AppState>()!;
state.setLocale(newLocale);
}
@override
State<App> createState() => _AppState();
}
class _AppState extends State<App> {
StreamSubscription<SignedOutEvent> _signedOutEvent;
StreamSubscription<SignedInEvent> _signedInEvent;
late StreamSubscription<SignedOutEvent> _signedOutEvent;
late StreamSubscription<SignedInEvent> _signedInEvent;
Locale? locale;
setLocale(Locale newLocale) {
setState(() {
locale = newLocale;
});
}
@override
void initState() {
@@ -35,10 +49,27 @@ class _AppState extends State<App> {
}
});
_signedInEvent = Bus.instance.on<SignedInEvent>().listen((event) {
UserService.instance.getUserDetailsV2().ignore();
if (mounted) {
setState(() {});
}
});
locale = widget.locale;
UpdateService.instance.shouldUpdate().then((shouldUpdate) {
if (shouldUpdate) {
Future.delayed(Duration.zero, () {
showDialog(
context: context,
builder: (BuildContext context) {
return AppUpdateDialog(
UpdateService.instance.getLatestVersionInfo(),
);
},
barrierColor: Colors.black.withOpacity(0.85),
);
});
}
});
super.initState();
}
@@ -62,8 +93,9 @@ class _AppState extends State<App> {
theme: lightTheme,
darkTheme: dartTheme,
debugShowCheckedModeBanner: false,
builder: EasyLoading.init(),
supportedLocales: AppLocalizations.supportedLocales,
locale: locale,
supportedLocales: appSupportedLocales,
localeListResolutionCallback: localResolutionCallBack,
localizationsDelegates: const [
AppLocalizations.delegate,
GlobalMaterialLocalizations.delegate,
@@ -80,8 +112,9 @@ class _AppState extends State<App> {
theme: lightThemeData,
darkTheme: darkThemeData,
debugShowCheckedModeBanner: false,
builder: EasyLoading.init(),
supportedLocales: AppLocalizations.supportedLocales,
locale: locale,
supportedLocales: appSupportedLocales,
localeListResolutionCallback: localResolutionCallBack,
localizationsDelegates: const [
AppLocalizations.delegate,
GlobalMaterialLocalizations.delegate,
@@ -95,7 +128,8 @@ class _AppState extends State<App> {
Map<String, WidgetBuilder> get _getRoutes {
return {
"/": (context) => Configuration.instance.hasConfiguredAccount()
"/": (context) => Configuration.instance.hasConfiguredAccount() ||
Configuration.instance.hasOptedForOfflineMode()
? const HomePage()
: const OnboardingPage(),
};

View File

@@ -38,9 +38,7 @@ final darkTheme = ThemeData(
fontFamily: "Inter",
brightness: Brightness.dark,
scaffoldBackgroundColor: Colors.black,
backgroundColor: Colors.black,
appBarTheme: const AppBarTheme(color: Colors.orange),
colorScheme: const ColorScheme.dark(primary: Colors.white),
textTheme: _buildTextTheme(Colors.white),
outlinedButtonTheme: buildOutlinedButtonThemeData(
bgDisabled: Colors.grey.shade500,
@@ -59,25 +57,25 @@ final darkTheme = ThemeData(
borderSide: BorderSide.none,
borderRadius: BorderRadius.circular(6),
),
),
), colorScheme: const ColorScheme.dark(primary: Colors.white).copyWith(background: Colors.black),
);
TextTheme _buildTextTheme(Color textColor) {
return const TextTheme().copyWith(
headline4: TextStyle(
headlineMedium: TextStyle(
color: textColor,
fontSize: 32,
fontWeight: FontWeight.w700,
fontFamily: "Inter",
),
headline5: TextStyle(
headlineSmall: TextStyle(
color: textColor,
fontSize: 24,
fontWeight: FontWeight.w600,
fontFamily: "Inter",
),
// AG: Body
headline6: TextStyle(
titleLarge: TextStyle(
color: textColor,
fontSize: 18,
fontFamily: "Inter",
@@ -92,31 +90,31 @@ TextTheme _buildTextTheme(Color textColor) {
height: 28,
),
subtitle1: TextStyle(
titleMedium: TextStyle(
color: textColor,
fontFamily: "Inter",
fontSize: 16,
fontWeight: FontWeight.w500,
),
subtitle2: TextStyle(
titleSmall: TextStyle(
color: textColor,
fontFamily: "Inter",
fontSize: 14,
fontWeight: FontWeight.w500,
),
bodyText1: TextStyle(
bodyLarge: TextStyle(
fontFamily: "Inter",
color: textColor,
fontSize: 16,
fontWeight: FontWeight.w500,
),
bodyText2: TextStyle(
bodyMedium: TextStyle(
fontFamily: "Inter",
color: textColor,
fontSize: 14,
fontWeight: FontWeight.w500,
),
caption: TextStyle(
bodySmall: TextStyle(
color: textColor.withOpacity(0.6),
fontSize: 14,
fontWeight: FontWeight.w500,

View File

@@ -1,11 +1,10 @@
import 'dart:async';
import 'dart:convert';
import 'dart:io' as io;
import 'dart:typed_data';
import 'package:bip39/bip39.dart' as bip39;
import 'package:ente_auth/core/constants.dart';
// import 'package:ente_auth/core/error-reporting/super_logging.dart';
import 'package:ente_auth/core/errors.dart';
import 'package:ente_auth/core/event_bus.dart';
import 'package:ente_auth/events/signed_in_event.dart';
import 'package:ente_auth/events/signed_out_event.dart';
@@ -14,13 +13,12 @@ import 'package:ente_auth/models/key_gen_result.dart';
import 'package:ente_auth/models/private_key_attributes.dart';
import 'package:ente_auth/store/authenticator_db.dart';
import 'package:ente_auth/utils/crypto_util.dart';
// import 'package:ente_auth/utils/validator_util.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:flutter_sodium/flutter_sodium.dart';
import 'package:logging/logging.dart';
import 'package:path_provider/path_provider.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:uuid/uuid.dart';
import 'package:tuple/tuple.dart';
class Configuration {
Configuration._privateConstructor();
@@ -32,18 +30,23 @@ class Configuration {
);
static const emailKey = "email";
static const keyAttributesKey = "key_attributes";
static const keyKey = "key";
static const keyShouldHideFromRecents = "should_hide_from_recents";
static const keyShouldShowLockScreen = "should_show_lock_screen";
static const lastTempFolderClearTimeKey = "last_temp_folder_clear_time";
static const keyKey = "key";
static const secretKeyKey = "secret_key";
static const authSecretKeyKey = "auth_secret_key";
static const offlineAuthSecretKey = "offline_auth_secret_key";
static const tokenKey = "token";
static const encryptedTokenKey = "encrypted_token";
static const userIDKey = "user_id";
static const hasMigratedSecureStorageToFirstUnlockKey =
"has_migrated_secure_storage_to_first_unlock";
static const anonymousUserIDKey = "anonymous_user_id";
static const hasMigratedSecureStorageKey = "has_migrated_secure_storage";
static const hasOptedForOfflineModeKey = "has_opted_for_offline_mode";
final List<String> onlineSecureKeys = [
keyKey,
secretKeyKey,
authSecretKeyKey
];
final kTempFolderDeletionTimeBuffer = const Duration(days: 1).inMicroseconds;
@@ -51,26 +54,19 @@ class Configuration {
String? _cachedToken;
late String _documentsDirectory;
String? _key;
late SharedPreferences _preferences;
String? _key;
String? _secretKey;
String? _authSecretKey;
String? _offlineAuthKey;
late FlutterSecureStorage _secureStorage;
late String _tempDirectory;
late String _thumbnailCacheDirectory;
// 6th July 22: Remove this after 3 months. Hopefully, active users
// will migrate to newer version of the app, where shared media is stored
// on appSupport directory which OS won't clean up automatically
late String _sharedTempMediaDirectory;
late String _sharedDocumentsMediaDirectory;
String? _volatilePassword;
final _secureStorageOptionsIOS =
const IOSOptions(accessibility: KeychainAccessibility.first_unlock);
// const IOSOptions(accessibility: IOSAccessibility.first_unlock);
final _secureStorageOptionsIOS = const IOSOptions(
accessibility: KeychainAccessibility.first_unlock_this_device,
);
Future<void> init() async {
_preferences = await SharedPreferences.getInstance();
@@ -93,15 +89,27 @@ class Configuration {
_logger.warning(e);
}
tempDirectory.createSync(recursive: true);
final tempDirectoryPath = (await getTemporaryDirectory()).path;
_thumbnailCacheDirectory = tempDirectoryPath + "/thumbnail-cache";
io.Directory(_thumbnailCacheDirectory).createSync(recursive: true);
_sharedTempMediaDirectory = tempDirectoryPath + "/ente-shared-media";
io.Directory(_sharedTempMediaDirectory).createSync(recursive: true);
_sharedDocumentsMediaDirectory = _documentsDirectory + "/ente-shared-media";
io.Directory(_sharedDocumentsMediaDirectory).createSync(recursive: true);
await _initOnlineAccount();
await _initOfflineAccount();
}
Future<void> _initOfflineAccount() async {
_offlineAuthKey = await _secureStorage.read(
key: offlineAuthSecretKey,
iOptions: _secureStorageOptionsIOS,
);
}
Future<void> _initOnlineAccount() async {
if (!_preferences.containsKey(tokenKey)) {
await _secureStorage.deleteAll(iOptions: _secureStorageOptionsIOS);
for (final key in onlineSecureKeys) {
unawaited(
_secureStorage.delete(
key: key,
iOptions: _secureStorageOptionsIOS,
),
);
}
} else {
_key = await _secureStorage.read(
key: keyKey,
@@ -118,18 +126,22 @@ class Configuration {
if (_key == null) {
await logout(autoLogout: true);
}
await _migrateSecurityStorageToFirstUnlock();
}
// SuperLogging.setUserID(await _getOrCreateAnonymousUserID());
}
Future<void> logout({bool autoLogout = false}) async {
await _preferences.clear();
await _secureStorage.deleteAll(iOptions: _secureStorageOptionsIOS);
for (String key in onlineSecureKeys) {
await _secureStorage.delete(
key: key,
iOptions: _secureStorageOptionsIOS,
);
}
await AuthenticatorDB.instance.clearTable();
_key = null;
_cachedToken = null;
_secretKey = null;
_authSecretKey = null;
Bus.instance.fire(SignedOutEvent());
}
@@ -151,6 +163,7 @@ class Configuration {
utf8.encode(password) as Uint8List,
kekSalt,
);
final loginKey = await CryptoUtil.deriveLoginKey(derivedKeyResult.key);
// Encrypt the key with this derived key
final encryptedKeyData =
@@ -180,10 +193,12 @@ class Configuration {
Sodium.bin2hex(recoveryKey),
Sodium.bin2base64(keyPair.sk),
);
return KeyGenResult(attributes, privateAttributes);
return KeyGenResult(attributes, privateAttributes, loginKey);
}
Future<KeyAttributes> updatePassword(String password) async {
Future<Tuple2<KeyAttributes, Uint8List>> getAttributesForNewPassword(
String password,
) async {
// Get master key
final masterKey = getKey();
@@ -194,6 +209,7 @@ class Configuration {
utf8.encode(password) as Uint8List,
kekSalt,
);
final loginKey = await CryptoUtil.deriveLoginKey(derivedKeyResult.key);
// Encrypt the key with this derived key
final encryptedKeyData =
@@ -201,42 +217,39 @@ class Configuration {
final existingAttributes = getKeyAttributes();
return existingAttributes!.copyWith(
final updatedAttributes = existingAttributes!.copyWith(
kekSalt: Sodium.bin2base64(kekSalt),
encryptedKey: Sodium.bin2base64(encryptedKeyData.encryptedData!),
keyDecryptionNonce: Sodium.bin2base64(encryptedKeyData.nonce!),
memLimit: derivedKeyResult.memLimit,
opsLimit: derivedKeyResult.opsLimit,
);
return Tuple2(updatedAttributes, loginKey);
}
Future<void> decryptAndSaveSecrets(
// decryptSecretsAndGetLoginKey decrypts the master key and recovery key
// with the given password and save them in local secure storage.
// This method also returns the keyEncKey that can be used for performing
// SRP setup for existing users.
Future<Uint8List> decryptSecretsAndGetKeyEncKey(
String password,
KeyAttributes attributes,
) async {
KeyAttributes attributes, {
Uint8List? keyEncryptionKey,
}) async {
_logger.info('Start decryptAndSaveSecrets');
// validatePreVerificationStateCheck(
// attributes,
// password,
// getEncryptedToken(),
// );
_logger.info('state validation done');
final kek = await CryptoUtil.deriveKey(
keyEncryptionKey ??= await CryptoUtil.deriveKey(
utf8.encode(password) as Uint8List,
Sodium.base642bin(attributes.kekSalt),
attributes.memLimit,
attributes.opsLimit,
).onError((e, s) {
_logger.severe('deriveKey failed', e, s);
throw KeyDerivationError();
});
);
_logger.info('user-key done');
Uint8List key;
try {
key = CryptoUtil.decryptSync(
Sodium.base642bin(attributes.encryptedKey),
kek,
keyEncryptionKey,
Sodium.base642bin(attributes.keyDecryptionNonce),
);
} catch (e) {
@@ -261,6 +274,7 @@ class Configuration {
await setToken(
Sodium.bin2base64(token, variant: Sodium.base64VariantUrlsafe),
);
return keyEncryptionKey;
}
Future<void> recover(String recoveryKey) async {
@@ -311,6 +325,10 @@ class Configuration {
return _cachedToken;
}
bool isLoggedIn() {
return getToken() != null;
}
Future<void> setToken(String token) async {
_cachedToken = token;
await _preferences.setString(tokenKey, token);
@@ -354,52 +372,31 @@ class Configuration {
}
}
Future<void> setKey(String? key) async {
Future<void> setKey(String key) async {
_key = key;
if (key == null) {
await _secureStorage.delete(
key: keyKey,
iOptions: _secureStorageOptionsIOS,
);
} else {
await _secureStorage.write(
key: keyKey,
value: key,
iOptions: _secureStorageOptionsIOS,
);
}
await _secureStorage.write(
key: keyKey,
value: key,
iOptions: _secureStorageOptionsIOS,
);
}
Future<void> setSecretKey(String? secretKey) async {
_secretKey = secretKey;
if (secretKey == null) {
await _secureStorage.delete(
key: secretKeyKey,
iOptions: _secureStorageOptionsIOS,
);
} else {
await _secureStorage.write(
key: secretKeyKey,
value: secretKey,
iOptions: _secureStorageOptionsIOS,
);
}
await _secureStorage.write(
key: secretKeyKey,
value: secretKey,
iOptions: _secureStorageOptionsIOS,
);
}
Future<void> setAuthSecretKey(String? authSecretKey) async {
_authSecretKey = authSecretKey;
if (authSecretKey == null) {
await _secureStorage.delete(
key: authSecretKeyKey,
iOptions: _secureStorageOptionsIOS,
);
} else {
await _secureStorage.write(
key: authSecretKeyKey,
value: authSecretKey,
iOptions: _secureStorageOptionsIOS,
);
}
await _secureStorage.write(
key: authSecretKeyKey,
value: authSecretKey,
iOptions: _secureStorageOptionsIOS,
);
}
Uint8List? getKey() {
@@ -414,11 +411,15 @@ class Configuration {
return _authSecretKey == null ? null : Sodium.base642bin(_authSecretKey!);
}
Uint8List? getOfflineSecretKey() {
return _offlineAuthKey == null ? null : Sodium.base642bin(_offlineAuthKey!);
}
Uint8List getRecoveryKey() {
final keyAttributes = getKeyAttributes()!;
return CryptoUtil.decryptSync(
Sodium.base642bin(keyAttributes.recoveryKeyEncryptedWithMasterKey),
getKey(),
getKey()!,
Sodium.base642bin(keyAttributes.recoveryKeyDecryptionNonce),
);
}
@@ -428,22 +429,34 @@ class Configuration {
return _tempDirectory;
}
String getThumbnailCacheDirectory() {
return _thumbnailCacheDirectory;
}
String getOldSharedMediaCacheDirectory() {
return _sharedTempMediaDirectory;
}
String getSharedMediaDirectory() {
return _sharedDocumentsMediaDirectory;
}
bool hasConfiguredAccount() {
return getToken() != null && _key != null;
}
bool hasOptedForOfflineMode() {
return _preferences.getBool(hasOptedForOfflineModeKey) ?? false;
}
Future<void> optForOfflineMode() async {
if ((await _secureStorage.containsKey(
key: offlineAuthSecretKey,
iOptions: _secureStorageOptionsIOS,
))) {
_offlineAuthKey = await _secureStorage.read(
key: offlineAuthSecretKey,
iOptions: _secureStorageOptionsIOS,
);
} else {
_offlineAuthKey = Sodium.bin2base64(CryptoUtil.generateKey());
await _secureStorage.write(
key: offlineAuthSecretKey,
value: _offlineAuthKey,
iOptions: _secureStorageOptionsIOS,
);
}
await _preferences.setBool(hasOptedForOfflineModeKey, true);
}
bool shouldShowLockScreen() {
if (_preferences.containsKey(keyShouldShowLockScreen)) {
return _preferences.getBool(keyShouldShowLockScreen)!;
@@ -456,50 +469,11 @@ class Configuration {
return _preferences.setBool(keyShouldShowLockScreen, value);
}
bool shouldHideFromRecents() {
return _preferences.getBool(keyShouldHideFromRecents) ?? false;
}
Future<void> setShouldHideFromRecents(bool value) {
return _preferences.setBool(keyShouldHideFromRecents, value);
}
void setVolatilePassword(String volatilePassword) {
void setVolatilePassword(String? volatilePassword) {
_volatilePassword = volatilePassword;
}
String? getVolatilePassword() {
return _volatilePassword;
}
Future<void> _migrateSecurityStorageToFirstUnlock() async {
final hasMigratedSecureStorageToFirstUnlock =
_preferences.getBool(hasMigratedSecureStorageToFirstUnlockKey) ?? false;
if (!hasMigratedSecureStorageToFirstUnlock &&
_key != null &&
_secretKey != null) {
await _secureStorage.write(
key: keyKey,
value: _key,
iOptions: _secureStorageOptionsIOS,
);
await _secureStorage.write(
key: secretKeyKey,
value: _secretKey,
iOptions: _secureStorageOptionsIOS,
);
await _preferences.setBool(
hasMigratedSecureStorageToFirstUnlockKey,
true,
);
}
}
Future<String> _getOrCreateAnonymousUserID() async {
if (!_preferences.containsKey(anonymousUserIDKey)) {
//ignore: prefer_const_constructors
await _preferences.setString(anonymousUserIDKey, Uuid().v4());
}
return _preferences.getString(anonymousUserIDKey)!;
}
}

View File

@@ -4,11 +4,10 @@ const int thumbnailLargeSize = 512;
const int compressedThumbnailResolution = 1080;
const int thumbnailDataLimit = 100 * 1024;
const String sentryDSN =
"https://2235e5c99219488ea93da34b9ac1cb68@sentry.ente.io/4";
const String sentryDebugDSN =
"https://ca5e686dd7f149d9bf94e620564cceba@sentry.ente.io/3";
"https://ed4ddd6309b847ba8849935e26e9b648@sentry.ente.io/9";
const String sentryTunnel = "https://sentry-reporter.ente.io";
const String roadmapURL = "https://roadmap.ente.io";
const String githubIssuesUrl = "https://github.com/ente-io/auth/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc";
const int microSecondsInDay = 86400000000;
const int android11SDKINT = 30;
const int galleryLoadStartTime = -8000000000000000; // Wednesday, March 6, 1748

View File

@@ -41,4 +41,6 @@ class InvalidStateError extends AssertionError {
class KeyDerivationError extends Error {}
class SrpSetupNotCompleteError extends Error {}
class AuthenticatorKeyNotFound extends Error {}

View File

@@ -1,5 +1,3 @@
// @dart=2.9
library super_logging;
import 'dart:async';
@@ -7,15 +5,19 @@ import 'dart:collection';
import 'dart:core';
import 'dart:io';
import 'package:ente_auth/core/logging/tunneled_transport.dart';
import 'package:ente_auth/models/typedefs.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/widgets.dart';
import 'package:http/http.dart' as http;
import 'package:intl/intl.dart';
import 'package:logging/logging.dart';
import 'package:package_info_plus/package_info_plus.dart';
import 'package:path/path.dart';
import 'package:path_provider/path_provider.dart';
typedef FutureOrVoidCallback = FutureOr<void> Function();
import 'package:sentry_flutter/sentry_flutter.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:uuid/uuid.dart';
extension SuperString on String {
Iterable<String> chunked(int chunkSize) sync* {
@@ -35,7 +37,7 @@ extension SuperString on String {
}
extension SuperLogRecord on LogRecord {
String toPrettyString([String extraLines]) {
String toPrettyString([String? extraLines]) {
final header = "[$loggerName] [$level] [$time]";
var msg = "$header $message";
@@ -73,9 +75,9 @@ class LogConfig {
/// ```
///
/// If this is [null], Sentry logger is completely disabled (default).
String sentryDsn;
String? sentryDsn;
String tunnel;
String? tunnel;
/// A built-in retry mechanism for sending errors to sentry.
///
@@ -92,7 +94,7 @@ class LogConfig {
/// A non-empty string will be treated as an explicit path to a directory.
///
/// The chosen directory can be accessed using [SuperLogging.logFile.parent].
String logDirPath;
String? logDirPath;
/// The maximum number of log files inside [logDirPath].
///
@@ -110,12 +112,12 @@ class LogConfig {
/// any uncaught errors during its execution will be reported.
///
/// Works by using [FlutterError.onError] and [runZoned].
FutureOrVoidCallback body;
FutureOrVoidCallback? body;
/// The date format for storing log files.
///
/// `DateFormat('y-M-d')` by default.
DateFormat dateFmt;
DateFormat? dateFmt;
String prefix;
@@ -139,24 +141,27 @@ class SuperLogging {
static final $ = Logger('ente_logging');
/// The current super logging configuration
static LogConfig config;
static late LogConfig config;
static Future<void> main([LogConfig config]) async {
config ??= LogConfig();
SuperLogging.config = config;
static late SharedPreferences _preferences;
static const keyShouldReportErrors = "should_report_errors";
static const keyAnonymousUserID = "anonymous_user_id";
static Future<void> main([LogConfig? appConfig]) async {
appConfig ??= LogConfig();
SuperLogging.config = appConfig;
WidgetsFlutterBinding.ensureInitialized();
_preferences = await SharedPreferences.getInstance();
appVersion ??= await getAppVersion();
final isFDroidClient = await isFDroidBuild();
if (isFDroidClient) {
config.sentryDsn = null;
config.tunnel = null;
}
final enable = config.enableInDebugMode || kReleaseMode;
sentryIsEnabled = enable && config.sentryDsn != null && !isFDroidClient;
fileIsEnabled = enable && config.logDirPath != null;
final enable = appConfig.enableInDebugMode || kReleaseMode;
sentryIsEnabled =
enable && appConfig.sentryDsn != null && shouldReportErrors();
fileIsEnabled = enable && appConfig.logDirPath != null;
if (fileIsEnabled) {
await setupLogDir();
@@ -168,74 +173,69 @@ class SuperLogging {
Logger.root.level = Level.ALL;
Logger.root.onRecord.listen(onLogRecord);
if (isFDroidClient) {
assert(
sentryIsEnabled == false,
"sentry dsn should be disabled for "
"f-droid config ${config.sentryDsn} & ${config.tunnel}",
);
}
if (!enable) {
$.info("detected debug mode; sentry & file logging disabled.");
}
if (fileIsEnabled) {
$.info("log file for today: $logFile with prefix ${config.prefix}");
$.info("log file for today: $logFile with prefix ${appConfig.prefix}");
}
if (sentryIsEnabled) {
$.info("sentry uploader started");
}
if (config.body == null) return;
if (appConfig.body == null) return;
if (enable && sentryIsEnabled) {
// await SentryFlutter.init(
// (options) {
// options.dsn = config.sentryDsn;
// options.httpClient = http.Client();
// if (config.tunnel != null) {
// options.transport =
// TunneledTransport(Uri.parse(config.tunnel), options);
// }
// },
// appRunner: () => config.body(),
// );
await SentryFlutter.init(
(options) {
options.dsn = appConfig!.sentryDsn;
options.httpClient = http.Client();
if (appConfig.tunnel != null) {
options.transport =
TunneledTransport(Uri.parse(appConfig.tunnel!), options);
}
},
appRunner: () => appConfig!.body!(),
);
} else {
await config.body();
await appConfig.body!();
}
}
static void setUserID(String userID) async {
if (config?.sentryDsn != null) {
// Sentry.configureScope((scope) => scope.user = SentryUser(id: userID));
if (config.sentryDsn != null) {
Sentry.configureScope((scope) => scope.setUser(SentryUser(id: userID)));
$.info("setting sentry user ID to: $userID");
}
}
static Future<void> _sendErrorToSentry(Object error, StackTrace stack) async {
// try {
// await Sentry.captureException(
// error,
// stackTrace: stack,
// );
// } catch (e) {
// $.info('Sending report to sentry.io failed: $e');
// $.info('Original error: $error');
// }
static Future<void> _sendErrorToSentry(
Object error,
StackTrace? stack,
) async {
try {
await Sentry.captureException(
error,
stackTrace: stack,
);
} catch (e) {
$.info('Sending report to sentry.io failed: $e');
$.info('Original error: $error');
}
}
static String _lastExtraLines = '';
static Future onLogRecord(LogRecord rec) async {
// log misc info if it changed
String extraLines = "app version: '$appVersion'\n";
String? extraLines = "app version: '$appVersion'\n";
if (extraLines != _lastExtraLines) {
_lastExtraLines = extraLines;
} else {
extraLines = null;
}
final str = config.prefix + " " + rec.toPrettyString(extraLines);
final str = (config.prefix) + " " + rec.toPrettyString(extraLines);
// write to stdout
printLog(str);
@@ -250,7 +250,7 @@ class SuperLogging {
// add error to sentry queue
if (sentryIsEnabled && rec.error != null) {
_sendErrorToSentry(rec.error, null);
_sendErrorToSentry(rec.error!, null);
}
}
@@ -258,12 +258,12 @@ class SuperLogging {
static bool isFlushing = false;
static void flushQueue() async {
if (isFlushing) {
if (isFlushing || logFile == null) {
return;
}
isFlushing = true;
final entry = fileQueueEntries.removeFirst();
await logFile.writeAsString(entry, mode: FileMode.append, flush: true);
await logFile!.writeAsString(entry, mode: FileMode.append, flush: true);
isFlushing = false;
if (fileQueueEntries.isNotEmpty) {
flushQueue();
@@ -282,20 +282,22 @@ class SuperLogging {
static final sentryQueueControl = StreamController<Error>();
/// Whether sentry logging is currently enabled or not.
static bool sentryIsEnabled;
static bool sentryIsEnabled = false;
static Future<void> setupSentry() async {
$.info("Setting up sentry");
SuperLogging.setUserID(await _getOrCreateAnonymousUserID());
await for (final error in sentryQueueControl.stream.asBroadcastStream()) {
// try {
// Sentry.captureException(
// error,
// );
// } catch (e) {
// $.fine(
// "sentry upload failed; will retry after ${config.sentryRetryDelay}",
// );
// doSentryRetry(error);
// }
try {
Sentry.captureException(
error,
);
} catch (e) {
$.fine(
"sentry upload failed; will retry after ${config.sentryRetryDelay}",
);
doSentryRetry(error);
}
}
}
@@ -304,19 +306,39 @@ class SuperLogging {
sentryQueueControl.add(error);
}
static bool shouldReportErrors() {
if (_preferences.containsKey(keyShouldReportErrors)) {
return _preferences.getBool(keyShouldReportErrors)!;
} else {
return kDebugMode;
}
}
static Future<void> setShouldReportErrors(bool value) {
return _preferences.setBool(keyShouldReportErrors, value);
}
static Future<String> _getOrCreateAnonymousUserID() async {
if (!_preferences.containsKey(keyAnonymousUserID)) {
//ignore: prefer_const_constructors
await _preferences.setString(keyAnonymousUserID, Uuid().v4());
}
return _preferences.getString(keyAnonymousUserID)!;
}
/// The log file currently in use.
static File logFile;
static File? logFile;
/// Whether file logging is currently enabled or not.
static bool fileIsEnabled;
static bool fileIsEnabled = false;
static Future<void> setupLogDir() async {
var dirPath = config.logDirPath;
// choose [logDir]
if (dirPath.isEmpty) {
if (dirPath == null || dirPath.isEmpty) {
final root = await getExternalStorageDirectory();
dirPath = '${root.path}/logs';
dirPath = '${root!.path}/logs';
}
// create [logDir]
@@ -329,16 +351,19 @@ class SuperLogging {
// collect all log files with valid names
await for (final file in dir.list()) {
try {
final date = config.dateFmt.parse(basename(file.path));
final date = config.dateFmt!.parse(basename(file.path));
dates[file as File] = date;
files.add(file);
} on FormatException {}
}
final nowTime = DateTime.now();
// delete old log files, if [maxLogFiles] is exceeded.
if (files.length > config.maxLogFiles) {
// sort files based on ascending order of date (older first)
files.sort((a, b) => dates[a].compareTo(dates[b]));
files.sort(
(a, b) => (dates[a] ?? nowTime).compareTo((dates[b] ?? nowTime)),
);
final extra = files.length - config.maxLogFiles;
final toDelete = files.sublist(0, extra);
@@ -353,13 +378,13 @@ class SuperLogging {
}
}
logFile = File("$dirPath/${config.dateFmt.format(DateTime.now())}.txt");
logFile = File("$dirPath/${config.dateFmt!.format(DateTime.now())}.txt");
}
/// Current app version, obtained from package_info plugin.
///
/// See: [getAppVersion]
static String appVersion;
static String? appVersion;
static Future<String> getAppVersion() async {
final pkgInfo = await PackageInfo.fromPlatform();
@@ -372,6 +397,6 @@ class SuperLogging {
return false;
}
final pkgName = (await PackageInfo.fromPlatform()).packageName;
return pkgName.startsWith("io.ente.photos.fdroid");
return pkgName.endsWith("fdroid");
}
}

View File

@@ -0,0 +1,139 @@
import 'dart:convert';
import 'package:http/http.dart';
import 'package:sentry/sentry.dart';
/// A transport is in charge of sending the event to the Sentry server.
class TunneledTransport implements Transport {
final Uri _tunnel;
final SentryOptions _options;
final Dsn? _dsn;
_CredentialBuilder? _credentialBuilder;
final Map<String, String> _headers;
factory TunneledTransport(Uri tunnel, SentryOptions options) {
return TunneledTransport._(tunnel, options);
}
TunneledTransport._(this._tunnel, this._options)
: _dsn = _options.dsn != null ? Dsn.parse(_options.dsn!) : null,
_headers = _buildHeaders(
_options.platformChecker.isWeb,
_options.sentryClientName,
) {
_credentialBuilder = _CredentialBuilder(
_dsn,
_options.sentryClientName,
_options.clock,
);
}
@override
Future<SentryId?> send(SentryEnvelope envelope) async {
final streamedRequest = await _createStreamedRequest(envelope);
final response = await _options.httpClient
.send(streamedRequest)
.then(Response.fromStream);
if (response.statusCode != 200) {
// body guard to not log the error as it has performance impact to allocate
// the body String.
if (_options.debug) {
_options.logger(
SentryLevel.error,
'API returned an error, statusCode = ${response.statusCode}, '
'body = ${response.body}',
);
}
return const SentryId.empty();
} else {
_options.logger(
SentryLevel.debug,
'Envelope ${envelope.header.eventId ?? "--"} was sent successfully.',
);
}
final eventId = json.decode(response.body)['id'];
if (eventId == null) {
return null;
}
return SentryId.fromId(eventId);
}
Future<StreamedRequest> _createStreamedRequest(
SentryEnvelope envelope,
) async {
final streamedRequest = StreamedRequest('POST', _tunnel);
envelope
.envelopeStream(_options)
.listen(streamedRequest.sink.add)
.onDone(streamedRequest.sink.close);
streamedRequest.headers.addAll(_credentialBuilder!.configure(_headers));
return streamedRequest;
}
}
class _CredentialBuilder {
final String _authHeader;
final ClockProvider _clock;
int get timestamp => _clock().millisecondsSinceEpoch;
_CredentialBuilder._(String authHeader, ClockProvider clock)
: _authHeader = authHeader,
_clock = clock;
factory _CredentialBuilder(
Dsn? dsn,
String sdkIdentifier,
ClockProvider clock,
) {
final authHeader = _buildAuthHeader(
publicKey: dsn?.publicKey,
secretKey: dsn?.secretKey,
sdkIdentifier: sdkIdentifier,
);
return _CredentialBuilder._(authHeader, clock);
}
static String _buildAuthHeader({
String? publicKey,
String? secretKey,
String? sdkIdentifier,
}) {
var header = 'Sentry sentry_version=7, sentry_client=$sdkIdentifier, '
'sentry_key=$publicKey';
if (secretKey != null) {
header += ', sentry_secret=$secretKey';
}
return header;
}
Map<String, String> configure(Map<String, String> headers) {
return headers
..addAll(
<String, String>{
'X-Sentry-Auth': '$_authHeader, sentry_timestamp=$timestamp'
},
);
}
}
Map<String, String> _buildHeaders(bool isWeb, String sdkIdentifier) {
final headers = {'Content-Type': 'application/x-sentry-envelope'};
// NOTE(lejard_h) overriding user agent on VM and Flutter not sure why
// for web it use browser user agent
if (!isWeb) {
headers['User-Agent'] = sdkIdentifier;
}
return headers;
}

View File

@@ -1,18 +1,29 @@
import 'dart:io';
import 'package:dio/dio.dart';
import 'package:ente_auth/core/configuration.dart';
import 'package:ente_auth/core/constants.dart';
import 'package:fk_user_agent/fk_user_agent.dart';
import 'package:flutter/foundation.dart';
import 'package:package_info_plus/package_info_plus.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:uuid/uuid.dart';
int kConnectTimeout = 15000;
class Network {
// apiEndpoint points to the Ente server's API endpoint
static const apiEndpoint = String.fromEnvironment(
"endpoint",
defaultValue: kDefaultProductionEndpoint,
);
late Dio _dio;
late Dio _enteDio;
Future<void> init() async {
await FkUserAgent.init();
final packageInfo = await PackageInfo.fromPlatform();
final preferences = await SharedPreferences.getInstance();
_dio = Dio(
BaseOptions(
connectTimeout: kConnectTimeout,
@@ -24,6 +35,18 @@ class Network {
),
);
_dio.interceptors.add(RequestIdInterceptor());
_enteDio = Dio(
BaseOptions(
baseUrl: apiEndpoint,
connectTimeout: kConnectTimeout,
headers: {
HttpHeaders.userAgentHeader: FkUserAgent.userAgent,
'X-Client-Version': packageInfo.version,
'X-Client-Package': packageInfo.packageName,
},
),
);
_enteDio.interceptors.add(EnteRequestInterceptor(preferences, apiEndpoint));
}
Network._privateConstructor();
@@ -31,6 +54,7 @@ class Network {
static Network instance = Network._privateConstructor();
Dio getDio() => _dio;
Dio get enteDio => _enteDio;
}
class RequestIdInterceptor extends Interceptor {
@@ -41,3 +65,27 @@ class RequestIdInterceptor extends Interceptor {
return super.onRequest(options, handler);
}
}
class EnteRequestInterceptor extends Interceptor {
final SharedPreferences _preferences;
final String enteEndpoint;
EnteRequestInterceptor(this._preferences, this.enteEndpoint);
@override
void onRequest(RequestOptions options, RequestInterceptorHandler handler) {
if (kDebugMode) {
assert(
options.baseUrl == enteEndpoint,
"interceptor should only be used for API endpoint",
);
}
// ignore: prefer_const_constructors
options.headers.putIfAbsent("x-request-id", () => Uuid().v4().toString());
final String? tokenValue = _preferences.getString(Configuration.tokenKey);
if (tokenValue != null) {
options.headers.putIfAbsent("X-Auth-Token", () => tokenValue);
}
return super.onRequest(options, handler);
}
}

View File

@@ -11,11 +11,6 @@ final lightThemeData = ThemeData(
iconTheme: const IconThemeData(color: Colors.black),
primaryIconTheme:
const IconThemeData(color: Colors.red, opacity: 1.0, size: 50.0),
colorScheme: const ColorScheme.light(
primary: Colors.black,
secondary: Color.fromARGB(255, 163, 163, 163),
),
accentColor: const Color.fromRGBO(0, 0, 0, 0.6),
outlinedButtonTheme: buildOutlinedButtonThemeData(
bgDisabled: const Color.fromRGBO(158, 158, 158, 1),
bgEnabled: const Color.fromRGBO(0, 0, 0, 1),
@@ -26,9 +21,7 @@ final lightThemeData = ThemeData(
onPrimary: const Color.fromRGBO(255, 255, 255, 1),
primary: const Color.fromRGBO(0, 0, 0, 1),
),
toggleableActiveColor: const Color.fromRGBO(102, 187, 106, 1),
scaffoldBackgroundColor: const Color.fromRGBO(255, 255, 255, 1),
backgroundColor: const Color.fromRGBO(255, 255, 255, 1),
appBarTheme: const AppBarTheme().copyWith(
backgroundColor: Colors.white,
foregroundColor: Colors.black,
@@ -38,8 +31,8 @@ final lightThemeData = ThemeData(
//https://api.flutter.dev/flutter/material/TextTheme-class.html
textTheme: _buildTextTheme(const Color.fromRGBO(0, 0, 0, 1)),
primaryTextTheme: const TextTheme().copyWith(
bodyText2: const TextStyle(color: Colors.yellow),
bodyText1: const TextStyle(color: Colors.orange),
bodyMedium: const TextStyle(color: Colors.yellow),
bodyLarge: const TextStyle(color: Colors.orange),
),
cardColor: const Color.fromRGBO(250, 250, 250, 1.0),
dialogTheme: const DialogTheme().copyWith(
@@ -79,7 +72,27 @@ final lightThemeData = ThemeData(
? const Color.fromRGBO(255, 255, 255, 1)
: const Color.fromRGBO(0, 0, 0, 1);
}),
),
), radioTheme: RadioThemeData(
fillColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {
if (states.contains(MaterialState.disabled)) { return null; }
if (states.contains(MaterialState.selected)) { return const Color.fromRGBO(102, 187, 106, 1); }
return null;
}),
), switchTheme: SwitchThemeData(
thumbColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {
if (states.contains(MaterialState.disabled)) { return null; }
if (states.contains(MaterialState.selected)) { return const Color.fromRGBO(102, 187, 106, 1); }
return null;
}),
trackColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {
if (states.contains(MaterialState.disabled)) { return null; }
if (states.contains(MaterialState.selected)) { return const Color.fromRGBO(102, 187, 106, 1); }
return null;
}),
), colorScheme: const ColorScheme.light(
primary: Colors.black,
secondary: Color.fromARGB(255, 163, 163, 163),
).copyWith(background: const Color.fromRGBO(255, 255, 255, 1)),
);
final darkThemeData = ThemeData(
@@ -90,13 +103,10 @@ final darkThemeData = ThemeData(
primaryIconTheme:
const IconThemeData(color: Colors.red, opacity: 1.0, size: 50.0),
hintColor: const Color.fromRGBO(158, 158, 158, 1),
colorScheme: const ColorScheme.dark(primary: Colors.white),
accentColor: const Color.fromRGBO(45, 194, 98, 0.2),
buttonTheme: const ButtonThemeData().copyWith(
buttonColor: const Color.fromRGBO(45, 194, 98, 1.0),
),
textTheme: _buildTextTheme(const Color.fromRGBO(255, 255, 255, 1)),
toggleableActiveColor: const Color.fromRGBO(102, 187, 106, 1),
outlinedButtonTheme: buildOutlinedButtonThemeData(
bgDisabled: const Color.fromRGBO(158, 158, 158, 1),
bgEnabled: const Color.fromRGBO(255, 255, 255, 1),
@@ -108,7 +118,6 @@ final darkThemeData = ThemeData(
primary: const Color.fromRGBO(255, 255, 255, 1),
),
scaffoldBackgroundColor: const Color.fromRGBO(0, 0, 0, 1),
backgroundColor: const Color.fromRGBO(0, 0, 0, 1),
appBarTheme: const AppBarTheme().copyWith(
color: Colors.black,
elevation: 0,
@@ -155,59 +164,76 @@ final darkThemeData = ThemeData(
return const Color.fromRGBO(158, 158, 158, 1);
}
}),
),
), radioTheme: RadioThemeData(
fillColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {
if (states.contains(MaterialState.disabled)) { return null; }
if (states.contains(MaterialState.selected)) { return const Color.fromRGBO(102, 187, 106, 1); }
return null;
}),
), switchTheme: SwitchThemeData(
thumbColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {
if (states.contains(MaterialState.disabled)) { return null; }
if (states.contains(MaterialState.selected)) { return const Color.fromRGBO(102, 187, 106, 1); }
return null;
}),
trackColor: MaterialStateProperty.resolveWith<Color?>((Set<MaterialState> states) {
if (states.contains(MaterialState.disabled)) { return null; }
if (states.contains(MaterialState.selected)) { return const Color.fromRGBO(102, 187, 106, 1); }
return null;
}),
), colorScheme: const ColorScheme.dark(primary: Colors.white).copyWith(background: const Color.fromRGBO(0, 0, 0, 1)),
);
TextTheme _buildTextTheme(Color textColor) {
return const TextTheme().copyWith(
headline4: TextStyle(
headlineMedium: TextStyle(
color: textColor,
fontSize: 32,
fontWeight: FontWeight.w600,
fontFamily: 'Inter',
),
headline5: TextStyle(
headlineSmall: TextStyle(
color: textColor,
fontSize: 24,
fontWeight: FontWeight.w600,
fontFamily: 'Inter',
),
headline6: TextStyle(
titleLarge: TextStyle(
color: textColor,
fontSize: 18,
fontFamily: 'Inter',
fontWeight: FontWeight.w600,
),
subtitle1: TextStyle(
titleMedium: TextStyle(
color: textColor,
fontFamily: 'Inter',
fontSize: 16,
fontWeight: FontWeight.w500,
),
subtitle2: TextStyle(
titleSmall: TextStyle(
color: textColor,
fontFamily: 'Inter',
fontSize: 14,
fontWeight: FontWeight.w500,
),
bodyText1: TextStyle(
bodyLarge: TextStyle(
fontFamily: 'Inter',
color: textColor,
fontSize: 16,
fontWeight: FontWeight.w500,
),
bodyText2: TextStyle(
bodyMedium: TextStyle(
fontFamily: 'Inter',
color: textColor,
fontSize: 14,
fontWeight: FontWeight.w500,
),
caption: TextStyle(
bodySmall: TextStyle(
color: textColor.withOpacity(0.4),
fontSize: 10,
fontWeight: FontWeight.w500,
),
overline: TextStyle(
labelSmall: TextStyle(
fontFamily: 'Inter',
color: textColor,
fontSize: 14,
@@ -224,6 +250,14 @@ extension CustomColorScheme on ColorScheme {
Color get inverseBackgroundColor =>
brightness != Brightness.light ? backgroundBaseLight : backgroundBaseDark;
Color get fabForegroundColor => brightness == Brightness.light
? const Color.fromRGBO(255, 255, 255, 1)
: const Color.fromRGBO(40, 40, 40, 1);
Color get fabBackgroundColor => brightness != Brightness.light
? const Color.fromRGBO(255, 255, 255, 1)
: const Color.fromRGBO(40, 40, 40, 1);
Color get defaultTextColor =>
brightness == Brightness.light ? textBaseLight : textBaseDark;
@@ -336,7 +370,7 @@ extension CustomColorScheme on ColorScheme {
? const Color.fromRGBO(245, 245, 245, 1.0)
: const Color.fromRGBO(30, 30, 30, 1.0);
Color get searchResultsCountTextColor => brightness == Brightness.light
Color get mutedTextColor => brightness == Brightness.light
? const Color.fromRGBO(80, 80, 80, 1)
: const Color.fromRGBO(150, 150, 150, 1);
@@ -344,8 +378,15 @@ extension CustomColorScheme on ColorScheme {
? Colors.black.withOpacity(0.32)
: Colors.black.withOpacity(0.64);
Color get codeCardBackgroundColor => brightness == Brightness.light
? const Color.fromRGBO(246, 246, 246, 1)
: const Color.fromRGBO(40, 40, 40, 0.6);
EnteTheme get enteTheme =>
brightness == Brightness.light ? lightTheme : darkTheme;
EnteTheme get inverseEnteTheme =>
brightness == Brightness.light ? darkTheme : lightTheme;
}
OutlinedButtonThemeData buildOutlinedButtonThemeData({
@@ -395,9 +436,7 @@ ElevatedButtonThemeData buildElevatedButtonThemeData({
}) {
return ElevatedButtonThemeData(
style: ElevatedButton.styleFrom(
elevation: elevation,
onPrimary: onPrimary,
primary: primary,
foregroundColor: onPrimary, backgroundColor: primary, elevation: elevation,
alignment: Alignment.center,
textStyle: const TextStyle(
fontWeight: FontWeight.w600,

View File

@@ -0,0 +1,3 @@
import 'package:ente_auth/events/event.dart';
class IconsChangedEvent extends Event {}

View File

@@ -0,0 +1,3 @@
import 'package:ente_auth/events/event.dart';
class TriggerLogoutEvent extends Event {}

View File

@@ -103,24 +103,32 @@ class AuthenticatorGateway {
}
Future<List<AuthEntity>> getDiff(int sinceTime, {int limit = 500}) async {
final response = await _dio.get(
_basedEndpoint + "/entity/diff",
queryParameters: {
"sinceTime": sinceTime,
"limit": limit,
},
options: Options(
headers: {
"X-Auth-Token": _config.getToken(),
try {
final response = await _dio.get(
_basedEndpoint + "/entity/diff",
queryParameters: {
"sinceTime": sinceTime,
"limit": limit,
},
),
);
final List<AuthEntity> authEntities = <AuthEntity>[];
final diff = response.data["diff"] as List;
for (var entry in diff) {
final AuthEntity entity = AuthEntity.fromMap(entry);
authEntities.add(entity);
options: Options(
headers: {
"X-Auth-Token": _config.getToken(),
},
),
);
final List<AuthEntity> authEntities = <AuthEntity>[];
final diff = response.data["diff"] as List;
for (var entry in diff) {
final AuthEntity entity = AuthEntity.fromMap(entry);
authEntities.add(entity);
}
return authEntities;
} catch (e) {
if (e is DioError && e.response?.statusCode == 401) {
throw UnauthorizedError();
} else {
rethrow;
}
}
return authEntities;
}
}

271
lib/l10n/arb/app_de.arb Normal file
View File

@@ -0,0 +1,271 @@
{
"account": "Konto",
"recoveryKey": "Wiederherstellungsschlüssel",
"counterAppBarTitle": "Zähler",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "Sichern Sie Ihre 2FA-Codes",
"onBoardingGetStarted": "Los geht's",
"setupFirstAccount": "Ihr erstes Konto einrichten",
"importScanQrCode": "Scannen eines QR-Codes",
"importEnterSetupKey": "Einen Setup-Schlüssel eingeben",
"importAccountPageTitle": "Kontodaten eingeben",
"secretCanNotBeEmpty": "Geheimnis darf nicht leer sein",
"bothIssuerAndAccountCanNotBeEmpty": "Sowohl Aussteller als auch Konto können nicht leer sein",
"incorrectDetails": "Falsche Angaben",
"pleaseVerifyDetails": "Überprüfe die Angaben und versuche es erneut",
"codeIssuerHint": "Aussteller",
"codeSecretKeyHint": "Geheimer Schlüssel",
"codeAccountHint": "Konto (you@domain.com)",
"accountKeyType": "Art des Schlüssels",
"sessionExpired": "Sitzung abgelaufen",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "Bitte melden Sie sich wieder an",
"loggingOut": "Wird abgemeldet...",
"timeBasedKeyType": "Zeitbasiert (TOTP)",
"counterBasedKeyType": "Zählerbasiert (HOTP)",
"saveAction": "Speichern",
"nextTotpTitle": "Weiter",
"deleteCodeTitle": "Code löschen?",
"deleteCodeMessage": "Sind Sie sicher, dass Sie diesen Code löschen wollen? Diese Aktion ist unumkehrbar.",
"viewLogsAction": "Protokolle anzeigen",
"sendLogsDescription": "Dadurch werden Protokolle übermittelt, die uns bei der Behebung Ihres Problems helfen. Obwohl wir Vorkehrungen treffen, um sicherzustellen, dass keine sensiblen Informationen protokolliert werden, empfehlen wir Ihnen, diese Protokolle anzusehen, bevor Sie sie weitergeben.",
"preparingLogsTitle": "Vorbereiten der Protokolle...",
"emailLogsTitle": "Protokolle versenden",
"emailLogsMessage": "Bitte senden Sie die Protokolle an {email}",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "E-Mail kopieren",
"exportLogsAction": "Protokolle exportieren",
"reportABug": "Fehlermelden",
"crashAndErrorReporting": "Absturz- und Fehlerberichte",
"reportBug": "Fehlermelden",
"emailUsMessage": "Bitte senden Sie uns eine E-Mail an {email}",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "Support kontaktieren",
"verifyPassword": "Passwort überprüfen",
"pleaseWait": "Bitte warten...",
"generatingEncryptionKeysTitle": "Generierung von Verschlüsselungsschlüsseln...",
"recreatePassword": "Passwort wiederherstellen",
"recreatePasswordMessage": "Das aktuelle Gerät ist nicht leistungsfähig genug, um Ihr Passwort zu verifizieren, daher müssen wir es einmalig auf eine Weise neu generieren, die mit allen Geräten funktioniert. \n\nBitte melden Sie sich mit Ihrem Wiederherstellungsschlüssel an und generieren Sie Ihr Passwort neu (Sie können dasselbe erneut verwenden, wenn Sie möchten).",
"useRecoveryKey": "Wiederherstellungsschlüssel verwenden",
"incorrectPasswordTitle": "Falsches Passwort",
"welcomeBack": "Willkommen zurück!",
"madeWithLoveAtPrefix": "gemacht mit ❤️ bei ",
"supportDevs": "Bei <bold-green>ente</bold-green> registrieren um das Projekt zu unterstützen.",
"supportDiscount": "Benutze den Rabattcode \"AUTH\" für 10% Rabatt im ersten Jahr",
"changeEmail": "E-Mail ändern",
"changePassword": "Passwort ändern",
"data": "Datei",
"importCodes": "Codes importieren",
"exportCodes": "Codes exportieren",
"importInstruction": "Bitte wählen sie eine Datei die Codes in folgendem Format beinhaltet",
"importCodeDelimiterInfo": "Codes können in einer neuen Zeile stehen oder durch Kommata getrennt sein",
"selectFile": "Datei auswählen",
"authToViewYourRecoveryKey": "Bitte authentifizieren um ihren Wiederherstellungscode anzuzeigen",
"authToChangeYourEmail": "Bitte authentifizieren um ihre Emailadresse zu ändern",
"authToChangeYourPassword": "Bitte authentifizieren um ihr Passwort zu ändern",
"ok": "Ok",
"cancel": "Abbrechen",
"yes": "Ja",
"no": "Nein",
"email": "E-Mail",
"support": "Unterstützung",
"settings": "Einstellungen",
"copied": "Kopiert",
"pleaseTryAgain": "Bitte versuchen Sie es erneut",
"existingUser": "Bestehender Benutzer",
"newUser": "Neu bei ente",
"delete": "Löschen",
"enterYourPasswordHint": "Geben Sie Ihr Passwort ein",
"forgotPassword": "Passwort vergessen",
"oops": "Hopla",
"somethingWentWrongMessage": "Ein Fehler ist aufgetreten, bitte versuchen Sie es erneut",
"leaveFamily": "Familie verlassen",
"leaveFamilyMessage": "Sind Sie sicher, dass Sie den Familien-Plan verlassen wollen?",
"inFamilyPlanMessage": "Sie haben einen Familien-Plan!",
"swipeHint": "Wischen Sie nach links, um Codes zu bearbeiten oder zu entfernen",
"scan": "Scannen",
"scanACode": "Scannen eines Codes",
"verify": "Überprüfen Sie",
"verifyEmail": "E-Mail-Adresse verifizieren",
"enterCodeHint": "Geben Sie den 6-stelligen Code \naus Ihrer Authentifikator-App ein.",
"lostDeviceTitle": "Gerät verloren?",
"twoFactorAuthTitle": "Zwei-Faktor-Authentifizierung",
"recoverAccount": "Konto wiederherstellen",
"enterRecoveryKeyHint": "Geben Sie Ihren Wiederherstellungsschlüssel ein",
"recover": "Wiederherstellen",
"contactSupportViaEmailMessage": "Bitte senden Sie eine E-Mail an {email} von Ihrer registrierten E-Mail-Adresse",
"@contactSupportViaEmailMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"noRecoveryKeyTitle": "Kein Wiederherstellungsschlüssel?",
"enterEmailHint": "Geben Sie Ihre E-Mail Adresse ein",
"invalidEmailTitle": "Ungültige E-Mail Adresse",
"invalidEmailMessage": "Bitte geben Sie eine gültige E-Mail Adresse ein.",
"deleteAccount": "Konto löschen",
"deleteAccountQuery": "Es wird uns leid tun, Sie gehen zu sehen. Haben Sie ein Problem?",
"yesSendFeedbackAction": "Ja, Feedback senden",
"noDeleteAccountAction": "Nein, Konto löschen",
"initiateAccountDeleteTitle": "Bitte authentifizieren Sie sich, um die Kontolöschung einzuleiten",
"confirmAccountDeleteTitle": "Sind Sie sicher, dass Sie Ihr ente Konto löschen wollen?",
"confirmAccountDeleteMessage": "Ihre hochgeladenen Daten werden in allen Anwendungen (sowohl Fotos als auch Authenticator) zur Löschung vorgesehen und Ihr Konto wird dauerhaft gelöscht.",
"sendEmail": "E-Mail senden",
"createNewAccount": "Neues Konto erstellen",
"weakStrength": "Schwach",
"strongStrength": "Stark",
"moderateStrength": "Mittel",
"confirmPassword": "Bestätigen Sie das Passwort",
"close": "Schließen",
"oopsSomethingWentWrong": "Ups, da ist etwas schief gelaufen.",
"selectLanguage": "Sprache auswählen",
"language": "Sprache",
"social": "Social",
"security": "Sicherheit",
"lockscreen": "Sperrbildschirm",
"authToChangeLockscreenSetting": "Bitte authentifizieren um die Einstellungen des Sperrbildschirms zu ändern",
"lockScreenEnablePreSteps": "Um den Sperrbildschirm zu aktivieren, konfigurieren sie ein Gerätekennwort oder Gerätesperre in ihren Systemeinstellungen.",
"viewActiveSessions": "Aktive Sitzungen anzeigen",
"authToViewYourActiveSessions": "Bitte authentifizieren um, die aktiven Sitzungen zu sehen",
"searchHint": "Suchen...",
"search": "Suchen",
"sorryUnableToGenCode": "Das Erstellen eines Codes für {issuerName} war leider nicht möglich",
"noResult": "Kein Ergebnis",
"addCode": "Code hinzufügen",
"scanAQrCode": "QR-Code scannen",
"enterDetailsManually": "Details manuell hinzufügen",
"edit": "Editieren",
"copiedToClipboard": "In die Zwischenablage kopieren",
"error": "Fehler",
"recoveryKeyCopiedToClipboard": "Wiederherstellungsschlüssel in die Zwischenablage kopiert",
"recoveryKeyOnForgotPassword": "Sollten sie ihr Passwort vergessen, dann ist dieser Schlüssel die einzige Möglichkeit ihre Daten wiederherzustellen.",
"recoveryKeySaveDescription": "Wir speichern diesen Schlüssel nicht. Sichern sie dieses diesen Schlüssel bestehend aus 24 Wörtern an einem sicheren Platz.",
"doThisLater": "Auf später verschieben",
"saveKey": "Schlüssel speichern",
"createAccount": "Account erstellen",
"passwordStrength": "Passwortstärke: {passwordStrengthValue}",
"@passwordStrength": {
"description": "Text to indicate the password strength",
"placeholders": {
"passwordStrengthValue": {
"description": "The strength of the password as a string",
"type": "String",
"example": "Weak or Moderate or Strong"
}
},
"message": "Password Strength: {passwordStrengthText}"
},
"password": "Passwort",
"signUpTerms": "Ich stimme den <u-terms>Nutzerbedingungen</u-terms> und <u-policy>Datenschutzbestimmungen</u-policy> zu",
"privacyPolicyTitle": "Datenschutzbestimmungen",
"termsOfServicesTitle": "Bedingungen",
"encryption": "Verschlüsselung",
"setPasswordTitle": "Passwort setzen",
"changePasswordTitle": "Passwort ändern",
"resetPasswordTitle": "Passwort zurücksetzen",
"encryptionKeys": "Verschlüsselungsschlüssel",
"passwordWarning": "Wir speichern dieses Passwort nicht. Wenn du es vergisst, <underline>können wir deine Daten nicht entschlüsseln</underline>",
"enterPasswordToEncrypt": "Gib ein Passwort ein, mit dem wir deine Daten verschlüsseln können",
"enterNewPasswordToEncrypt": "Gib ein neues Passwort ein, mit dem wir deine Daten verschlüsseln können",
"passwordChangedSuccessfully": "Passwort erfolgreich geändert",
"generatingEncryptionKeys": "Generierung von Verschlüsselungsschlüsseln...",
"continueLabel": "Weiter",
"insecureDevice": "Unsicheres Gerät",
"sorryWeCouldNotGenerateSecureKeysOnThisDevicennplease": "Es tut uns leid, wir konnten keine sicheren Schlüssel auf diesem Gerät generieren.\n\nBitte registrieren Sie sich auf einem anderen Gerät.",
"howItWorks": "So funktioniert's",
"ackPasswordLostWarning": "Ich verstehe, dass der Verlust meines Passworts zum Verlust meiner Daten führen kann, denn diese ist <underline>Ende-zu-Ende verschlüsselt</underline>.",
"loginTerms": "Durch das Klicken auf den Login-Button, stimme ich <u-terms>den Nutzungsbedingungen</u-terms> und den <u-policy>Datenschutzbestimmungen</u-policy> zu",
"logInLabel": "Einloggen",
"logout": "Ausloggen",
"areYouSureYouWantToLogout": "Sind sie sicher, dass sie sich ausloggen möchten?",
"yesLogout": "Ja ausloggen",
"exit": "Schließen",
"verifyingRecoveryKey": "Verifiziere Wiederherstellungsschlüssel...",
"recoveryKeyVerified": "Wiederherstellungsschlüssel verifiziert",
"recoveryKeySuccessBody": "Großartig! Ihr Wiederherstellungsschlüssel ist gültig. Vielen Dank für die Verifizierung.\n\nBitte denken sie daran, dass sie ihren Wiederherstellungsschlüssel sicher aufbewahren.",
"invalidRecoveryKey": "Der eingegebene Wiederherstellungsschlüssel ist nicht gültig. Bitte stellen sie sicher, dass er aus 24 Wörtern besteht und prüfen sie die Schreibweise eines jeden.\n\nSollten sie einen Wiederherstellungsschlüssel im alten Format eingegeben haben vergewissern sie sich, dass er 64 Zeichen lang ist und prüfen sie jedes dieser Zeichen.",
"recreatePasswordTitle": "Neues Passwort erstellen",
"recreatePasswordBody": "Das benutzte Gerät ist nicht leistungsfähig genug das Passwort zu prüfen. Wir können es aber neu erstellen damit es auf jedem Gerät funktioniert. \n\nBitte loggen sie sich mit ihrem Wiederherstellungsschlüssel ein und erstellen sie ein neues Passwort (Sie können das selbe Passwort wieder verwenden, wenn sie möchten).",
"invalidKey": "Ungültiger Schlüssel",
"tryAgain": "Noch einmal versuchen",
"viewRecoveryKey": "Wiederherstellungsschlüssel anzeigen",
"confirmRecoveryKey": "Wiederherstellungsschlüssel bestätigen",
"recoveryKeyVerifyReason": "Ihr Wiederherstellungsschlüssel ist der einzige Weg ihre Fotos wiederherzustellen sollten, sie ihr Passwort vergessen. Sie finden ihren Wiederherstellungsschlüssel unter Einstellungen > Account.\n\nBitte tragen sie ihren Wiederherstellungsschlüssel hier ein um zu prüfen ob sie in korrekt abgespeichert haben.",
"confirmYourRecoveryKey": "Wiederherstellungsschlüssel bestätigen",
"confirm": "Bestätigen",
"emailYourLogs": "Email mit Logs senden",
"pleaseSendTheLogsTo": "Bitte Logs an {toEmail} senden",
"copyEmailAddress": "Emailadresse kopieren",
"exportLogs": "Logs exportieren",
"enterYourRecoveryKey": "Wiederherstellungsschlüssel eingeben",
"tempErrorContactSupportIfPersists": "Etwas ist schiefgelaufen. Bitte versuchen sie es später noch einmal. Sollte der Fehler weiter bestehen, kontaktieren sie unser Supportteam.",
"itLooksLikeSomethingWentWrongPleaseRetryAfterSome": "Etwas ist schiefgelaufen. Bitte versuchen sie es später noch einmal. Sollte der Fehler weiter bestehen, kontaktieren sie unser Supportteam.",
"about": "Über uns",
"weAreOpenSource": "Wir sind Opensource!",
"privacy": "Datenschutz",
"terms": "Bestimmungen",
"checkForUpdates": "Auf Updates prüfen",
"checking": "Prüfe...",
"youAreOnTheLatestVersion": "Sie haben die aktuellste Version",
"warning": "Warnung",
"exportWarningDesc": "Die exportierte Datei enthält vertrauliche Informationen. Bitte sicher speichern.",
"iUnderStand": "Verstanden",
"@iUnderStand": {
"description": "Text for the button to confirm the user understands the warning"
},
"authToExportCodes": "Bitte authentifizieren, um ihre Codes zu exportieren",
"importSuccessTitle": "Geschafft!",
"importSuccessDesc": "Sie haben {count} Codes importiert!",
"@importSuccessDesc": {
"placeholders": {
"count": {
"description": "The number of codes imported",
"type": "int",
"example": "1"
}
}
},
"sorry": "Entschuldigen sie",
"importFailureDesc": "Ausgewählte Datei ließ sich nicht verarbeiten.\nBitte wenden sie sich an support@ente.io für Hilfe!",
"pendingSyncs": "Warnung",
"pendingSyncsWarningBody": "Einige Codes wurden nicht gesichert.\n\nBitte gehen sie sicher, dass sie einen Backupcode für diese Codes haben bevor sie sich ausloggen.",
"checkInboxAndSpamFolder": "Bitte überprüfe deinen E-Mail-Posteingang (und Spam), um die Verifizierung abzuschließen",
"tapToEnterCode": "Antippen, um den Code einzugeben",
"resendEmail": "E-Mail erneut senden",
"weHaveSendEmailTo": "Wir haben eine E-Mail an <green>{email}</green> gesendet",
"@weHaveSendEmailTo": {
"description": "Text to indicate that we have sent a mail to the user",
"placeholders": {
"email": {
"description": "The email address of the user",
"type": "String",
"example": "example@ente.io"
}
}
},
"activeSessions": "Aktive Sitzungen",
"somethingWentWrongPleaseTryAgain": "Ein Fehler ist aufgetreten, bitte versuche es erneut",
"thisWillLogYouOutOfThisDevice": "Dadurch wirst du von diesem Gerät abgemeldet!",
"thisWillLogYouOutOfTheFollowingDevice": "Dadurch wirst du von folgendem Gerät abgemeldet:",
"terminateSession": "Sitzungen beenden?",
"terminate": "Beenden",
"thisDevice": "Dieses Gerät"
}

View File

@@ -1,23 +1,333 @@
{
"@@locale": "en",
"account": "Account",
"recoveryKey": "Recovery key",
"counterAppBarTitle": "Counter",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "Secure your 2FA codes",
"onBoardingBody": "Securely backup your 2FA codes",
"onBoardingGetStarted": "Get Started",
"setupFirstAccount": "Setup your first account",
"importScanQrCode": "Scan a QR Code",
"qrCode": "QR Code",
"importEnterSetupKey": "Enter a setup key",
"importAccountPageTitle": "Enter account details",
"accountNameHint": "Account name",
"accountKeyHint" : "Your key",
"secretCanNotBeEmpty": "Secret can not be empty",
"bothIssuerAndAccountCanNotBeEmpty": "Both issuer and account can not be empty",
"incorrectDetails": "Incorrect details",
"pleaseVerifyDetails": "Please verify the details and try again",
"codeIssuerHint": "Issuer",
"codeSecretKeyHint": "Secret Key",
"codeAccountHint": "Account (you@domain.com)",
"accountKeyType": "Type of key",
"sessionExpired": "Session expired",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "Please login again",
"loggingOut": "Logging out...",
"timeBasedKeyType": "Time based (TOTP)",
"counterBasedKeyType": "Counter based (HOTP)",
"importAddAction": "Add",
"saveAction": "Save",
"nextTotpTitle": "next",
"deleteCodeTitle": "Delete code?",
"deleteCodeMessage": "Are you sure you want to delete this code? This action is irreversible.",
"viewLogsAction": "View logs",
"sendLogsDescription": "This will send across logs to help us debug your issue. While we take precautions to ensure that sensitive information is not logged, we encourage you to view these logs before sharing them.",
"preparingLogsTitle": "Preparing logs...",
"emailLogsTitle": "Email logs",
"emailLogsMessage": "Please send the logs to {email}",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "Copy email",
"exportLogsAction": "Export logs",
"reportABug": "Report a bug",
"crashAndErrorReporting": "Crash & error reporting",
"reportBug": "Report bug",
"emailUsMessage": "Please email us at {email}",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "Contact support",
"rateUsOnStore" : "Rate us on {storeName}",
"blog": "Blog",
"merchandise": "Merchandise",
"verifyPassword": "Verify password",
"pleaseWait": "Please wait...",
"generatingEncryptionKeysTitle": "Generating encryption keys...",
"recreatePassword": "Recreate password",
"recreatePasswordMessage": "The current device is not powerful enough to verify your password, so we need to regenerate it once in a way that works with all devices. \n\nPlease login using your recovery key and regenerate your password (you can use the same one again if you wish).",
"useRecoveryKey": "Use recovery key",
"incorrectPasswordTitle": "Incorrect password",
"welcomeBack": "Welcome back!",
"madeWithLoveAtPrefix": "made with ❤️ at ",
"supportDevs": "Subscribe to <bold-green>ente</bold-green> to support this project",
"supportDiscount": "Use coupon code \"AUTH\" to get 10% off first year",
"changeEmail": "Change email",
"changePassword": "Change password",
"data": "Data",
"importCodes": "Import codes",
"importTypePlainText": "Plain text",
"importTypeEnteEncrypted": "ente Encrypted export",
"passwordForDecryptingExport": "Password to decrypt export",
"passwordEmptyError": "Password can not be empty",
"importFromApp": "Import codes from {appName}",
"importGoogleAuthGuide": "Export your accounts from Google Authenticator to a QR code using the \"Transfer Accounts\" option. Then using another device, scan the QR code.\n\nTip: You can use your laptop's webcam to take a picture of the QR code.",
"importSelectJsonFile": "Select JSON file",
"importEnteEncGuide": "Select the encrypted JSON file exported from ente",
"importRaivoGuide": "Use the \"Export OTPs to Zip archive\" option in Raivo's Settings.\n\nExtract the zip file and import the JSON file.",
"importAegisGuide": "Use the \"Export the vault\" option in Aegis's Settings.\n\nIf your vault is encrypted, you will need to enter vault password to decrypt the vault.",
"exportCodes": "Export codes",
"importLabel": "Import",
"importInstruction": "Please select a file that contains a list of your codes in the following format",
"importCodeDelimiterInfo": "The codes can be separated by a comma or a new line",
"selectFile": "Select file",
"emailVerificationToggle": "Email verification",
"authToChangeEmailVerificationSetting": "Please authenticate to change email verification",
"authToViewYourRecoveryKey": "Please authenticate to view your recovery key",
"authToChangeYourEmail": "Please authenticate to change your email",
"authToChangeYourPassword": "Please authenticate to change your password",
"ok": "Ok",
"cancel": "Cancel",
"yes": "Yes",
"no": "No",
"email": "Email",
"support": "Support",
"general": "General",
"settings": "Settings",
"copied": "Copied",
"pleaseTryAgain": "Please try again",
"existingUser": "Existing User",
"newUser" : "New to ente"
}
"newUser": "New to ente",
"delete": "Delete",
"enterYourPasswordHint": "Enter your password",
"forgotPassword": "Forgot password",
"oops": "Oops",
"suggestFeatures": "Suggest features",
"faq": "FAQ",
"faq_q_1": "How secure is ente Auth?",
"faq_a_1": "All codes you backup via ente is stored end-to-end encrypted. This means only you can access your codes. Our apps are open source and our cryptography has been externally audited.",
"faq_q_2": "Can I access my codes on desktop?",
"faq_a_2": "You can access your codes on the web @ auth.ente.io.",
"faq_q_3": "How can I delete codes?",
"faq_a_3": "You can delete a code by swiping left on that item.",
"faq_q_4": "How can I support this project?",
"faq_a_4": "You can support the development of this project by subscribing to our Photos app @ ente.io.",
"faq_q_5": "How can I enable FaceID lock in ente Auth",
"faq_a_5": "You can enable FaceID lock under Settings → Security → Lockscreen.",
"somethingWentWrongMessage": "Something went wrong, please try again",
"leaveFamily": "Leave family",
"leaveFamilyMessage": "Are you sure that you want to leave the family plan?",
"inFamilyPlanMessage": "You are on a family plan!",
"swipeHint": "Swipe left to edit or remove codes",
"scan": "Scan",
"scanACode": "Scan a code",
"verify": "Verify",
"verifyEmail": "Verify email",
"enterCodeHint": "Enter the 6-digit code from\nyour authenticator app",
"lostDeviceTitle": "Lost device?",
"twoFactorAuthTitle": "Two-factor authentication",
"recoverAccount": "Recover account",
"enterRecoveryKeyHint": "Enter your recovery key",
"recover": "Recover",
"contactSupportViaEmailMessage": "Please drop an email to {email} from your registered email address",
"@contactSupportViaEmailMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"noRecoveryKeyTitle": "No recovery key?",
"enterEmailHint": "Enter your email address",
"invalidEmailTitle": "Invalid email address",
"invalidEmailMessage": "Please enter a valid email address.",
"deleteAccount": "Delete account",
"deleteAccountQuery": "We'll be sorry to see you go. Are you facing some issue?",
"yesSendFeedbackAction": "Yes, send feedback",
"noDeleteAccountAction": "No, delete account",
"initiateAccountDeleteTitle": "Please authenticate to initiate account deletion",
"confirmAccountDeleteTitle": "Are you sure you want to delete your ente account?",
"confirmAccountDeleteMessage": "Your uploaded data, across all apps (Photos and Authenticator both), will be scheduled for deletion, and your account will be permanently deleted.",
"sendEmail": "Send email",
"createNewAccount": "Create new account",
"weakStrength": "Weak",
"strongStrength": "Strong",
"moderateStrength": "Moderate",
"confirmPassword": "Confirm password",
"close": "Close",
"oopsSomethingWentWrong": "Oops, Something went wrong.",
"selectLanguage": "Select language",
"language": "Language",
"social": "Social",
"security": "Security",
"lockscreen": "Lockscreen",
"authToChangeLockscreenSetting": "Please authenticate to change lockscreen setting",
"lockScreenEnablePreSteps": "To enable lockscreen, please setup device passcode or screen lock in your system settings.",
"viewActiveSessions": "View active sessions",
"authToViewYourActiveSessions": "Please authenticate to view your active sessions",
"searchHint": "Search...",
"search": "Search",
"sorryUnableToGenCode": "Sorry, unable to generate a code for {issuerName}",
"noResult": "No result",
"addCode": "Add code",
"scanAQrCode": "Scan a QR code",
"enterDetailsManually": "Enter details manually",
"edit": "Edit",
"copiedToClipboard": "Copied to clipboard",
"copiedNextToClipboard": "Copied next code to clipboard",
"error": "Error",
"recoveryKeyCopiedToClipboard": "Recovery key copied to clipboard",
"recoveryKeyOnForgotPassword": "If you forget your password, the only way you can recover your data is with this key.",
"recoveryKeySaveDescription": "We don't store this key, please save this 24 word key in a safe place.",
"doThisLater": "Do this later",
"saveKey": "Save key",
"back": "Back",
"createAccount": "Create account",
"passwordStrength": "Password strength: {passwordStrengthValue}",
"@passwordStrength": {
"description": "Text to indicate the password strength",
"placeholders": {
"passwordStrengthValue": {
"description": "The strength of the password as a string",
"type": "String",
"example": "Weak or Moderate or Strong"
}
},
"message": "Password Strength: {passwordStrengthText}"
},
"password": "Password",
"signUpTerms": "I agree to the <u-terms>terms of service</u-terms> and <u-policy>privacy policy</u-policy>",
"privacyPolicyTitle": "Privacy Policy",
"termsOfServicesTitle": "Terms",
"encryption": "Encryption",
"setPasswordTitle": "Set password",
"changePasswordTitle": "Change password",
"resetPasswordTitle": "Reset password",
"encryptionKeys": "Encryption keys",
"passwordWarning": "We don't store this password, so if you forget, <underline>we cannot decrypt your data</underline>",
"enterPasswordToEncrypt": "Enter a password we can use to encrypt your data",
"enterNewPasswordToEncrypt": "Enter a new password we can use to encrypt your data",
"passwordChangedSuccessfully": "Password changed successfully",
"generatingEncryptionKeys": "Generating encryption keys...",
"continueLabel": "Continue",
"insecureDevice": "Insecure device",
"sorryWeCouldNotGenerateSecureKeysOnThisDevicennplease": "Sorry, we could not generate secure keys on this device.\n\nplease sign up from a different device.",
"howItWorks": "How it works",
"ackPasswordLostWarning": "I understand that if I lose my password, I may lose my data since my data is <underline>end-to-end encrypted</underline>.",
"loginTerms": "By clicking log in, I agree to the <u-terms>terms of service</u-terms> and <u-policy>privacy policy</u-policy>",
"logInLabel": "Log in",
"logout": "Logout",
"areYouSureYouWantToLogout": "Are you sure you want to logout?",
"yesLogout": "Yes, logout",
"exit": "Exit",
"verifyingRecoveryKey": "Verifying recovery key...",
"recoveryKeyVerified": "Recovery key verified",
"recoveryKeySuccessBody": "Great! Your recovery key is valid. Thank you for verifying.\n\nPlease remember to keep your recovery key safely backed up.",
"invalidRecoveryKey": "The recovery key you entered is not valid. Please make sure it contains 24 words, and check the spelling of each.\n\nIf you entered an older recovery code, make sure it is 64 characters long, and check each of them.",
"recreatePasswordTitle": "Recreate password",
"recreatePasswordBody": "The current device is not powerful enough to verify your password, but we can regenerate in a way that works with all devices.\n\nPlease login using your recovery key and regenerate your password (you can use the same one again if you wish).",
"invalidKey": "Invalid key",
"tryAgain": "Try again",
"viewRecoveryKey": "View recovery key",
"confirmRecoveryKey": "Confirm recovery key",
"recoveryKeyVerifyReason": "Your recovery key is the only way to recover your photos if you forget your password. You can find your recovery key in Settings > Account.\n\nPlease enter your recovery key here to verify that you have saved it correctly.",
"confirmYourRecoveryKey": "Confirm your recovery key",
"confirm": "Confirm",
"emailYourLogs": "Email your logs",
"pleaseSendTheLogsTo": "Please send the logs to \n{toEmail}",
"copyEmailAddress": "Copy email address",
"exportLogs": "Export logs",
"enterYourRecoveryKey": "Enter your recovery key",
"tempErrorContactSupportIfPersists": "It looks like something went wrong. Please retry after some time. If the error persists, please contact our support team.",
"itLooksLikeSomethingWentWrongPleaseRetryAfterSome": "It looks like something went wrong. Please retry after some time. If the error persists, please contact our support team.",
"about": "About",
"weAreOpenSource": "We are open source!",
"privacy": "Privacy",
"terms": "Terms",
"checkForUpdates": "Check for updates",
"downloadUpdate": "Download",
"criticalUpdateAvailable": "Critical update available",
"updateAvailable": "Update available",
"update": "Update",
"checking": "Checking...",
"youAreOnTheLatestVersion": "You are on the latest version",
"warning": "Warning",
"exportWarningDesc": "The exported file contains sensitive information. Please store this safely.",
"iUnderStand": "I understand",
"@iUnderStand": {
"description": "Text for the button to confirm the user understands the warning"
},
"authToExportCodes": "Please authenticate to export your codes",
"importSuccessTitle": "Yay!",
"importSuccessDesc": "You have imported {count} codes!",
"@importSuccessDesc": {
"placeholders": {
"count": {
"description": "The number of codes imported",
"type": "int",
"example": "1"
}
}
},
"sorry": "Sorry",
"importFailureDesc": "Could not parse the selected file.\nPlease write to support@ente.io if you need help!",
"pendingSyncs": "Warning",
"pendingSyncsWarningBody": "Some of your codes have not been backed up.\n\nPlease ensure that you have a backup for these codes before you logout.",
"checkInboxAndSpamFolder": "Please check your inbox (and spam) to complete verification",
"tapToEnterCode": "Tap to enter code",
"resendEmail": "Resend email",
"weHaveSendEmailTo": "We have sent a mail to <green>{email}</green>",
"@weHaveSendEmailTo": {
"description": "Text to indicate that we have sent a mail to the user",
"placeholders": {
"email": {
"description": "The email address of the user",
"type": "String",
"example": "example@ente.io"
}
}
},
"activeSessions": "Active sessions",
"somethingWentWrongPleaseTryAgain": "Something went wrong, please try again",
"thisWillLogYouOutOfThisDevice": "This will log you out of this device!",
"thisWillLogYouOutOfTheFollowingDevice": "This will log you out of the following device:",
"terminateSession": "Terminate session?",
"terminate": "Terminate",
"thisDevice": "This device",
"toResetVerifyEmail": "To reset your password, please verify your email first.",
"thisEmailIsAlreadyInUse": "This email is already in use",
"verificationFailedPleaseTryAgain": "Verification failed, please try again",
"yourVerificationCodeHasExpired": "Your verification code has expired",
"incorrectCode": "Incorrect code",
"sorryTheCodeYouveEnteredIsIncorrect": "Sorry, the code you've entered is incorrect",
"emailChangedTo": "Email changed to {newEmail}",
"authenticationFailedPleaseTryAgain": "Authentication failed, please try again",
"authenticationSuccessful": "Authentication successful!",
"twofactorAuthenticationSuccessfullyReset": "Two-factor authentication successfully reset",
"incorrectRecoveryKey": "Incorrect recovery key",
"theRecoveryKeyYouEnteredIsIncorrect": "The recovery key you entered is incorrect",
"enterPassword": "Enter password",
"selectExportFormat": "Select export format",
"exportDialogDesc": "Encrypted exports will be protected by a password of your choice.",
"encrypted": "Encrypted",
"plainText": "Plain text",
"passwordToEncryptExport": "Password to encrypt export",
"export": "Export",
"useOffline": "Use without backups",
"signInToBackup": "Sign in to backup your codes",
"singIn": "Sign in",
"sigInBackupReminder": "Please export your codes to ensure that you have a backup you can restore from.",
"offlineModeWarning": "You have chosen to proceed without backups. Please take manual backups to make sure your codes are safe.",
"showLargeIcons": "Show large icons",
"focusOnSearchBar": "Focus search on app start"
}

View File

@@ -1,7 +1,230 @@
{
"@@locale": "es",
"counterAppBarTitle": "Contador",
"@counterAppBarTitle": {
"description": "Texto mostrado en la AppBar de la página del contador"
"account": "Cuenta",
"recoveryKey": "Clave de recuperación",
"counterAppBarTitle": "Contador",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "Asegure sus códigos 2FA",
"onBoardingGetStarted": "Primeros pasos",
"setupFirstAccount": "Configura tu primera cuenta",
"importScanQrCode": "Escanear un código QR",
"importEnterSetupKey": "Ingrese una llave de configuración",
"importAccountPageTitle": "Ingrese los detalles de la cuenta",
"codeIssuerHint": "Emisor",
"codeSecretKeyHint": "Llave Secreta",
"codeAccountHint": "Cuenta (tu@dominio.com)",
"accountKeyType": "Tipo de llave",
"sessionExpired": "La sesión ha expirado",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "Por favor, vuelva a iniciar sesión",
"loggingOut": "Cerrando sesión...",
"timeBasedKeyType": "Basado en el tiempo (TOTP)",
"counterBasedKeyType": "Basado en Contador (HOTP)",
"saveAction": "Guardar",
"nextTotpTitle": "siguiente",
"deleteCodeTitle": "¿Eliminar código?",
"deleteCodeMessage": "¿Está seguro que desea eliminar este código? Esta acción es irreversible.",
"viewLogsAction": "Ver Registros",
"sendLogsDescription": "Esto enviará registros para ayudarnos a depurar su problema. Aunque tomamos precauciones para asegurarnos que no se registre información sensible, le recomendamos que consulte estos registros antes de compartirlos.",
"preparingLogsTitle": "Preparando registros...",
"emailLogsTitle": "Enviar registros por email",
"emailLogsMessage": "Por favor, envíe los registros a {email}",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "Copiar correo electrónico",
"exportLogsAction": "Exportar registros",
"reportABug": "Reportar un error",
"crashAndErrorReporting": "Informes de errores y fallos",
"reportBug": "Reportar error",
"emailUsMessage": "Por favor, envíanos un correo electrónico a {email}",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "Ponerse en contacto con el equipo de soporte",
"verifyPassword": "Verificar contraseña",
"pleaseWait": "Por favor, espere...",
"generatingEncryptionKeysTitle": "Generando claves de encriptación...",
"recreatePassword": "Recrear contraseña",
"recreatePasswordMessage": "El dispositivo actual no es lo suficientemente potente para verificar su contraseña, así que necesitamos regenerarlo una vez de una manera que funcione con todos los dispositivos. \n\nPor favor Inicie sesión usando su clave de recuperación y regenere su contraseña (puede volver a utilizar la misma si lo desea).",
"useRecoveryKey": "Usar clave de recuperación",
"incorrectPasswordTitle": "Contraseña incorrecta",
"welcomeBack": "¡Te damos la bienvenida otra vez!",
"madeWithLoveAtPrefix": "hecho con ❤️ en ",
"supportDevs": "Suscríbase a <bold-green>ente</bold-green> para apoyar este proyecto.",
"supportDiscount": "Utiliza el cupón promocional \"AUTH\" para obtener un 10% de descuento en el primer año",
"changeEmail": "Cambiar correo electrónico",
"changePassword": "Cambiar contraseña",
"data": "Datos",
"importCodes": "Importar códigos",
"exportCodes": "Exportar códigos",
"importInstruction": "Por favor, seleccione un archivo que contenga una lista de sus códigos en el siguiente formato",
"importCodeDelimiterInfo": "Los códigos pueden separarse por una coma o una nueva línea",
"selectFile": "Seleccionar archivo",
"authToViewYourRecoveryKey": "Por favor, autentifíquese para ver su clave de recuperación",
"authToChangeYourEmail": "Por favor, autentifíquese para cambiar su correo electrónico",
"authToChangeYourPassword": "Por favor, autentifíquese para cambiar su contraseña",
"ok": "Ok",
"cancel": "Cancelar",
"yes": "Si",
"no": "No",
"email": "Correo electrónico",
"support": "Soporte",
"settings": "Configuración",
"copied": "Copiado",
"pleaseTryAgain": "Por favor, inténtalo nuevamente",
"existingUser": "Usuario existente",
"newUser": "Nuevo en ente",
"delete": "Borrar",
"enterYourPasswordHint": "Ingrese su contraseña",
"forgotPassword": "Olvidé mi contraseña",
"oops": "Ups",
"somethingWentWrongMessage": "Algo ha ido mal, por favor, prueba otra vez",
"leaveFamily": "Dejar plan familiar",
"leaveFamilyMessage": "¿Está seguro de que desea abandonar el plan familiar?",
"inFamilyPlanMessage": "¡Estás en un plan familiar!",
"swipeHint": "Deslice a la izquierda para editar o eliminar códigos",
"scan": "Escanear",
"scanACode": "Escanear un código",
"verify": "Verificar",
"verifyEmail": "Verificar correo electrónico",
"enterCodeHint": "Ingrese el código de seis dígitos de su aplicación de autenticación",
"lostDeviceTitle": "¿Perdió su dispositivo?",
"twoFactorAuthTitle": "Autenticación de dos factores",
"recoverAccount": "Recuperar cuenta",
"enterRecoveryKeyHint": "Introduzca su clave de recuperación",
"recover": "Recuperar",
"contactSupportViaEmailMessage": "Por favor, envíe un email a {email} desde su dirección de correo electrónico registrada",
"@contactSupportViaEmailMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"noRecoveryKeyTitle": "¿Sin clave de recuperación?",
"enterEmailHint": "Introduce tu dirección de correo electrónico",
"invalidEmailTitle": "Dirección de correo electrónico no válida",
"invalidEmailMessage": "Por favor, introduzca una dirección de correo electrónico válida.",
"deleteAccount": "Eliminar cuenta",
"deleteAccountQuery": "Lamentaremos que te vayas. ¿Estás enfrentando algún inconveniente?",
"yesSendFeedbackAction": "Sí, enviar comentarios",
"noDeleteAccountAction": "No, eliminar cuenta",
"initiateAccountDeleteTitle": "Por favor, autentifíquese para iniciar la eliminación de la cuenta",
"confirmAccountDeleteTitle": "¿Estás seguro de que quieres eliminar tu cuenta de ente?",
"confirmAccountDeleteMessage": "Sus datos subidos a través de todas las aplicaciones (fotos y autenticador), se programarán para su eliminación y su cuenta se eliminará permanentemente.",
"sendEmail": "Enviar correo electrónico",
"createNewAccount": "Crear nueva cuenta",
"weakStrength": "Poco segura",
"strongStrength": "Fuerte",
"moderateStrength": "Moderado",
"confirmPassword": "Confirmar contraseña",
"close": "Cerrar",
"oopsSomethingWentWrong": "Vaya, algo salió mal.",
"selectLanguage": "Seleccionar idioma",
"language": "Idioma",
"social": "Social",
"security": "Seguridad",
"lockscreen": "Pantalla de bloqueo",
"authToChangeLockscreenSetting": "Por favor autentifíquese para cambiar la configuración de bloqueo de pantalla",
"lockScreenEnablePreSteps": "Para activar la pantalla de bloqueo, por favor configure la contraseña del dispositivo o el bloqueo de pantalla en los ajustes de sistema.",
"viewActiveSessions": "Ver sesiones activas",
"searchHint": "Buscar...",
"search": "Buscar",
"sorryUnableToGenCode": "Lo sentimos, no se puede generar un código para {issuerName}",
"noResult": "Sin resultados",
"addCode": "Añadir código",
"scanAQrCode": "Escanear un código QR",
"enterDetailsManually": "Ingrese los detalles manualmente",
"edit": "Editar",
"copiedToClipboard": "Copiado al portapapeles",
"error": "Error",
"recoveryKeyCopiedToClipboard": "Llave de recuperación copiada al portapapeles",
"recoveryKeyOnForgotPassword": "Si olvida su contraseña, la única forma de recuperar sus datos es con esta clave.",
"recoveryKeySaveDescription": "Nosotros no almacenamos esta clave, por favor guarde dicha clave de 24 palabras en un lugar seguro.",
"doThisLater": "Hacer esto más tarde",
"saveKey": "Guardar Clave",
"createAccount": "Crear cuenta",
"passwordStrength": "Fortaleza de la contraseña: {passwordStrengthValue}",
"@passwordStrength": {
"description": "Text to indicate the password strength",
"placeholders": {
"passwordStrengthValue": {
"description": "The strength of the password as a string",
"type": "String",
"example": "Weak or Moderate or Strong"
}
},
"message": "Password Strength: {passwordStrengthText}"
},
"password": "Contraseña",
"signUpTerms": "Estoy de acuerdo con los <u-terms>términos del servicio</u-terms> y <u-policy> la política de privacidad</u-policy>",
"privacyPolicyTitle": "Política de Privacidad",
"termsOfServicesTitle": "Términos",
"encryption": "Cifrado",
"setPasswordTitle": "Establecer contraseña",
"changePasswordTitle": "Cambiar contraseña",
"resetPasswordTitle": "Restablecer contraseña",
"encryptionKeys": "Claves de cifrado",
"passwordChangedSuccessfully": "Contraseña cambiada correctamente",
"generatingEncryptionKeys": "Generando claves de encriptación...",
"continueLabel": "Continuar",
"insecureDevice": "Dispositivo inseguro",
"sorryWeCouldNotGenerateSecureKeysOnThisDevicennplease": "Lo sentimos, no hemos podido generar claves seguras en este dispositivo.\n\nRegístrate desde un dispositivo diferente.",
"howItWorks": "Cómo funciona",
"ackPasswordLostWarning": "Entiendo que si pierdo mi contraseña podría perder mis datos, ya que mis datos están <underline>cifrados de extremo a extremo</underline>.",
"loginTerms": "Al hacer clic en iniciar sesión, acepto los <u-terms>términos de servicio</u-terms> y <u-policy>la política de privacidad</u-policy>",
"logInLabel": "Iniciar sesión",
"logout": "Cerrar sesión",
"areYouSureYouWantToLogout": "¿Seguro que quiere cerrar la sesión?",
"yesLogout": "Sí, cerrar sesión",
"exit": "Salir",
"verifyingRecoveryKey": "Verificando clave de recuperación...",
"recoveryKeyVerified": "Clave de recuperación verificada",
"recoveryKeySuccessBody": "¡Genial! Su clave de recuperación es válida. Gracias por verificar.\n\nPor favor, recuerde mantener su clave de recuperación segura.",
"invalidRecoveryKey": "La clave de recuperación introducida no es válida. Por favor, asegúrese de que contiene 24 palabras y compruebe la ortografía de cada una.\n\nSi ha introducido un código de recuperación antiguo, asegúrese de que tiene 64 caracteres de largo y compruebe cada uno de ellos.",
"recreatePasswordTitle": "Recrear contraseña",
"recreatePasswordBody": "El dispositivo actual no es lo suficientemente potente para verificar su contraseña, pero podemos regenerarla de una manera que funcione con todos los dispositivos.\n\nPor favor inicie sesión usando su clave de recuperación y regenere su contraseña (puede volver a utilizar la misma si lo desea).",
"invalidKey": "Clave inválida",
"tryAgain": "Inténtelo de nuevo",
"viewRecoveryKey": "Ver código de recuperación",
"confirmRecoveryKey": "Confirmar clave de recuperación",
"recoveryKeyVerifyReason": "Su clave de recuperación es la única forma de recuperar sus fotos si olvida su contraseña. Puede encontrar su clave de recuperación en Ajustes > Cuenta.\n\nPor favor, introduzca su clave de recuperación aquí para verificar que la ha guardado correctamente.",
"confirmYourRecoveryKey": "Confirmar su clave de recuperación",
"confirm": "Confirmar",
"emailYourLogs": "Envíe sus registros por correo electrónico",
"pleaseSendTheLogsTo": "Por favor, envíe los registros a {toEmail}",
"copyEmailAddress": "Copiar dirección de correo electrónico",
"exportLogs": "Exportar registros",
"enterYourRecoveryKey": "Introduzca su clave de recuperación",
"tempErrorContactSupportIfPersists": "Parece que algo salió mal. Por favor, vuelve a intentarlo después de algún tiempo. Si el error persiste, ponte en contacto con nuestro equipo de soporte.",
"itLooksLikeSomethingWentWrongPleaseRetryAfterSome": "Parece que algo salió mal. Por favor, vuelve a intentarlo después de algún tiempo. Si el error persiste, ponte en contacto con nuestro equipo de soporte.",
"about": "Acerca de",
"weAreOpenSource": "¡Somos de código abierto!",
"privacy": "Privacidad",
"terms": "Términos",
"checkForUpdates": "Comprobar actualizaciones",
"checking": "Comprobando...",
"youAreOnTheLatestVersion": "Está usando la versión más reciente",
"warning": "Atención",
"exportWarningDesc": "El archivo exportado contiene información confidencial. Por favor, guárdelo de forma segura.",
"iUnderStand": "Entiendo",
"@iUnderStand": {
"description": "Text for the button to confirm the user understands the warning"
},
"authToExportCodes": "Por favor, autentifíquese para exportar sus códigos",
"sorry": "Lo sentimos",
"importFailureDesc": "No se pudo analizar el archivo seleccionado.\n¡Por favor escriba a support@ente.io si necesita ayuda!",
"pendingSyncs": "Atención"
}

235
lib/l10n/arb/app_fa.arb Normal file
View File

@@ -0,0 +1,235 @@
{
"account": "حساب کاربری",
"recoveryKey": "کلید بازیابی",
"counterAppBarTitle": "شمارنده",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "کدهای احراز هویت دوعاملی خود(2FA) را ایمن کنید",
"onBoardingGetStarted": "شروع کنید",
"setupFirstAccount": "اولین حساب خود را راه‌اندازی کنید",
"importScanQrCode": "اسکن کردن کد QR",
"importEnterSetupKey": "وارد کردن کلید تنظیم",
"importAccountPageTitle": "ورود اطلاعات حساب",
"codeIssuerHint": "صادر کننده",
"codeSecretKeyHint": "کلید مخفی",
"codeAccountHint": "حساب (you@domain.com)",
"accountKeyType": "نوع کلید",
"sessionExpired": "نشست منقضی شده است",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "لطفا دوباره وارد شوید",
"loggingOut": "در حال خروج از سیستم...",
"timeBasedKeyType": "بر اساس زمان (TOTP)",
"counterBasedKeyType": "بر اساس شمارنده (HOTP)",
"saveAction": "ذخیره",
"nextTotpTitle": "بعدی",
"deleteCodeTitle": "کد حذف شود؟",
"deleteCodeMessage": "آیا مطمئن هستید که می خواهید این کد را حذف کنید؟ این کار غیرقابل تغییر است.",
"viewLogsAction": "نمایش لاگ‌ها",
"sendLogsDescription": "این باعث ارسال لاگ‌ها می‌شود تا به ما در رفع مشکل شما کمک کند. هرچند ما اقداماتی را جهت جلوگیری از ثبت اطلاعات حساس در لاگ انجام می‌دهیم، اما به شما توصیه می‌کنیم قبل از اشتراک گذاری لاگ‌ها آن‌ها را مشاهده کنید.",
"preparingLogsTitle": "در حال آماده‌سازی لاگ‌ها...",
"emailLogsTitle": "ایمیل کردن لاگ‌ها",
"emailLogsMessage": "لطفا لاگ‌ها را به {email} ارسال کنید",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "کپی کردن ایمیل",
"exportLogsAction": "صدور لاگ‌ها",
"reportABug": "گزارش یک اشکال",
"crashAndErrorReporting": "ﮔﺰﺍﺭﺵ ﺧﺮﺍﺑﯽ ﻭ ﺧﻄﺎ",
"reportBug": "گزارش اشکال",
"emailUsMessage": "لطفا به آدرس {email} به ما ایمیل بزنید",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "ارتباط با پشتیبانی",
"verifyPassword": "تایید رمز عبور",
"pleaseWait": "لطفا صبر کنید...",
"generatingEncryptionKeysTitle": "در حال تولید کلید‌های رمزگذاری...",
"recreatePassword": "بازتولید رمز عبور",
"recreatePasswordMessage": "دستگاه فعلی جهت تایید رمز عبور شما به اندازه کافی قدرتمند نیست، بنابراین ما باید یکبار آن را به گونه ای بازتولید کنیم که با همه دستگاه‌ها کار کند.\n\nلطفا با استفاده از کلید بازیابی خود وارد شوید و رمز عبور خود را دوباره ایجاد کنید (در صورت تمایل می‌توانید دوباره از همان رمز عبور استفاده کنید).",
"useRecoveryKey": "از کلید بازیابی استفاده کنید",
"incorrectPasswordTitle": "رمز عبور نادرست",
"welcomeBack": "خوش آمدید!",
"madeWithLoveAtPrefix": "ساخته شده با ❤️ در ",
"supportDevs": "برای حمایت از این پروژه در <bold-green>ente</bold-green> مشترک شوید.",
"supportDiscount": "برای دریافت ۱۰٪ تخفیف اولین سال، از کد \"AUTH\" استفاده کنید",
"changeEmail": "تغییر ایمیل",
"changePassword": "تغییر رمز عبور",
"data": "داده ها",
"importCodes": "ورود کدها",
"exportCodes": "صدور کدها",
"importInstruction": "لطفا یک فایل که حاوی لیستی از کدهای شما در قالب زیر است، انتخاب کنید",
"importCodeDelimiterInfo": "کدها می‌توانند با کاما یا یک خط جدید از یکدیگر جدا شوند",
"selectFile": "انتخاب فایل",
"authToViewYourRecoveryKey": "لطفا جهت نمایش کلید بازیابی خود، اعتبارسنجی کنید",
"authToChangeYourEmail": "لطفا جهت تغییر ایمیل خود، اعتبارسنجی کنید",
"authToChangeYourPassword": "لطفا جهت تغییر رمز عبور خود، اعتبارسنجی کنید",
"ok": "تایید",
"cancel": "لغو",
"yes": "بله",
"no": "خیر",
"email": "ایمیل",
"support": "پشتیبانی",
"settings": "تنظیمات",
"copied": "کپی شد",
"pleaseTryAgain": "لطفا دوباره تلاش کنید",
"existingUser": "کاربر موجود",
"newUser": "کاربر جدید ente",
"delete": "حذف",
"enterYourPasswordHint": "رمز عبور خود را وارد کنید",
"forgotPassword": "فراموشی رمز عبور",
"oops": "اوه",
"somethingWentWrongMessage": "مشکلی پیش آمده است، لطفا دوباره تلاش کنید",
"leaveFamily": "خروج از طرح خانواده",
"leaveFamilyMessage": "آیا مطمئنید که میخواهید از طرح خانواده خارج شوید؟",
"inFamilyPlanMessage": "طرح خانواده برای شما فعال است!",
"swipeHint": "برای ویرایش یا حذف کدها به چپ بکشید",
"scan": "اسکن",
"scanACode": "یک کد را اسکن کنید",
"verify": "تایید",
"enterCodeHint": "کد تایید ۶ رقمی را از برنامه\nاحراز هویت خود وارد کنید",
"lostDeviceTitle": "دستگاه را گم کرده‌اید؟",
"twoFactorAuthTitle": "احراز هویت دو مرحله‌ای",
"recoverAccount": "بازیابی حساب کاربری",
"enterRecoveryKeyHint": "کلید بازیابی خود را وارد کنید",
"recover": "بازیابی",
"contactSupportViaEmailMessage": "لطفا آدرس یکی از ایمیل‌هایی که با آن ثبت کرده‌اید را به {email} ارسال کنید",
"@contactSupportViaEmailMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"noRecoveryKeyTitle": "کلید بازیابی ندارید؟",
"enterEmailHint": "آدرس ایمیل خود را وارد کنید",
"invalidEmailTitle": "آدرس ایمیل نامعتبر است",
"invalidEmailMessage": "لطفا یک آدرس ایمیل معتبر وارد کنید.",
"deleteAccount": "حذف حساب کاربری",
"deleteAccountQuery": "از رفتن شما متاسفیم. آیا با مشکلی روبرو هستید؟",
"yesSendFeedbackAction": "بله، ارسال بازخورد",
"noDeleteAccountAction": "خیر، حساب کاربری را حذف کن",
"initiateAccountDeleteTitle": "لطفا جهت شروع فرآیند حذف حساب کاربری، اعتبارسنجی کنید",
"confirmAccountDeleteTitle": "آیا از حذف حساب کاربری خود اطمینان دارید؟",
"confirmAccountDeleteMessage": "داده‌های آپلود شده شما، در همه برنامه‌ها(هر دو برنامه عکس‌ها و احراز هویت)، طبق زمانبندی و حساب کاربری شما برای همیشه حذف خواهد شد.",
"sendEmail": "ارسال ایمیل",
"createNewAccount": "ایجاد حساب کاربری جدید",
"weakStrength": "ضعیف",
"strongStrength": "قوی",
"moderateStrength": "متوسط",
"confirmPassword": "تایید رمز عبور",
"close": "بستن",
"oopsSomethingWentWrong": "اوه، مشکلی پیش آمده است.",
"selectLanguage": "انتخاب زبان",
"language": "زبان",
"social": "شبکه اجتماعی",
"security": "امنیت",
"lockscreen": "قفل صفحه",
"authToChangeLockscreenSetting": "لطفا جهت تغییر تنظیمات قفل صفحه، اعتبارسنجی کنید",
"lockScreenEnablePreSteps": "جهت فعالسازی قفل صفحه، لطفا در تنظیمات سیستم خود یک رمز یا قفل صفحه را فعال کنید.",
"viewActiveSessions": "نمایش نشست‌های فعال",
"authToViewYourActiveSessions": "لطفا جهت نمایش نشست‌های فعال خود، اعتبارسنجی کنید",
"searchHint": "جستجو...",
"search": "جستجو",
"sorryUnableToGenCode": "با عرض پوزش، قادر به تولید کد برای {issuerName} نیستیم",
"noResult": "نتیجه ای یافت نشد",
"addCode": "اضافه کردن کد",
"scanAQrCode": "اسکن کردن کد QR",
"enterDetailsManually": "ورود دستی جزئیات",
"edit": "ویرایش",
"copiedToClipboard": "به حافظه موقت کپی شد",
"error": "خطا",
"recoveryKeyCopiedToClipboard": "کلید بازیابی به حافظه موقت کپی شد",
"recoveryKeyOnForgotPassword": "اگر رمز عبور خود را فراموش کرده‌اید، این کد تنها راهی است که با آن می‌توانید اطلاعات خود را بازیابی کنید.",
"recoveryKeySaveDescription": "ما این کلید را ذخیره نمی‌کنیم، لطفا این کلید ۲۴ کلمه‌ای را در مکانی امن ذخیره کنید.",
"doThisLater": "بعداً انجام شود",
"saveKey": "ذخیره کلید",
"createAccount": "ایجاد حساب کاربری",
"passwordStrength": "قدرت رمز عبور: {passwordStrengthValue}",
"@passwordStrength": {
"description": "Text to indicate the password strength",
"placeholders": {
"passwordStrengthValue": {
"description": "The strength of the password as a string",
"type": "String",
"example": "Weak or Moderate or Strong"
}
},
"message": "Password Strength: {passwordStrengthText}"
},
"password": "رمز عبور",
"signUpTerms": "با <u-terms>شرایط استفاده از خدمات</u-terms> و <u-policy>سیاست حفظ حریم خصوصی</u-policy> موافقت می‌کنم",
"privacyPolicyTitle": "سیاست حفظ حریم خصوصی",
"termsOfServicesTitle": "شرایط و ضوابط",
"encryption": "رمزگذاری",
"changePasswordTitle": "تغییر رمز عبور",
"resetPasswordTitle": "بازنشانی رمز عبور",
"ackPasswordLostWarning": "می‌دانم که اگر رمز عبور خود را گم کنم، از آنجایی که اطلاعات من <underline>رمزگذاری سرتاسری</underline> شده است، ممکن است اطلاعاتم را از دست بدهم.",
"loginTerms": "با کلیک روی ورود، با <u-terms>شرایط استفاده از خدمات</u-terms> و <u-policy>سیاست حفظ حریم خصوصی</u-policy> موافقت می‌کنم",
"logInLabel": "ورود",
"logout": "خروج از حساب",
"areYouSureYouWantToLogout": "آیا مطمئنید که می‌خواهید خارج شوید؟",
"yesLogout": "بله، خروج",
"exit": "خروج",
"verifyingRecoveryKey": "در حال تایید کلید بازیابی...",
"recoveryKeyVerified": "کلید بازیابی تایید شد",
"recoveryKeySuccessBody": "عالی! کلید بازیابی شما معتبر است. با تشکر از شما.\n\nلطفا به یاد داشته باشید که از کلید بازیابی خود به طور ایمن نسخه پشتیبان تهیه کنید.",
"invalidRecoveryKey": "کلید بازیابی که وارد کرده‌اید نامعتبر است. لطفا مطمئن شوید که شامل ۲۴ کلمه است و همه کلمات را صحیح نوشته‌اید.\n\nاگر کد بازیابی قدیمی تری را وارد کرده‌اید، مطمئن شوید که شامل ۶۴ حرف است و همه حروف را صحیح نوشته‌اید.",
"recreatePasswordTitle": "بازتولید رمز عبور",
"recreatePasswordBody": "دستگاه فعلی جهت تایید رمز عبور شما به اندازه کافی قدرتمند نیست، اما ما میتوانیم آن را به گونه ای بازتولید کنیم که با همه دستگاه‌ها کار کند.\n\nلطفا با استفاده از کلید بازیابی خود وارد شوید و رمز عبور خود را دوباره ایجاد کنید (در صورت تمایل می‌توانید دوباره از همان رمز عبور استفاده کنید).",
"invalidKey": "کلید نامعتبر",
"tryAgain": "دوباره امتحان کنید",
"viewRecoveryKey": "نمایش کلید بازیابی",
"confirmRecoveryKey": "تایید کلید بازیابی",
"recoveryKeyVerifyReason": "در صورتی که رمز عبور خود را فراموش کنید، کلید بازیابی شما تنها راه بازیابی عکس‌های شماست. شما می‌توانید کلید بازیابی خود را در قسمت تنظیمات > حساب کاربری پیدا کنید.\n\nلطفا کلید بازیابی خود را در اینجا وارد کنید تا اطمینان حاصل شود که آن را به درستی ذخیره کرده‌اید.",
"confirmYourRecoveryKey": "کلید بازیابی خود را تایید کنید",
"confirm": "تایید",
"emailYourLogs": "لاگ‌های خود را ایمیل کنید",
"pleaseSendTheLogsTo": "لطفا لاگ‌ها را به ایمیل زیر ارسال کنید \n{toEmail}",
"copyEmailAddress": "کپی آدرس ایمیل",
"exportLogs": "صدور لاگ‌ها",
"enterYourRecoveryKey": "کلید بازیابی خود را وارد کنید",
"tempErrorContactSupportIfPersists": "به نظر می‌رسد مشکلی وجود دارد. لطفا بعد از مدتی دوباره تلاش کنید. اگر همچنان با خطا مواجه می‌شوید، لطفا با تیم پشتیبانی ما ارتباط برقرار کنید.",
"itLooksLikeSomethingWentWrongPleaseRetryAfterSome": "به نظر می‌رسد مشکلی پیش آمده است. لطفا بعد از مدتی دوباره تلاش کنید. اگر همچنان با خطا مواجه می‌شوید، لطفا با تیم پشتیبانی ما ارتباط برقرار کنید.",
"about": "درباره ما",
"weAreOpenSource": "برنامه های ما منبع باز هستند!",
"privacy": "حریم خصوصی",
"terms": "شرایط و ضوابط",
"checkForUpdates": "بررسی بروزرسانی",
"checking": "در حال بررسی...",
"youAreOnTheLatestVersion": "شما در حال اجرای آخرین نسخه هستید",
"warning": "اخطار",
"exportWarningDesc": "فایل صادر شده حاوی اطلاعات حساس است. لطفا این فایل را به صورت امن ذخیره کنید.",
"iUnderStand": "متوجه ام",
"@iUnderStand": {
"description": "Text for the button to confirm the user understands the warning"
},
"authToExportCodes": "لطفا جهت صدور کدهای خود، اعتبارسنجی کنید",
"importSuccessTitle": "آره!",
"importSuccessDesc": "شما {count} کد را وارد کردید!",
"@importSuccessDesc": {
"placeholders": {
"count": {
"description": "The number of codes imported",
"type": "int",
"example": "1"
}
}
},
"sorry": "متاسفیم",
"importFailureDesc": "نتوانستیم فایل انتخابی را تجزیه و تحلیل کنیم.\nاگر به کمک نیاز دارید، لطفا به support@ente.io ایمیل بزنید!",
"pendingSyncs": "اخطار",
"pendingSyncsWarningBody": "برخی از کدهای شما پشتیبان گیری نشده اند.\n\nلطفا قبل از خروج، مطمئن شوید که یک نسخه پشتیبان برای این کدها دارید.",
"thisDevice": "این دستگاه"
}

123
lib/l10n/arb/app_fi.arb Normal file
View File

@@ -0,0 +1,123 @@
{
"counterAppBarTitle": "Laskuri",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "Turvaa 2FA-koodisi",
"onBoardingGetStarted": "Aloitetaan",
"setupFirstAccount": "Määritä ensimmäinen tilisi",
"importScanQrCode": "Lue QR-koodi",
"importEnterSetupKey": "Syötä asetusavain",
"importAccountPageTitle": "Syötä tilin tiedot",
"codeIssuerHint": "Myöntäjä",
"codeSecretKeyHint": "Salainen avain",
"codeAccountHint": "Tili (sinun@jokinosoite.com)",
"accountKeyType": "Avaimen tyyppi",
"sessionExpired": "Istunto on vanheutunut",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "Sisäänkirjaudu uudestaan",
"loggingOut": "Kirjaudutaan ulos...",
"timeBasedKeyType": "Aikaperusteinen (TOTP)",
"counterBasedKeyType": "Laskuripohjainen (HOTP)",
"saveAction": "Tallenna",
"nextTotpTitle": "seuraava",
"deleteCodeTitle": "Poista koodi?",
"deleteCodeMessage": "Haluatko varmasti poistaa tämän koodin? Toimintoa ei voi peruuttaa.",
"viewLogsAction": "Näytä lokikirjaukset",
"sendLogsDescription": "Tämä toiminto lähettää lokin kirjaukset eteenpäin jotta saisimme apua ongelmasi ratkaisemiseen. Vaikkakin käytäntömme on olla kirjaamatta mitään arkaluontoista tietoa, suosittelemme että tarkistat nämä tiedot ennen niiden jakamista.",
"preparingLogsTitle": "Valmistellaan lokikirjaukset...",
"emailLogsTitle": "Toimita lokikirjaukset sähköpostilla",
"emailLogsMessage": "Lähetä lokikirjaukset osoitteeseen {email}",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "Jäljennä sähköpostiosoite leikepöydälle",
"exportLogsAction": "Vie lokikirjaukset",
"reportABug": "Ilmoita virhetoiminnosta",
"crashAndErrorReporting": "Kaatumis- ja virheraportointi",
"reportBug": "Ilmoita virheestä",
"emailUsMessage": "Lähetä meille sähköpostia osoitteeseen {email}",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "Ota yhteyttä käyttötukeen",
"verifyPassword": "Vahvista salasana",
"pleaseWait": "Odota hetki...",
"generatingEncryptionKeysTitle": "Luodaan salausavaimia...",
"recreatePassword": "Luo salasana uudelleen",
"recreatePasswordMessage": "Nykyinen laite ei ole riittävän tehokas salasanasi varmistamiseen, joten se on uudistettava kerran sillä tavalla että se toimii sen jälkeen kaikkien laitteiden kanssa. \n\nOle hyvä ja kirjaudu sisään palautusavaimellasi ja luo salasanasi uudelleen (voit halutessasi käyttää aivan samaa salasanaa).",
"useRecoveryKey": "Käytä palautusavainta",
"incorrectPasswordTitle": "Salasana on väärin",
"welcomeBack": "Tervetuloa takaisin!",
"madeWithLoveAtPrefix": "tehty ❤️:lla täällä ",
"supportDevs": "Tilaa <bold-green>ente</bold-green> tukeaksesi tätä hanketta.",
"supportDiscount": "Käytä kuponkikoodia \"AUTH\" saadaksesi 10% alennuksen ensimmäisestä vuodesta",
"changeEmail": "vaihda sähköpostiosoitteesi",
"selectFile": "Valitse tiedosto",
"ok": "Selvä",
"cancel": "Keskeytä",
"yes": "Kyllä",
"no": "Ei",
"email": "Sähköposti",
"support": "Tuki",
"settings": "Asetukset",
"copied": "Jäljennetty",
"pleaseTryAgain": "Yritä uudestaan",
"existingUser": "Jo valmiiksi olemassaoleva käyttäjä",
"newUser": "Uusi Ente-käyttäjä",
"delete": "Poista",
"enterYourPasswordHint": "Syötä salasanasi",
"forgotPassword": "Olen unohtanut salasanani",
"oops": "Hupsista",
"somethingWentWrongMessage": "Jokin meni pieleen, yritä uudelleen",
"leaveFamily": "Poistu perheestä",
"leaveFamilyMessage": "Oletko varma että haluat jättää tämän perhemallin?",
"inFamilyPlanMessage": "Olet perhemallissa!",
"swipeHint": "Pyyhkäise vasemmalle muokataksesi tai poistaaksesi koodeja",
"scan": "Lue",
"scanACode": "Lue koodi",
"verify": "Vahvista",
"enterCodeHint": "Syötä 6-merkkinen koodi varmennussovelluksestasi",
"lostDeviceTitle": "Kadonnut laite?",
"twoFactorAuthTitle": "Kaksivaiheinen vahvistus",
"recoverAccount": "Palauta tilisi",
"enterRecoveryKeyHint": "Syötä palautusavaimesi",
"recover": "Palauta",
"contactSupportViaEmailMessage": "Ole hyvä ja lähetä sähköpostia osoitteeseen {email} omasta rekisteröidystä sähköpostiosoitteestasi",
"@contactSupportViaEmailMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"noRecoveryKeyTitle": "Ei palautusavainta?",
"enterEmailHint": "Syötä sähköpostiosoitteesi",
"invalidEmailTitle": "Epäkelpo sähköpostiosoite",
"invalidEmailMessage": "Syötä kelpoisa sähköpostiosoite.",
"deleteAccount": "Poista tili",
"deleteAccountQuery": "Olemme pahoillamme että lähdet keskuudestamme. Kohtasitko käytössä jonkin ongelman?",
"yesSendFeedbackAction": "Kyllä, lähetä palautetta",
"noDeleteAccountAction": "En, poista tili",
"initiateAccountDeleteTitle": "Ole hyvä ja tee todennus käynnistääksesi tilisi poistoprosessin",
"confirmAccountDeleteTitle": "Haluatko varmasti poistaa Ente-tilisi?",
"confirmAccountDeleteMessage": "Lataamasi tiedot kaikkien sovellusten kesken (molemmat, sekä kuvat ja todenteet) ajastetaan poistettavaksi ja tilisi poistetaan pysyvästi.",
"sendEmail": "Lähetä sähköpostia",
"createNewAccount": "Luo uusi tili",
"weakStrength": "Heikko salasana",
"strongStrength": "Vahva salasana",
"moderateStrength": "Kohtalainen salasana",
"confirmPassword": "Vahvista salasana",
"close": "Sulje",
"oopsSomethingWentWrong": "Hupsista! Jotakin meni nyt pieleen."
}

294
lib/l10n/arb/app_fr.arb Normal file
View File

@@ -0,0 +1,294 @@
{
"account": "Compte",
"recoveryKey": "Clé de récupération",
"counterAppBarTitle": "Compteur",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "Sécurisez vos codes 2FA",
"onBoardingGetStarted": "Premiers pas",
"setupFirstAccount": "Configurez votre premier compte",
"importScanQrCode": "Scannez un QR Code",
"importEnterSetupKey": "Saisir une clé de configuration",
"importAccountPageTitle": "Saisir les détails du compte",
"codeIssuerHint": "Émetteur",
"codeSecretKeyHint": "Clé secrète",
"codeAccountHint": "Compte (vous@domaine.fr)",
"accountKeyType": "Type de clé",
"sessionExpired": "Session expirée",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "Veuillez vous reconnecter",
"loggingOut": "Deconnexion...",
"timeBasedKeyType": "Basé sur l'heure (TOTP)",
"counterBasedKeyType": "Basé sur le compteur (HOTP)",
"saveAction": "Sauvegarder",
"nextTotpTitle": "suivant",
"deleteCodeTitle": "Supprimer le code ?",
"deleteCodeMessage": "Êtes-vous sûr de vouloir supprimer ce code ? Cette action est irréversible.",
"viewLogsAction": "Afficher les journaux",
"sendLogsDescription": "Cela enverra des logs pour nous aider à déboguer votre problème. Bien que nous prenions des précautions pour nous assurer que les informations sensibles ne sont pas enregistrées, nous vous encourageons à consulter ces journaux avant de les partager.",
"preparingLogsTitle": "Préparation des journaux...",
"emailLogsTitle": "Journaux d'email",
"emailLogsMessage": "Envoyez les logs à {email}",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "Copier le-mail",
"exportLogsAction": "Exporter les journaux",
"reportABug": "Signaler un bug",
"crashAndErrorReporting": "Rapport de plantage et d'erreur",
"reportBug": "Signaler un bug",
"emailUsMessage": "Veuillez nous envoyer un e-mail à {email}",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "Contacter le support",
"verifyPassword": "Vérifier le mot de passe",
"pleaseWait": "Veuillez patienter...",
"generatingEncryptionKeysTitle": "Génération des clés de chiffrement...",
"recreatePassword": "Recréer le mot de passe",
"recreatePasswordMessage": "L'appareil actuel n'est pas assez puissant pour vérifier votre mot de passe, donc nous avons besoin de le régénérer une fois d'une manière qu'il fonctionne avec tous les périphériques.\n\nVeuillez vous connecter en utilisant votre clé de récupération et régénérer votre mot de passe (vous pouvez utiliser le même si vous le souhaitez).",
"useRecoveryKey": "Utiliser la clé de récupération",
"incorrectPasswordTitle": "Mot de passe incorrect",
"welcomeBack": "Bon retour parmi nous !",
"madeWithLoveAtPrefix": "fait avec ❤️ à ",
"supportDevs": "Abonnez-vous à <bold-green>ente</bold-green> pour soutenir ce projet.",
"supportDiscount": "Utilisez le code coupon \"AUTH\" pour obtenir 10% de réduction sur la première année",
"changeEmail": "Modifier l'e-mail",
"changePassword": "Modifier le mot de passe",
"data": "Données",
"importCodes": "Importer les codes",
"importSelectJsonFile": "Sélectionnez un fichier JSON",
"importEnteEncGuide": "Sélectionnez le fichier JSON chiffré exporté à partir de ente",
"exportCodes": "Exporter les codes",
"importInstruction": "Veuillez sélectionner un fichier qui contient une liste de vos codes dans le format suivant",
"importCodeDelimiterInfo": "Les codes peuvent être séparés par une virgule ou un retour à la ligne",
"selectFile": "Sélectionner le fichier",
"emailVerificationToggle": "Vérification de l'adresse e-mail",
"authToChangeEmailVerificationSetting": "Veuillez vous authentifier pour modifier votre adresse e-mail",
"authToViewYourRecoveryKey": "Veuillez vous authentifier pour afficher votre clé de récupération",
"authToChangeYourEmail": "Veuillez vous authentifier pour modifier votre adresse e-mail",
"authToChangeYourPassword": "Veuillez vous authentifier pour modifier votre mot de passe",
"ok": "Ok",
"cancel": "Annuler",
"yes": "Oui",
"no": "Non",
"email": "E-mail",
"support": "Support",
"settings": "Paramètres",
"copied": "Copié",
"pleaseTryAgain": "Veuillez réessayer",
"existingUser": "Utilisateur existant",
"newUser": "Nouveau sur ente",
"delete": "Supprimer",
"enterYourPasswordHint": "Saisir votre mot de passe",
"forgotPassword": "Mot de passe oublié",
"oops": "Oups",
"suggestFeatures": "Suggérer des fonctionnalités",
"faq": "FAQ",
"faq_q_2": "Puis-je accéder à mes codes sur mon ordinateur ?",
"faq_a_2": "Vous pouvez accéder à vos codes sur le web via auth.ente.io.",
"faq_q_3": "Comment puis-je supprimer des codes ?",
"faq_a_3": "Vous pouvez supprimer un code en glissant vers la gauche.",
"faq_q_4": "Comment puis-je soutenir le projet?",
"faq_a_4": "Vous pouvez soutenir le développement de ce projet en vous abonnant à notre application Photos, ente.io.",
"somethingWentWrongMessage": "Quelque chose s'est mal passé, veuillez recommencer",
"leaveFamily": "Quitter le plan familial",
"leaveFamilyMessage": "Êtes-vous certains de vouloir quitter le plan familial?",
"inFamilyPlanMessage": "Vous êtes sur un plan familial !",
"swipeHint": "Glisser vers la gauche pour modifier ou supprimer des codes",
"scan": "Analyser",
"scanACode": "Scanner un code",
"verify": "Vérifier",
"verifyEmail": "Vérifier l'email",
"enterCodeHint": "Saisir le code à 6 caractères de votre appli d'authentification",
"lostDeviceTitle": "Appareil perdu ?",
"twoFactorAuthTitle": "Authentification à deux facteurs",
"recoverAccount": "Récupérer un compte",
"enterRecoveryKeyHint": "Saisissez votre clé de récupération",
"recover": "Restaurer",
"contactSupportViaEmailMessage": "Veuillez envoyer un e-mail à {email} depuis votre adresse enregistrée",
"@contactSupportViaEmailMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"noRecoveryKeyTitle": "Pas de clé de récupération ?",
"enterEmailHint": "Entrez votre adresse e-mail",
"invalidEmailTitle": "Adresse e-mail non valide",
"invalidEmailMessage": "Veuillez saisir une adresse e-mail valide.",
"deleteAccount": "Supprimer le compte",
"deleteAccountQuery": "Nous sommes désolés de vous voir partir. Êtes-vous confronté à un problème?",
"yesSendFeedbackAction": "Oui, envoyer un commentaire",
"noDeleteAccountAction": "Non, supprimer le compte",
"initiateAccountDeleteTitle": "Veuillez vous authentifier pour débuter la suppression du compte",
"confirmAccountDeleteTitle": "Êtes-vous sûr de vouloir supprimer votre compte ente ?",
"confirmAccountDeleteMessage": "Vos données téléchargées, à travers toutes les applications (Photos et Authenticator), seront planifiées pour la suppression, et votre compte sera définitivement supprimé.",
"sendEmail": "Envoyer un e-mail",
"createNewAccount": "Créer un nouveau compte",
"weakStrength": "Faible",
"strongStrength": "Fort",
"moderateStrength": "Modéré",
"confirmPassword": "Confirmer le mot de passe",
"close": "Fermer",
"oopsSomethingWentWrong": "Oops ! Une erreur s'est produite.",
"selectLanguage": "Sélectionnez la langue",
"language": "Langue",
"social": "Réseaux Sociaux",
"security": "Sécurité",
"lockscreen": "Ecran de vérouillage",
"authToChangeLockscreenSetting": "Veuillez vous authentifier pour modifier les paramètres de l'écran de verrouillage",
"lockScreenEnablePreSteps": "Pour activer l'écran de verrouillage, veuillez configurer le code d'accès de l'appareil ou le verrouillage de l'écran dans les paramètres de votre système.",
"viewActiveSessions": "Afficher les sessions actives",
"authToViewYourActiveSessions": "Veuillez vous authentifier pour voir vos sessions actives",
"searchHint": "Rechercher...",
"search": "Rechercher",
"sorryUnableToGenCode": "Désolé, impossible de générer un code pour {issuerName}",
"noResult": "Aucun résultat",
"addCode": "Ajouter un code",
"scanAQrCode": "Scanner un QR Code",
"enterDetailsManually": "Saisir les détails manuellement",
"edit": "Éditer",
"copiedToClipboard": "Copié dans le presse-papiers",
"error": "Erreur",
"recoveryKeyCopiedToClipboard": "Clé de récupération copiée dans le presse-papiers",
"recoveryKeyOnForgotPassword": "Si vous oubliez votre mot de passe, la seule façon de récupérer vos données sera grâce à cette clé.",
"recoveryKeySaveDescription": "Nous ne stockons pas cette clé, veuillez enregistrer cette clé de 24 mots dans un endroit sûr.",
"doThisLater": "Plus tard",
"saveKey": "Enregistrer la clé",
"back": "Retour",
"createAccount": "Créer un compte",
"passwordStrength": "Force du mot de passe : {passwordStrengthValue}",
"@passwordStrength": {
"description": "Text to indicate the password strength",
"placeholders": {
"passwordStrengthValue": {
"description": "The strength of the password as a string",
"type": "String",
"example": "Weak or Moderate or Strong"
}
},
"message": "Password Strength: {passwordStrengthText}"
},
"password": "Mot de passe",
"signUpTerms": "J'accepte les <u-terms>conditions d'utilisation</u-terms> et la <u-policy>politique de confidentialité</u-policy>",
"privacyPolicyTitle": "Politique de confidentialité",
"termsOfServicesTitle": "Conditions",
"encryption": "Chiffrement",
"setPasswordTitle": "Définir le mot de passe",
"changePasswordTitle": "Modifier le mot de passe",
"resetPasswordTitle": "Réinitialiser le mot de passe",
"encryptionKeys": "Clés de chiffrement",
"passwordWarning": "Nous ne stockons pas ce mot de passe, donc si vous l'oubliez, <underline>nous ne pouvons pas déchiffrer vos données</underline>",
"enterPasswordToEncrypt": "Entrez un mot de passe que nous pouvons utiliser pour chiffrer vos données",
"enterNewPasswordToEncrypt": "Entrez un nouveau mot de passe que nous pouvons utiliser pour chiffrer vos données",
"passwordChangedSuccessfully": "Le mot de passe a été modifié avec succès",
"generatingEncryptionKeys": "Génération des clés de chiffrement...",
"continueLabel": "Continuer",
"insecureDevice": "Appareil non sécurisé",
"sorryWeCouldNotGenerateSecureKeysOnThisDevicennplease": "Désolé, nous n'avons pas pu générer de clés sécurisées sur cet appareil.\n\nVeuillez vous inscrire depuis un autre appareil.",
"howItWorks": "Comment ça fonctionne",
"ackPasswordLostWarning": "Je comprends que si je perds mon mot de passe, je risque de perdre mes données puisque celles-ci sont <underline>chiffrées de bout en bout</underline>.",
"loginTerms": "En cliquant sur \"Connexion\", j'accepte les <u-terms>conditions d'utilisation</u-terms> et la <u-policy>politique de confidentialité</u-policy>",
"logInLabel": "Connexion",
"logout": "Déconnexion",
"areYouSureYouWantToLogout": "Voulez-vous vraiment vous déconnecter?",
"yesLogout": "Oui, se déconnecter",
"exit": "Quitter",
"verifyingRecoveryKey": "Vérification de la clé de récupération...",
"recoveryKeyVerified": "Clé de récupération vérifiée",
"recoveryKeySuccessBody": "Parfait ! Votre clé de récupération est valide. Merci pour la vérification.\n\nN'oubliez pas de garder cette clé de récupération en lieu sûr.",
"invalidRecoveryKey": "La clé de récupération que vous avez saisie n'est pas valide. Assurez-vous qu'elle contient 24 mots et vérifiez l'orthographe de chacun.\n\nSi vous avez entré un ancien code de récupération, assurez-vous qu'il fait 64 caractères de long et vérifiez chacun d'entre eux.",
"recreatePasswordTitle": "Recréer le mot de passe",
"recreatePasswordBody": "L'appareil actuel n'est pas assez puissant pour vérifier votre mot de passe, donc nous avons besoin de le régénérer une fois d'une manière qu'il fonctionne avec tous les périphériques.\n\nVeuillez vous connecter en utilisant votre clé de récupération et régénérer votre mot de passe (vous pouvez utiliser le même si vous le souhaitez).",
"invalidKey": "Clé non valide",
"tryAgain": "Réessayer",
"viewRecoveryKey": "Voir la clé de récupération",
"confirmRecoveryKey": "Confirmer la clé de récupération",
"recoveryKeyVerifyReason": "Votre clé de récupération est la seule façon de récupérer vos photos si vous oubliez votre mot de passe. Vous pouvez trouver votre clé de récupération dans Paramètres > Compte.\n\nVeuillez entrer votre clé de récupération ici pour vous assurer que vous l'avez enregistrée correctement.",
"confirmYourRecoveryKey": "Confirmer la clé de récupération",
"confirm": "Confirmer",
"emailYourLogs": "Envoyez vos logs par e-mail",
"pleaseSendTheLogsTo": "Envoyez les logs à {toEmail}",
"copyEmailAddress": "Copier ladresse e-mail",
"exportLogs": "Exporter les journaux",
"enterYourRecoveryKey": "Entrez votre clé de récupération",
"tempErrorContactSupportIfPersists": "Il semble qu'une erreur s'est produite. Veuillez réessayer après un certain temps. Si l'erreur persiste, veuillez contacter notre équipe d'assistance.",
"itLooksLikeSomethingWentWrongPleaseRetryAfterSome": "Il semble qu'une erreur s'est produite. Veuillez réessayer après un certain temps. Si l'erreur persiste, veuillez contacter notre équipe d'assistance.",
"about": "À propos",
"weAreOpenSource": "Nous sommes open source !",
"privacy": "Confidentialité",
"terms": "Conditions",
"checkForUpdates": "Vérifier les mises à jour",
"checking": "Vérification...",
"youAreOnTheLatestVersion": "Vous êtes sur la dernière version",
"warning": "Attention",
"exportWarningDesc": "Le fichier exporté contient des informations sensibles. Veuillez le stocker en toute sécurité.",
"iUnderStand": "Jai compris",
"@iUnderStand": {
"description": "Text for the button to confirm the user understands the warning"
},
"authToExportCodes": "Veuillez vous authentifier pour exporter vos codes",
"importSuccessTitle": "Youpi !",
"importSuccessDesc": "Vous avez importé {count} codes !",
"@importSuccessDesc": {
"placeholders": {
"count": {
"description": "The number of codes imported",
"type": "int",
"example": "1"
}
}
},
"sorry": "Désolé",
"importFailureDesc": "Impossible d'analyser le fichier sélectionné.\nVeuillez écrire à support@ente.io si vous avez besoin d'aide !",
"pendingSyncs": "Attention",
"pendingSyncsWarningBody": "Certains de vos codes n'ont pas été sauvegardés.\n\nVeuillez vous assurer que vous avez une sauvegarde de ces codes avant de vous déconnecter.",
"checkInboxAndSpamFolder": "Veuillez consulter votre boîte de courriels (et les spam) pour compléter la vérification",
"tapToEnterCode": "Appuyez pour entrer un code",
"resendEmail": "Renvoyer le courriel",
"weHaveSendEmailTo": "Nous avons envoyé un mail à <green>{email}</green>",
"@weHaveSendEmailTo": {
"description": "Text to indicate that we have sent a mail to the user",
"placeholders": {
"email": {
"description": "The email address of the user",
"type": "String",
"example": "example@ente.io"
}
}
},
"activeSessions": "Sessions actives",
"somethingWentWrongPleaseTryAgain": "Quelque chose s'est mal passé, veuillez recommencer",
"thisWillLogYouOutOfThisDevice": "Cela vous déconnectera de cet appareil !",
"thisWillLogYouOutOfTheFollowingDevice": "Cela vous déconnectera de l'appareil suivant :",
"terminateSession": "Quitter la session ?",
"terminate": "Quitter",
"thisDevice": "Cet appareil",
"toResetVerifyEmail": "Pour réinitialiser votre mot de passe, veuillez d'abord vérifier votre e-mail.",
"thisEmailIsAlreadyInUse": "Cette adresse mail est déjà utilisé",
"verificationFailedPleaseTryAgain": "La vérification a échouée, veuillez réessayer",
"yourVerificationCodeHasExpired": "Votre code de vérification a expiré",
"incorrectCode": "Code non valide",
"sorryTheCodeYouveEnteredIsIncorrect": "Le code que vous avez saisi est incorrect",
"emailChangedTo": "L'e-mail a été changé en {newEmail}",
"authenticationFailedPleaseTryAgain": "L'authentification a échouée, veuillez réessayer",
"authenticationSuccessful": "Authentification réussie!",
"twofactorAuthenticationSuccessfullyReset": "L'authentification à deux facteurs a été réinitialisée avec succès ",
"incorrectRecoveryKey": "Clé de récupération non valide",
"theRecoveryKeyYouEnteredIsIncorrect": "La clé de récupération que vous avez entrée est incorrecte",
"enterPassword": "Saisissez le mot de passe",
"export": "Exporter"
}

320
lib/l10n/arb/app_it.arb Normal file
View File

@@ -0,0 +1,320 @@
{
"account": "Account",
"recoveryKey": "Chiave di recupero",
"counterAppBarTitle": "Contatore",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "Proteggi i tuoi codici 2FA",
"onBoardingGetStarted": "Per iniziare",
"setupFirstAccount": "Configura il tuo primo account",
"importScanQrCode": "Scansiona un codice QR",
"qrCode": "Codice QR",
"importEnterSetupKey": "Inserisci il codice segreto",
"importAccountPageTitle": "Inserisci i dettagli del tuo account",
"secretCanNotBeEmpty": "La chiave segreta è obbligatoria",
"bothIssuerAndAccountCanNotBeEmpty": "Sia l'emittente che l'account sono obbligatori",
"incorrectDetails": "Dettagli errati",
"pleaseVerifyDetails": "Verifica i dettagli e riprova",
"codeIssuerHint": "Emittente",
"codeSecretKeyHint": "Codice segreto",
"codeAccountHint": "Account (username@dominio.it)",
"accountKeyType": "Tipo di chiave",
"sessionExpired": "Sessione scaduta",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "Effettua nuovamente l'accesso",
"loggingOut": "Disconnessione...",
"timeBasedKeyType": "Basata sul tempo (TOTP)",
"counterBasedKeyType": "Basata su contatore (HOTP)",
"saveAction": "Salva",
"nextTotpTitle": "successivo",
"deleteCodeTitle": "Eliminare il codice?",
"deleteCodeMessage": "Sei sicuro di voler rimuovere questo codice? L'azione è irreversibile.",
"viewLogsAction": "Visualizza i log",
"sendLogsDescription": "Invierai i tuoi log per aiutarci a risolvere il tuo problema. Prendiamo precauzioni per garantire che le informazioni sensibili non siano registrate, tuttavia ti invitiamo a leggerli prima di condividerli con noi.",
"preparingLogsTitle": "Preparando i log...",
"emailLogsTitle": "Invia i log per email",
"emailLogsMessage": "Invia i log all'indirizzo {email}",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "Copia email",
"exportLogsAction": "Esporta log",
"reportABug": "Segnala un problema",
"crashAndErrorReporting": "Segnalazione degli errori e dei crash",
"reportBug": "Segnala un bug",
"emailUsMessage": "Per favore inviaci un'email a {email}",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "Contatta il supporto",
"rateUsOnStore": "Valutaci su {storeName}",
"blog": "Blog",
"merchandise": "Prodotti",
"verifyPassword": "Verifica la password",
"pleaseWait": "Attendere prego...",
"generatingEncryptionKeysTitle": "Generazione delle chiavi di crittografia...",
"recreatePassword": "Crea una nuova password",
"recreatePasswordMessage": "Il tuo dispositivo non è abbastanza potente per verificare la tua password, quindi abbiamo bisogno di rigenerarla in un modo che funziona con tutti i dispositivi. \n\nEffettua il login utilizzando la tua chiave di recupero e rigenera la tua password (puoi utilizzare nuovamente la stessa se vuoi).",
"useRecoveryKey": "Utilizza un codice di recupero",
"incorrectPasswordTitle": "Password sbagliata",
"welcomeBack": "Bentornato!",
"madeWithLoveAtPrefix": "realizzato con ❤️ a ",
"supportDevs": "Iscriviti a <bold-green>ente</bold-green> per supportare questo progetto.",
"supportDiscount": "Utilizzare il codice coupon \"AUTH\" per ottenere il 10% di sconto al primo anno",
"changeEmail": "modifica email",
"changePassword": "Cambia password",
"data": "Dati",
"importCodes": "Importa codici",
"importTypePlainText": "Testo in chiaro",
"importTypeEnteEncrypted": "ente Esportazione criptata",
"passwordForDecryptingExport": "Password per decriptare il file esportato",
"passwordEmptyError": "La password è obbligatoria",
"importFromApp": "Importa codici da {appName}",
"importGoogleAuthGuide": "Esporta i tuoi account da Google Authenticator in un codice QR utilizzando l'opzione \"Trasferisci Account\". Quindi, usando un altro dispositivo, scansiona il codice QR.\n\nSuggerimento: Puoi usare la webcam del tuo computer portatile per scattare una foto del codice QR.",
"importSelectJsonFile": "Seleziona file JSON",
"importEnteEncGuide": "Seleziona il file JSON criptato esportato da ente",
"importRaivoGuide": "Utilizza l'opzione \"Esporta i codici OTP in archivio Zip\" nelle impostazioni di Raivo.\n\nEstrai il file zip e importa il file JSON.",
"importAegisGuide": "Usa l'opzione \"Esporta la cassaforte\" nelle impostazioni di Aegis.\n\nSe la tua cassaforte è criptata, dovrai inserire la password della cassaforte per decriptarla.",
"exportCodes": "Esporta codici",
"importLabel": "Importa",
"importInstruction": "Per favore seleziona un file contenente una lista dei tuoi codici nel seguente formato",
"importCodeDelimiterInfo": "I codici possono essere separati da una virgola o da una nuova riga",
"selectFile": "Seleziona file",
"emailVerificationToggle": "Verifica Email",
"authToChangeEmailVerificationSetting": "Autenticati per cambiare la verifica email",
"authToViewYourRecoveryKey": "Autenticati per visualizzare la tua chiave di recupero",
"authToChangeYourEmail": "Autenticati per cambiare la tua email",
"authToChangeYourPassword": "Autenticati per cambiare la tua password",
"ok": "OK",
"cancel": "Annulla",
"yes": "Si",
"no": "No",
"email": "Email",
"support": "Supporto",
"settings": "Impostazioni",
"copied": "Copiato",
"pleaseTryAgain": "Per favore riprova",
"existingUser": "Accedi",
"newUser": "Nuovo utente",
"delete": "Cancella",
"enterYourPasswordHint": "Inserisci la tua password",
"forgotPassword": "Password dimenticata",
"oops": "Oops",
"suggestFeatures": "Suggerisci funzionalità",
"faq": "FAQ",
"faq_q_1": "Quanto è sicuro ente Auth?",
"faq_a_1": "Tutti i codici di cui fai il backup tramite ente sono memorizzati con crittografia end-to-end. Ciò significa che solo tu puoi accedere ai tuoi codici. Le nostre app sono open source e la nostra crittografia è stata verificata esternamente.",
"faq_q_2": "Posso accedere ai miei codici sul desktop?",
"faq_a_2": "Puoi accedere ai tuoi codici sul web @ auth.ente.io.",
"faq_q_3": "Come posso cancellare i codici?",
"faq_a_3": "Puoi eliminare un codice scorrendo il dito a sinistra sul codice in questione.",
"faq_q_4": "Come posso supportare questo progetto?",
"faq_a_4": "Puoi supportare lo sviluppo di questo progetto abbonandoti alla nostra app Photos @ ente.io.",
"faq_q_5": "Come posso abilitare il blocco FaceID in ente Auth",
"faq_a_5": "Puoi abilitare il blocco FaceID in Impostazioni → Sicurezza → Schermata di blocco.",
"somethingWentWrongMessage": "Qualcosa è andato storto, per favore riprova",
"leaveFamily": "Abbandona il piano famiglia",
"leaveFamilyMessage": "Sei sicuro di voler uscire dal piano famiglia?",
"inFamilyPlanMessage": "Sei un utente con piano famiglia!",
"swipeHint": "Scorri a sinistra per modificare o rimuovere i codici",
"scan": "Scansiona",
"scanACode": "Scansiona un codice",
"verify": "Verifica",
"verifyEmail": "Verifica email",
"enterCodeHint": "Inserisci il codice di 6 cifre dalla tua app di autenticazione",
"lostDeviceTitle": "Dispositivo perso?",
"twoFactorAuthTitle": "Autenticazione a due fattori",
"recoverAccount": "Recupera account",
"enterRecoveryKeyHint": "Inserisci la tua chiave di recupero",
"recover": "Recupera",
"contactSupportViaEmailMessage": "Per favore invia un'email a {email} dal tuo indirizzo email registrato",
"@contactSupportViaEmailMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"noRecoveryKeyTitle": "Nessuna chiave di recupero?",
"enterEmailHint": "Inserisci il tuo indirizzo email",
"invalidEmailTitle": "Indirizzo email non valido",
"invalidEmailMessage": "Inserisci un indirizzo email valido.",
"deleteAccount": "Elimina account",
"deleteAccountQuery": "Ci dispiace vederti andare via. Stai avendo qualche problema?",
"yesSendFeedbackAction": "Sì, invia un feedback",
"noDeleteAccountAction": "No, elimina l'account",
"initiateAccountDeleteTitle": "Si prega di autenticarsi per avviare l'eliminazione dell'account",
"confirmAccountDeleteTitle": "Sei sicuro di voler eliminare il tuo account?",
"confirmAccountDeleteMessage": "I tuoi dati caricati, in tutte le app (sia foto che autenticatore), verranno pianificati per la cancellazione, e il tuo account sarà eliminato in modo permanente.",
"sendEmail": "Invia email",
"createNewAccount": "Crea un nuovo account",
"weakStrength": "Debole",
"strongStrength": "Forte",
"moderateStrength": "Mediocre",
"confirmPassword": "Conferma la password",
"close": "Chiudi",
"oopsSomethingWentWrong": "Oops, qualcosa è andato storto.",
"selectLanguage": "Seleziona lingua",
"language": "Lingua",
"social": "Social",
"security": "Sicurezza",
"lockscreen": "Schermata di blocco",
"authToChangeLockscreenSetting": "Autenticati per modificare le impostazioni della schermata di blocco",
"lockScreenEnablePreSteps": "Per abilitare la schermata di blocco, configura il codice di accesso del dispositivo o il blocco schermo nelle impostazioni di sistema.",
"viewActiveSessions": "Visualizza sessioni attive",
"authToViewYourActiveSessions": "Autenticati per visualizzare le sessioni attive",
"searchHint": "Cerca...",
"search": "Cerca",
"sorryUnableToGenCode": "Spiacente, impossibile generare un codice per {issuerName}",
"noResult": "Nessun risultato",
"addCode": "Aggiungi codice",
"scanAQrCode": "Scansiona un codice QR",
"enterDetailsManually": "Inserisci i dettagli manualmente",
"edit": "Modifica",
"copiedToClipboard": "Copiato negli appunti",
"error": "Errore",
"recoveryKeyCopiedToClipboard": "Chiave di recupero copiata negli appunti",
"recoveryKeyOnForgotPassword": "Se dimentichi la password, l'unico modo per recuperare i tuoi dati è con questa chiave.",
"recoveryKeySaveDescription": "Non memorizziamo questa chiave, per favore salva questa chiave di 24 parole in un posto sicuro.",
"doThisLater": "Fallo più tardi",
"saveKey": "Salva chiave",
"back": "Indietro",
"createAccount": "Crea account",
"passwordStrength": "Forza password: {passwordStrengthValue}",
"@passwordStrength": {
"description": "Text to indicate the password strength",
"placeholders": {
"passwordStrengthValue": {
"description": "The strength of the password as a string",
"type": "String",
"example": "Weak or Moderate or Strong"
}
},
"message": "Password Strength: {passwordStrengthText}"
},
"password": "Password",
"signUpTerms": "Accetto i <u-terms>termini di servizio</u-terms> e la <u-policy>politica sulla privacy</u-policy>",
"privacyPolicyTitle": "Politica sulla Privacy",
"termsOfServicesTitle": "Termini",
"encryption": "Crittografia",
"setPasswordTitle": "Imposta password",
"changePasswordTitle": "Modifica password",
"resetPasswordTitle": "Reimposta password",
"encryptionKeys": "Chiavi di crittografia",
"passwordWarning": "Non memorizziamo questa password, quindi se te la dimentichi, <underline>non possiamo decriptare i tuoi dati</underline>",
"enterPasswordToEncrypt": "Inserisci una password per criptare i tuoi dati",
"enterNewPasswordToEncrypt": "Inserisci una nuova password per criptare i tuoi dati",
"passwordChangedSuccessfully": "Password modificata con successo",
"generatingEncryptionKeys": "Generazione delle chiavi di crittografia...",
"continueLabel": "Continua",
"insecureDevice": "Dispositivo non sicuro",
"sorryWeCouldNotGenerateSecureKeysOnThisDevicennplease": "Siamo spiacenti, non possiamo generare le chiavi sicure su questo dispositivo.\n\nPer favore, accedi da un altro dispositivo.",
"howItWorks": "Come funziona",
"ackPasswordLostWarning": "Comprendo che se perdo la password, potrei perdere l'accesso ai miei dati poiché i miei dati sono <underline>criptati end-to-end</underline>.",
"loginTerms": "Cliccando sul pulsante Accedi, accetto i <u-terms>termini di servizio</u-terms> e la <u-policy>politica sulla privacy</u-policy>",
"logInLabel": "Accedi",
"logout": "Disconnettiti",
"areYouSureYouWantToLogout": "Sei sicuro di volerti disconnettere?",
"yesLogout": "Si, effettua la disconnessione",
"exit": "Esci",
"verifyingRecoveryKey": "Verifica della chiave di recupero...",
"recoveryKeyVerified": "Chiave di recupero verificata",
"recoveryKeySuccessBody": "Ottimo! La tua chiave di recupero è valida. Grazie per averla verificata.\n\nRicordati di effettuare il backup sicuro della tua chiave di recupero.",
"invalidRecoveryKey": "La chiave di recupero che hai inserito non è valida. Assicurati che contenga 24 parole e controlla l'ortografia di ciascuna parola.\n\nSe hai inserito un vecchio codice di recupero, assicurati che sia lungo 64 caratteri e controlla ciascuno di essi.",
"recreatePasswordTitle": "Ricrea password",
"recreatePasswordBody": "Il dispositivo attuale non è abbastanza potente per verificare la tua password, ma la possiamo rigenerare in un modo che funzioni su tutti i dispositivi.\n\nEffettua il login utilizzando la tua chiave di recupero e rigenera la tua password (puoi utilizzare nuovamente la stessa se vuoi).",
"invalidKey": "Chiave non valida",
"tryAgain": "Riprova",
"viewRecoveryKey": "Visualizza chiave di recupero",
"confirmRecoveryKey": "Conferma chiave di recupero",
"recoveryKeyVerifyReason": "La tua chiave di recupero è l'unico modo per recuperare le foto se ti dimentichi la password. Puoi trovare la tua chiave di recupero in Impostazioni > Account.\n\nInserisci qui la tua chiave di recupero per verificare di averla salvata correttamente.",
"confirmYourRecoveryKey": "Conferma la tua chiave di recupero",
"confirm": "Conferma",
"emailYourLogs": "Invia una mail dei tuoi log",
"pleaseSendTheLogsTo": "Invia i log a \n{toEmail}",
"copyEmailAddress": "Copia indirizzo email",
"exportLogs": "Esporta log",
"enterYourRecoveryKey": "Inserisci la tua chiave di recupero",
"tempErrorContactSupportIfPersists": "Sembra che qualcosa sia andato storto. Riprova tra un po'. Se l'errore persiste, contatta il nostro team di supporto.",
"itLooksLikeSomethingWentWrongPleaseRetryAfterSome": "Sembra che qualcosa sia andato storto. Riprova tra un po'. Se l'errore persiste, contatta il nostro team di supporto.",
"about": "Informazioni",
"weAreOpenSource": "Siamo open source!",
"privacy": "Privacy",
"terms": "Termini",
"checkForUpdates": "Controlla aggiornamenti",
"checking": "Controllo...",
"youAreOnTheLatestVersion": "Stai utilizzando l'ultima versione",
"warning": "Attenzione",
"exportWarningDesc": "Il file esportato contiene informazioni sensibili. Si prega di memorizzarlo in maniera sicura.",
"iUnderStand": "Ho capito",
"@iUnderStand": {
"description": "Text for the button to confirm the user understands the warning"
},
"authToExportCodes": "Autenticati per esportare i tuoi codici",
"importSuccessTitle": "Evviva!",
"importSuccessDesc": "Hai importato {count} codici!",
"@importSuccessDesc": {
"placeholders": {
"count": {
"description": "The number of codes imported",
"type": "int",
"example": "1"
}
}
},
"sorry": "Scusa",
"importFailureDesc": "Impossibile analizzare il file selezionato.\nPer favore scrivi a support@ente.io se hai bisogno di aiuto!",
"pendingSyncs": "Attenzione",
"pendingSyncsWarningBody": "Non hai effettuato il backup di alcuni codici.\n\nPer favore assicurati di effettuare il backup di questi codici prima di disconnetterti.",
"checkInboxAndSpamFolder": "Per favore, controlla la tua casella di posta (e lo spam) per completare la verifica",
"tapToEnterCode": "Tocca per inserire il codice",
"resendEmail": "Rinvia email",
"weHaveSendEmailTo": "Abbiamo inviato una mail a <green>{email}</green>",
"@weHaveSendEmailTo": {
"description": "Text to indicate that we have sent a mail to the user",
"placeholders": {
"email": {
"description": "The email address of the user",
"type": "String",
"example": "example@ente.io"
}
}
},
"activeSessions": "Sessioni attive",
"somethingWentWrongPleaseTryAgain": "Qualcosa è andato storto, per favore riprova",
"thisWillLogYouOutOfThisDevice": "Questo ti disconnetterà da questo dispositivo!",
"thisWillLogYouOutOfTheFollowingDevice": "Questo ti disconnetterà dal seguente dispositivo:",
"terminateSession": "Termina sessione?",
"terminate": "Termina",
"thisDevice": "Questo dispositivo",
"toResetVerifyEmail": "Per reimpostare la tua password, prima verifica la tua email.",
"thisEmailIsAlreadyInUse": "Questa email é già in uso",
"verificationFailedPleaseTryAgain": "Verifica fallita, per favore riprova",
"yourVerificationCodeHasExpired": "Il tuo codice di verifica è scaduto",
"incorrectCode": "Codice errato",
"sorryTheCodeYouveEnteredIsIncorrect": "Spiacenti, il codice che hai inserito non è corretto",
"emailChangedTo": "Email modificata in {newEmail}",
"authenticationFailedPleaseTryAgain": "Autenticazione non riuscita, riprova",
"authenticationSuccessful": "Autenticazione riuscita!",
"twofactorAuthenticationSuccessfullyReset": "Autenticazione a due fattori ripristinata con successo",
"incorrectRecoveryKey": "Chiave di recupero errata",
"theRecoveryKeyYouEnteredIsIncorrect": "La chiave di recupero che hai inserito non è corretta",
"enterPassword": "Inserisci la password",
"selectExportFormat": "Seleziona formato di esportazione",
"exportDialogDesc": "Le esportazioni criptate saranno protette da una password a tua scelta.",
"encrypted": "Criptato",
"plainText": "Testo in chiaro",
"passwordToEncryptExport": "Password per criptare il file esportato",
"export": "Esporta"
}

267
lib/l10n/arb/app_ja.arb Normal file
View File

@@ -0,0 +1,267 @@
{
"account": "アカウント",
"recoveryKey": "回復キー",
"counterAppBarTitle": "カウンタ",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "2要素認証コードの保護",
"onBoardingGetStarted": "さあ、はじめよう",
"setupFirstAccount": "最初のアカウントを設定しましょう",
"importScanQrCode": "QRコードをスキャン",
"importEnterSetupKey": "セットアップキーを入力",
"importAccountPageTitle": "アカウントの詳細を入力",
"codeIssuerHint": "発行者",
"codeSecretKeyHint": "シークレットキー",
"codeAccountHint": "アカウント (you@domain.com)",
"accountKeyType": "キーの種類",
"sessionExpired": "セッションの有効期間超過",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "再度ログインしてください",
"loggingOut": "ログアウト中...",
"timeBasedKeyType": "時間ベース (TOTP)",
"counterBasedKeyType": "カウンタベース (HOTP)",
"saveAction": "保存",
"nextTotpTitle": "次へ",
"deleteCodeTitle": "コードを削除しますか?",
"deleteCodeMessage": "このコードを削除してもよろしいですか? このアクションは元に戻せません。",
"viewLogsAction": "ログの表示",
"sendLogsDescription": "問題のデバッグに役立つログが送信されます。機密情報が記録されないように予防措置を講じていますが、共有する前にこれらのログを確認することをお勧めします。",
"preparingLogsTitle": "ログを準備中...",
"emailLogsTitle": "ログをメール",
"emailLogsMessage": "{email} にログを送信してください",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "メールをコピー",
"exportLogsAction": "ログのエクスポート",
"reportABug": "バグを報告",
"crashAndErrorReporting": "クラッシュとエラーの報告",
"reportBug": "バグを報告",
"emailUsMessage": "{email} にメールでご連絡ください",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "サポートに問い合わせ",
"verifyPassword": "パスワードを確認",
"pleaseWait": "お待ちください...",
"generatingEncryptionKeysTitle": "暗号化キーを生成中...",
"recreatePassword": "パスワードを再設定",
"recreatePasswordMessage": "現在のデバイスは、パスワードを確認するのに十分ではありません。全てのデバイスで利用できるように再生成する必要があります。\n\nリカバリーキーを使用してログインし、パスワードを再生成してください (ご希望の場合は再度同じパスワードを使用できます)",
"useRecoveryKey": "回復キーを使用",
"incorrectPasswordTitle": "パスワードが正しくありません",
"welcomeBack": "おかえりなさい!",
"madeWithLoveAtPrefix": "made with ❤️ at ",
"supportDevs": "プロジェクト支援のために <bold-green>ente</bold-green> に登録",
"supportDiscount": "クーポンコード \"AUTH\" を使用すると、初年度が10%オフになります。",
"changeEmail": "メールアドレスを変更",
"changePassword": "パスワードを変更",
"data": "データ",
"importCodes": "コードをインポート",
"exportCodes": "コードをエクスポート",
"importInstruction": "以下のフォーマットで、コードのリストを含むファイルを選択してください",
"importCodeDelimiterInfo": "コードはカンマまたは改行で区切ることができます",
"selectFile": "ファイルを選択",
"authToViewYourRecoveryKey": "回復キーを表示するためには認証が必要です",
"authToChangeYourEmail": "メールアドレスを変更するためには認証が必要です",
"authToChangeYourPassword": "パスワードを変更するためには認証が必要です",
"ok": "OK",
"cancel": "キャンセル",
"yes": "はい",
"no": "いいえ",
"email": "Eメール",
"support": "サポート",
"settings": "設定",
"copied": "コピーしました",
"pleaseTryAgain": "再度お試しください",
"existingUser": "既存のユーザー",
"newUser": "ente 新規ユーザー",
"delete": "削除",
"enterYourPasswordHint": "パスワードを入力してください",
"forgotPassword": "パスワードを忘れた場合",
"oops": "おっと",
"somethingWentWrongMessage": "問題が発生しました、再試行してください",
"leaveFamily": "ファミリーから退会",
"leaveFamilyMessage": "本当にファミリープランを退会しますか?",
"inFamilyPlanMessage": "ファミリープランに入会しています!",
"swipeHint": "左にスワイプしてコードを編集、削除します",
"scan": "スキャン",
"scanACode": "コードをスキャン",
"verify": "認証",
"verifyEmail": "メールアドレス認証",
"enterCodeHint": "認証アプリに表示された6ケタのコードを入力してください",
"lostDeviceTitle": "デバイスを紛失しましたか?",
"twoFactorAuthTitle": "2要素認証",
"recoverAccount": "アカウント回復",
"enterRecoveryKeyHint": "回復キーを入力",
"recover": "回復",
"contactSupportViaEmailMessage": "登録したメールアドレスから {email} に問い合わせメールをお送りください",
"@contactSupportViaEmailMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"noRecoveryKeyTitle": "回復キーがありませんか?",
"enterEmailHint": "メールアドレスを入力してください",
"invalidEmailTitle": "メールアドレスが無効です",
"invalidEmailMessage": "有効なメール アドレスを入力して下さい",
"deleteAccount": "アカウント削除",
"deleteAccountQuery": "ご不便をおかけして申し訳ありません。なにか問題が発生していますか?",
"yesSendFeedbackAction": "はい、フィードバックを送信します",
"noDeleteAccountAction": "いいえ、アカウントを削除します",
"initiateAccountDeleteTitle": "アカウント削除を開始するには認証してください",
"confirmAccountDeleteTitle": "本当に ente アカウントを削除してよろしいですか?",
"confirmAccountDeleteMessage": "アップロードされたデータは、すべてのアプリ(写真と認証アプリの両方) で削除がスケジュールされます。アカウントは完全に削除されます。",
"sendEmail": "メール送信",
"createNewAccount": "新規アカウント作成",
"weakStrength": "脆弱",
"strongStrength": "強力",
"moderateStrength": "まあまあ",
"confirmPassword": "パスワードの確認",
"close": "閉じる",
"oopsSomethingWentWrong": "問題が発生しました",
"selectLanguage": "言語の選択",
"language": "言語",
"social": "ソーシャル",
"security": "セキュリティ",
"lockscreen": "ロックスクリーン",
"authToChangeLockscreenSetting": "ロックスクリーン設定を変更するためには認証が必要です",
"lockScreenEnablePreSteps": "ロックスクリーンを有効にするには、システム設定でデバイスのパスコードまたはスクリーンロックを設定してください。",
"viewActiveSessions": "アクティブなセッションを表示",
"authToViewYourActiveSessions": "アクティブセッションを表示するためには認証が必要です",
"searchHint": "検索...",
"search": "検索",
"sorryUnableToGenCode": "申し訳ありません、 {issuerName} 用のコードを生成できません",
"noResult": "該当結果なし",
"addCode": "コードを追加",
"scanAQrCode": "QRコードをスキャン",
"enterDetailsManually": "手動で詳細を入力する",
"edit": "編集",
"copiedToClipboard": "クリップボードにコピーされました",
"error": "エラー",
"recoveryKeyCopiedToClipboard": "回復キーがクリップボードにコピーされました",
"recoveryKeyOnForgotPassword": "パスワードを忘れた場合、データを回復できる唯一の方法がこのキーです。",
"recoveryKeySaveDescription": "このキーは保存されません。この24単語のキーを安全な場所に保存してください。",
"doThisLater": "後で行う",
"saveKey": "キーを保存",
"createAccount": "アカウント作成",
"passwordStrength": "パスワードの強度: {passwordStrengthValue}",
"@passwordStrength": {
"description": "Text to indicate the password strength",
"placeholders": {
"passwordStrengthValue": {
"description": "The strength of the password as a string",
"type": "String",
"example": "Weak or Moderate or Strong"
}
},
"message": "Password Strength: {passwordStrengthText}"
},
"password": "パスワード",
"signUpTerms": "<u-terms>利用規約</u-terms> と <u-policy>プライバシー ポリシー</u-policy> に同意します",
"privacyPolicyTitle": "プライバシーポリシー",
"termsOfServicesTitle": "利用規約",
"encryption": "暗号化",
"setPasswordTitle": "パスワードの設定",
"changePasswordTitle": "パスワードの変更",
"resetPasswordTitle": "パスワードのリセット",
"encryptionKeys": "暗号化キー",
"passwordWarning": "私たちはこのパスワードを保存していないため、もしあなたが忘れた場合、 <underline>あなたのデータを復号することはできません</underline>",
"enterPasswordToEncrypt": "データの暗号化に使用するパスワードを入力してください",
"enterNewPasswordToEncrypt": "データの暗号化に使用する新しいパスワードを入力してください",
"passwordChangedSuccessfully": "パスワードを変更しました",
"generatingEncryptionKeys": "暗号化キーを生成中...",
"continueLabel": "続行",
"insecureDevice": "安全ではないデバイス",
"sorryWeCouldNotGenerateSecureKeysOnThisDevicennplease": "申し訳ありませんが、このデバイスでは安全なキーを生成できませんでした。\n\n別のデバイスからサインアップしてください。",
"howItWorks": "動作の仕組み",
"ackPasswordLostWarning": "私のデータは <underline>エンドツーエンドで暗号化される</underline>ため、パスワードを紛失した場合、データが失われる可能性があることを理解しています。",
"loginTerms": "ログインをクリックした場合、 <u-terms>利用規約</u-terms> および <u-policy>プライバシー ポリシー</u-policy> に同意するものとします。",
"logInLabel": "ログイン",
"logout": "ログアウト",
"areYouSureYouWantToLogout": "本当にログアウトしてよろしいですか?",
"yesLogout": "はい、ログアウトします",
"exit": "やめる",
"verifyingRecoveryKey": "回復キーを確認中...",
"recoveryKeyVerified": "回復キーが確認されました",
"recoveryKeySuccessBody": "素晴らしい! 回復キーは有効です。ご確認いただきありがとうございます。\n\n回復キーを安全にバックアップしておいてください。",
"invalidRecoveryKey": "入力されたリカバリーキーが無効です。24単語が含まれていることを確認し、それぞれのスペルを確認してください。\n\n古い形式の回復コードを入力した場合は、64文字であることを確認して、それぞれを確認してください。",
"recreatePasswordTitle": "パスワードを再設定",
"recreatePasswordBody": "現在のデバイスは、パスワードを確認するのに十分ではありません。全てのデバイスで利用できるように再生成する必要があります。\n回復キーを使用してログインし、パスワードを再生成してください (ご希望の場合は再度同じパスワードを使用できます)",
"invalidKey": "キーが無効",
"tryAgain": "再試行",
"viewRecoveryKey": "回復キーを表示",
"confirmRecoveryKey": "回復キーを確認",
"recoveryKeyVerifyReason": "パスワードを忘れた場合、回復キーは写真を復元するための唯一の方法です。設定 > アカウント で回復キーを確認することができます。\n \n\n 回復キーを入力して、正しく保存したことを確認してください。",
"confirmYourRecoveryKey": "回復キーを確認",
"confirm": "確認",
"emailYourLogs": "ログをメールで送信",
"pleaseSendTheLogsTo": "ログを以下のアドレスに送信してください \n{toEmail}",
"copyEmailAddress": "メールアドレスをコピー",
"exportLogs": "ログのエクスポート",
"enterYourRecoveryKey": "回復キーを入力",
"tempErrorContactSupportIfPersists": "問題が発生したようです。しばらくしてから再試行してください。エラーが解決しない場合は、サポートチームにお問い合わせください。",
"itLooksLikeSomethingWentWrongPleaseRetryAfterSome": "問題が発生したようです。しばらくしてから再試行してください。エラーが解決しない場合は、サポートチームにお問い合わせください。",
"about": "情報",
"weAreOpenSource": "我々はオープンソースです!",
"privacy": "プライバシー",
"terms": "利用規約",
"checkForUpdates": "アップデートを確認",
"checking": "確認中…",
"youAreOnTheLatestVersion": "あなたは最新バージョンを使用しています",
"warning": "警告",
"exportWarningDesc": "エクスポートされたファイルには機密情報が含まれています。安全に保管してください。",
"iUnderStand": "理解しました",
"@iUnderStand": {
"description": "Text for the button to confirm the user understands the warning"
},
"authToExportCodes": "コードをエクスポートするためには認証が必要です",
"importSuccessTitle": "やりました!",
"importSuccessDesc": "{count} 個のコードをインポートしました!",
"@importSuccessDesc": {
"placeholders": {
"count": {
"description": "The number of codes imported",
"type": "int",
"example": "1"
}
}
},
"sorry": "申し訳ありません",
"importFailureDesc": "選択したファイルを解析できませんでした。\nsupport@ente.io までご連絡ください。",
"pendingSyncs": "警告",
"pendingSyncsWarningBody": "いくつかのコードがバックアップされていません。\n\nログアウトする前に、これらのコードのバックアップがあることを確認してください。",
"checkInboxAndSpamFolder": "受信トレイ (および迷惑メール) を確認して認証を完了してください",
"tapToEnterCode": "タップしてコード入力",
"resendEmail": "メールを再送信",
"weHaveSendEmailTo": "<green>{email}</green> にメールを送信しました",
"@weHaveSendEmailTo": {
"description": "Text to indicate that we have sent a mail to the user",
"placeholders": {
"email": {
"description": "The email address of the user",
"type": "String",
"example": "example@ente.io"
}
}
},
"activeSessions": "アクティブセッション",
"somethingWentWrongPleaseTryAgain": "問題が発生しました、再試行してください",
"thisWillLogYouOutOfThisDevice": "このデバイスからログアウトします!",
"thisWillLogYouOutOfTheFollowingDevice": "以下のデバイスからログアウトします:",
"terminateSession": "セッションを終了しますか?",
"terminate": "終了",
"thisDevice": "このデバイス"
}

320
lib/l10n/arb/app_nl.arb Normal file
View File

@@ -0,0 +1,320 @@
{
"account": "Account",
"recoveryKey": "Herstelsleutel",
"counterAppBarTitle": "Teller",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "Beveilig je 2FA codes",
"onBoardingGetStarted": "Begin",
"setupFirstAccount": "Maak je account aan",
"importScanQrCode": "Scan een QR-code",
"qrCode": "QR Code",
"importEnterSetupKey": "Voer een toegangssleutel in",
"importAccountPageTitle": "Accountgegevens invoeren",
"secretCanNotBeEmpty": "Geheime code mag niet leeg zijn",
"bothIssuerAndAccountCanNotBeEmpty": "Uitgever en account kunnen niet beiden leeg zijn",
"incorrectDetails": "Onjuiste gegevens",
"pleaseVerifyDetails": "Controleer je gegevens en probeer het nog eens",
"codeIssuerHint": "Uitgever",
"codeSecretKeyHint": "Geheime sleutel",
"codeAccountHint": "Account (jij@domein.nl)",
"accountKeyType": "Type sleutel",
"sessionExpired": "Sessie verlopen",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "Log opnieuw in",
"loggingOut": "Bezig met uitloggen...",
"timeBasedKeyType": "Tijd gebaseerd (TOTP)",
"counterBasedKeyType": "Teller gebaseerd (HOTP)",
"saveAction": "Opslaan",
"nextTotpTitle": "volgende",
"deleteCodeTitle": "Code verwijderen?",
"deleteCodeMessage": "Weet je zeker dat je deze code wilt verwijderen? Deze actie is onomkeerbaar.",
"viewLogsAction": "Bekijk logs",
"sendLogsDescription": "Dit zal logs verzenden om ons te helpen uw probleem op te lossen. Hoewel we voorzorgsmaatregelen nemen om ervoor te zorgen dat gevoelige informatie niet wordt gedeeld, raden we je aan deze logs te bekijken voordat je ze deelt.",
"preparingLogsTitle": "Klaarmaken...",
"emailLogsTitle": "E-mail logs",
"emailLogsMessage": "Verstuur de logs alsjeblieft naar {email}",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "E-mail kopiëren",
"exportLogsAction": "Logs exporteren",
"reportABug": "Een fout melden",
"crashAndErrorReporting": "Crash- en foutrapportage",
"reportBug": "Een fout melden",
"emailUsMessage": "Stuur ons een e-mail op {email}",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "Klantenservice",
"rateUsOnStore": "Beoordeel ons op {storeName}",
"blog": "Blog",
"merchandise": "Merchandise",
"verifyPassword": "Bevestig wachtwoord",
"pleaseWait": "Een ogenblik geduld...",
"generatingEncryptionKeysTitle": "Encryptiesleutels genereren...",
"recreatePassword": "Wachtwoord opnieuw instellen",
"recreatePasswordMessage": "Het huidige apparaat is niet krachtig genoeg om je wachtwoord te verifiëren, dus moeten we de code een keer opnieuw genereren op een manier die met alle apparaten werkt.\n\nLog in met behulp van uw herstelcode en genereer opnieuw uw wachtwoord (je kunt dezelfde indien gewenst opnieuw gebruiken).",
"useRecoveryKey": "Herstelsleutel gebruiken",
"incorrectPasswordTitle": "Onjuist wachtwoord",
"welcomeBack": "Welkom terug!",
"madeWithLoveAtPrefix": "gemaakt met ❤️ door ",
"supportDevs": "Abonneer je op <bold-green>ente</bold-green> om dit project te steunen.",
"supportDiscount": "Gebruik couponcode \"AUTH\" om 10% korting te krijgen op het eerste jaar",
"changeEmail": "e-mailadres wijzigen",
"changePassword": "Wachtwoord wijzigen",
"data": "Gegevens",
"importCodes": "Codes importeren",
"importTypePlainText": "Kale tekst",
"importTypeEnteEncrypted": "ente versleutelde export",
"passwordForDecryptingExport": "Wachtwoord voor het decoderen van export",
"passwordEmptyError": "Wachtwoord kan niet leeg zijn",
"importFromApp": "Importeer codes van {appName}",
"importGoogleAuthGuide": "Exporteer uw accounts van Google Authenticator naar een QR-code met behulp van de optie \"Transfer Accounts\". Met een ander apparaat scan je de QR-code.\n\nTip: Je kunt de webcam van je laptop gebruiken om een foto van de QR-code te maken.",
"importSelectJsonFile": "Selecteer JSON bestand",
"importEnteEncGuide": "Selecteer het versleutelde JSON-bestand dat vanuit ente geëxporteerd is",
"importRaivoGuide": "Gebruik de optie \"Export OTPs to Zip archive\" in Raivo's instellingen.\n\nPak het zip-bestand uit en importeer het JSON-bestand.",
"importAegisGuide": "Gebruik de optie \"Exporteer de kluis\" in de instellingen van Aegis.\n\nAls uw kluis is versleuteld, moet u het wachtwoord invoeren om de kluis te ontsleutelen.",
"exportCodes": "Codes exporteren",
"importLabel": "Importeren",
"importInstruction": "Selecteer een bestand dat een lijst van uw codes in de volgende indeling bevat",
"importCodeDelimiterInfo": "De codes mogen gescheiden worden door een komma of een nieuwe regel",
"selectFile": "Bestand selecteren",
"emailVerificationToggle": "E-mailverificatie",
"authToChangeEmailVerificationSetting": "Gelieve te verifiëren om de e-mailverificatie te wijzigen",
"authToViewYourRecoveryKey": "Graag verifiëren om uw herstelsleutel te bekijken",
"authToChangeYourEmail": "Graag verifiëren om je e-mailadres te wijzigen",
"authToChangeYourPassword": "Graag verifiëren om je wachtwoord te wijzigen",
"ok": "Oké",
"cancel": "Annuleer",
"yes": "Ja",
"no": "Nee",
"email": "E-mail",
"support": "Ondersteuning",
"settings": "Instellingen",
"copied": "Gekopieerd",
"pleaseTryAgain": "Probeer het nog eens",
"existingUser": "Bestaande gebruiker",
"newUser": "Nieuw bij ente",
"delete": "Verwijderen",
"enterYourPasswordHint": "Voer je wachtwoord in",
"forgotPassword": "Wachtwoord vergeten",
"oops": "Oeps",
"suggestFeatures": "Features voorstellen",
"faq": "Veelgestelde vragen",
"faq_q_1": "Hoe veilig is ente Auth?",
"faq_a_1": "Alle codes in ente zijn versleuteld opgeslagen met end-to-end encryptie. Dit betekent dat alleen jij toegang hebt tot je codes. Onze apps zijn open source en onze cryptografie is extern gecontroleerd.",
"faq_q_2": "Kan ik toegang krijgen tot mijn codes op desktop?",
"faq_a_2": "U heeft toegang tot uw codes op het web @ auth.ente.io.",
"faq_q_3": "Hoe kan ik codes verwijderen?",
"faq_a_3": "Je kunt een code verwijderen door naar links te vegen op dat item.",
"faq_q_4": "Hoe kan ik dit project steunen?",
"faq_a_4": "U kunt de ontwikkeling van dit project steunen door u te abonneren op onze Photos app @ ente.io.",
"faq_q_5": "Hoe kan ik FaceID lock inschakelen in ente Auth",
"faq_a_5": "Je kunt FaceID vergrendelen onder Instellingen → Beveiliging → Lockscreen.",
"somethingWentWrongMessage": "Er is iets fout gegaan, probeer het opnieuw",
"leaveFamily": "Familie verlaten",
"leaveFamilyMessage": "Weet je zeker dat je het familie-plan wil verlaten?",
"inFamilyPlanMessage": "Je hebt een familie-plan!",
"swipeHint": "Veeg naar links om codes te bewerken of te verwijderen",
"scan": "Scannen",
"scanACode": "Scan een code",
"verify": "Verifiëren",
"verifyEmail": "Bevestig e-mail",
"enterCodeHint": "Voer de 6-cijferige code van je verificatie-app in",
"lostDeviceTitle": "Apparaat verloren?",
"twoFactorAuthTitle": "Tweestapsverificatie",
"recoverAccount": "Account herstellen",
"enterRecoveryKeyHint": "Voer je herstelsleutel in",
"recover": "Herstellen",
"contactSupportViaEmailMessage": "Verstuur a.u.b. een e-mail naar {email} van uw geregistreerde e-mailadres",
"@contactSupportViaEmailMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"noRecoveryKeyTitle": "Geen herstelsleutel?",
"enterEmailHint": "Voer je e-mailadres in",
"invalidEmailTitle": "Ongeldig e-mailadres",
"invalidEmailMessage": "Voer een geldig e-mailadres in.",
"deleteAccount": "Account verwijderen",
"deleteAccountQuery": "We zullen het vervelend vinden om je te zien vertrekken. Zijn er problemen?",
"yesSendFeedbackAction": "Ja, geef feedback",
"noDeleteAccountAction": "Nee, verwijder account",
"initiateAccountDeleteTitle": "Gelieve te verifiëren om het account te verwijderen",
"confirmAccountDeleteTitle": "Weet je zeker dat je je ente account wil verwijderen?",
"confirmAccountDeleteMessage": "Uw geüploade gegevens, in alle apps (Photos en Authenticator), worden ingepland voor verwijdering en uw account zal permanent worden verwijderd.",
"sendEmail": "E-mail versturen",
"createNewAccount": "Nieuw account aanmaken",
"weakStrength": "Zwak",
"strongStrength": "Sterk",
"moderateStrength": "Matig",
"confirmPassword": "Wachtwoord bevestigen",
"close": "Sluiten",
"oopsSomethingWentWrong": "Oeps, er is iets fout gegaan.",
"selectLanguage": "Taal kiezen",
"language": "Taal",
"social": "Sociale media",
"security": "Beveiliging",
"lockscreen": "Vergrendelscherm",
"authToChangeLockscreenSetting": "Graag verifiëren om de vergrendelscherm instellingen te wijzigen",
"lockScreenEnablePreSteps": "Om vergrendelscherm in te schakelen, moet u een toegangscode of schermvergrendeling instellen in uw systeeminstellingen.",
"viewActiveSessions": "Actieve sessies bekijken",
"authToViewYourActiveSessions": "Graag verifiëren om uw actieve sessies te bekijken",
"searchHint": "Zoeken...",
"search": "Zoeken",
"sorryUnableToGenCode": "Sorry, kan geen code genereren voor {issuerName}",
"noResult": "Geen resultaat",
"addCode": "Code toevoegen",
"scanAQrCode": "Scan QR-code",
"enterDetailsManually": "Voer gegevens handmatig in",
"edit": "Bewerken",
"copiedToClipboard": "Gekopieerd naar klembord",
"error": "Foutmelding",
"recoveryKeyCopiedToClipboard": "Herstelsleutel gekopieerd naar klembord",
"recoveryKeyOnForgotPassword": "Als je je wachtwoord vergeet, kun je alleen met deze code je gegevens herstellen.",
"recoveryKeySaveDescription": "We slaan deze code niet op, bewaar deze code met 24 woorden op een veilige plaats.",
"doThisLater": "Doe dit later",
"saveKey": "Sleutel opslaan",
"back": "Terug",
"createAccount": "Account aanmaken",
"passwordStrength": "Wachtwoord sterkte: {passwordStrengthValue}",
"@passwordStrength": {
"description": "Text to indicate the password strength",
"placeholders": {
"passwordStrengthValue": {
"description": "The strength of the password as a string",
"type": "String",
"example": "Weak or Moderate or Strong"
}
},
"message": "Password Strength: {passwordStrengthText}"
},
"password": "Wachtwoord",
"signUpTerms": "Ik ga akkoord met de <u-terms>gebruiksvoorwaarden</u-terms> en <u-policy>privacybeleid</u-policy>",
"privacyPolicyTitle": "Privacybeleid",
"termsOfServicesTitle": "Voorwaarden",
"encryption": "Encryptie",
"setPasswordTitle": "Wachtwoord instellen",
"changePasswordTitle": "Wachtwoord wijzigen",
"resetPasswordTitle": "Wachtwoord resetten",
"encryptionKeys": "Encryptiesleutels",
"passwordWarning": "Wij slaan dit wachtwoord niet op, dus als je het vergeet, <underline>kunnen we jouw gegevens niet ontsleutelen</underline>",
"enterPasswordToEncrypt": "Voer een wachtwoord in dat we kunnen gebruiken om je gegevens te versleutelen",
"enterNewPasswordToEncrypt": "Voer een nieuw wachtwoord in dat we kunnen gebruiken om je gegevens te versleutelen",
"passwordChangedSuccessfully": "Wachtwoord succesvol aangepast",
"generatingEncryptionKeys": "Encryptiesleutels worden gegenereerd...",
"continueLabel": "Doorgaan",
"insecureDevice": "Onveilig apparaat",
"sorryWeCouldNotGenerateSecureKeysOnThisDevicennplease": "Sorry, we konden geen beveiligde sleutels genereren op dit apparaat.\n\nMeld je aan vanaf een ander apparaat.",
"howItWorks": "Hoe het werkt",
"ackPasswordLostWarning": "Ik begrijp dat als ik mijn wachtwoord verlies, ik mijn gegevens kan verliezen omdat mijn gegevens <underline>end-to-end versleuteld</underline> zijn.",
"loginTerms": "Door op inloggen te klikken, ga ik akkoord met de <u-terms>gebruiksvoorwaarden</u-terms> en <u-policy>privacybeleid</u-policy>",
"logInLabel": "Inloggen",
"logout": "Uitloggen",
"areYouSureYouWantToLogout": "Weet je zeker dat je wilt uitloggen?",
"yesLogout": "Ja, uitloggen",
"exit": "Afsluiten",
"verifyingRecoveryKey": "Herstelsleutel verifiëren...",
"recoveryKeyVerified": "Herstelsleutel geverifieerd",
"recoveryKeySuccessBody": "Super! Je herstelsleutel is geldig. Bedankt voor het verifiëren.\n\nVergeet niet om je herstelsleutel veilig te bewaren.",
"invalidRecoveryKey": "De herstelsleutel die je hebt ingevoerd is niet geldig. Zorg ervoor dat deze 24 woorden bevat en controleer de spelling van elk van deze woorden.\n\nAls je een oudere herstelsleutel hebt ingevoerd, zorg ervoor dat deze 64 tekens lang is, en controleer ze allemaal.",
"recreatePasswordTitle": "Wachtwoord opnieuw instellen",
"recreatePasswordBody": "Het huidige apparaat is niet krachtig genoeg om je wachtwoord te verifiëren, dus moeten we de code een keer opnieuw genereren op een manier die met alle apparaten werkt.\n\nLog in met behulp van uw herstelsleutel en genereer opnieuw uw wachtwoord (je kunt dezelfde indien gewenst opnieuw gebruiken).",
"invalidKey": "Ongeldige sleutel",
"tryAgain": "Probeer opnieuw",
"viewRecoveryKey": "Toon herstelsleutel",
"confirmRecoveryKey": "Bevestig herstelsleutel",
"recoveryKeyVerifyReason": "Je herstelsleutel is de enige manier om je foto's te herstellen als je je wachtwoord bent vergeten. Je vindt je herstelsleutel in Instellingen > Account.\n\nVoer hier je herstelsleutel in om te controleren of je hem correct hebt opgeslagen.",
"confirmYourRecoveryKey": "Bevestig herstelsleutel",
"confirm": "Bevestig",
"emailYourLogs": "E-mail uw logs",
"pleaseSendTheLogsTo": "Verstuur de logs alsjeblieft naar {toEmail}",
"copyEmailAddress": "E-mailadres kopiëren",
"exportLogs": "Logs exporteren",
"enterYourRecoveryKey": "Voer je herstelsleutel in",
"tempErrorContactSupportIfPersists": "Het lijkt erop dat er iets fout is gegaan. Probeer het later opnieuw. Als de fout zich blijft voordoen, neem dan contact op met ons supportteam.",
"itLooksLikeSomethingWentWrongPleaseRetryAfterSome": "Het lijkt erop dat er iets fout is gegaan. Probeer het later opnieuw. Als de fout zich blijft voordoen, neem dan contact op met ons supportteam.",
"about": "Over",
"weAreOpenSource": "We zijn open source!",
"privacy": "Privacy",
"terms": "Voorwaarden",
"checkForUpdates": "Controleer op updates",
"checking": "Controleren...",
"youAreOnTheLatestVersion": "Je hebt de meest recente versie",
"warning": "Waarschuwing",
"exportWarningDesc": "Het geëxporteerde bestand bevat gevoelige informatie. Bewaar deze veilig.",
"iUnderStand": "Ik begrijp het",
"@iUnderStand": {
"description": "Text for the button to confirm the user understands the warning"
},
"authToExportCodes": "Graag verifiëren om je codes te exporteren",
"importSuccessTitle": "Joepie!",
"importSuccessDesc": "Je hebt {count} codes geïmporteerd!",
"@importSuccessDesc": {
"placeholders": {
"count": {
"description": "The number of codes imported",
"type": "int",
"example": "1"
}
}
},
"sorry": "Sorry",
"importFailureDesc": "Kan het geselecteerde bestand niet analyseren.\nStuur een e-mail naar support@ente.io als u hulp nodig heeft!",
"pendingSyncs": "Waarschuwing",
"pendingSyncsWarningBody": "Sommige van uw codes zijn niet geback-upt.\n\nZorg ervoor dat u een back-up voor deze codes heeft voordat u uitlogt.",
"checkInboxAndSpamFolder": "Controleer je inbox (en spam) om verificatie te voltooien",
"tapToEnterCode": "Tik om code in te voeren",
"resendEmail": "E-mail opnieuw versturen",
"weHaveSendEmailTo": "We hebben een e-mail gestuurd naar <green>{email}</green>",
"@weHaveSendEmailTo": {
"description": "Text to indicate that we have sent a mail to the user",
"placeholders": {
"email": {
"description": "The email address of the user",
"type": "String",
"example": "example@ente.io"
}
}
},
"activeSessions": "Actieve sessies",
"somethingWentWrongPleaseTryAgain": "Er is iets fout gegaan, probeer het opnieuw",
"thisWillLogYouOutOfThisDevice": "Dit zal je uitloggen van dit apparaat!",
"thisWillLogYouOutOfTheFollowingDevice": "Dit zal je uitloggen van het volgende apparaat:",
"terminateSession": "Sessie beëindigen?",
"terminate": "Beëindigen",
"thisDevice": "Dit apparaat",
"toResetVerifyEmail": "Verifieer eerst je e-mailadres om je wachtwoord opnieuw in te stellen.",
"thisEmailIsAlreadyInUse": "Dit e-mailadres is al in gebruik",
"verificationFailedPleaseTryAgain": "Verificatie mislukt, probeer het opnieuw",
"yourVerificationCodeHasExpired": "Uw verificatiecode is verlopen",
"incorrectCode": "Onjuiste code",
"sorryTheCodeYouveEnteredIsIncorrect": "Sorry, de ingevoerde code is onjuist",
"emailChangedTo": "E-mailadres gewijzigd naar {newEmail}",
"authenticationFailedPleaseTryAgain": "Verificatie mislukt, probeer het opnieuw",
"authenticationSuccessful": "Verificatie geslaagd!",
"twofactorAuthenticationSuccessfullyReset": "Tweestapsverificatie succesvol gereset",
"incorrectRecoveryKey": "Onjuiste herstelsleutel",
"theRecoveryKeyYouEnteredIsIncorrect": "De ingevoerde herstelsleutel is onjuist",
"enterPassword": "Voer wachtwoord in",
"selectExportFormat": "Selecteer export formaat",
"exportDialogDesc": "Versleutelde exports worden beschermd door een wachtwoord van uw keuze.",
"encrypted": "Versleuteld",
"plainText": "Kale tekst",
"passwordToEncryptExport": "Wachtwoord voor het versleutelen van export",
"export": "Exporteren"
}

267
lib/l10n/arb/app_pl.arb Normal file
View File

@@ -0,0 +1,267 @@
{
"account": "Konto",
"recoveryKey": "Klucz odzyskiwania",
"counterAppBarTitle": "Licznik",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "Zabezpiecz swoje kody 2FA",
"onBoardingGetStarted": "Wprowadzenie",
"setupFirstAccount": "Skonfiguruj pierwsze konto",
"importScanQrCode": "Zeskanuj kod QR",
"importEnterSetupKey": "Wprowadź klucz",
"importAccountPageTitle": "Wprowadź dane konta",
"codeIssuerHint": "Wydawca",
"codeSecretKeyHint": "Tajny klucz",
"codeAccountHint": "Konto (ty@domena.com)",
"accountKeyType": "Rodzaj klucza",
"sessionExpired": "Sesja wygasła",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "Prosimy zaloguj się ponownie",
"loggingOut": "Wylogowywanie...",
"timeBasedKeyType": "Oparte na czasie (TOTP)",
"counterBasedKeyType": "Oparte na liczniku (HOTP)",
"saveAction": "Zapisz",
"nextTotpTitle": "dalej",
"deleteCodeTitle": "Usunąć kod?",
"deleteCodeMessage": "Czy na pewno chcesz usunąć ten kod? Ta akcja jest nieodwracalna.",
"viewLogsAction": "Wyświetl logi",
"sendLogsDescription": "Spowoduje to przesłanie logów, które pomogą nam rozwiązać Twój problem. Chociaż podejmujemy środki ostrożności, aby zapewnić, że wrażliwe informacje nie są rejestrowane, zachęcamy do obejrzenia tych dzienników przed ich udostępnieniem.",
"preparingLogsTitle": "Przygotowanie logów...",
"emailLogsTitle": "Wyślij log mailem",
"emailLogsMessage": "Proszę wysłać logi do {email}",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "Kopiuj adres e-mail",
"exportLogsAction": "Eksportuj logi",
"reportABug": "Zgłoś błąd",
"crashAndErrorReporting": "Zgłaszanie błędów i awarii",
"reportBug": "Zgłoś błąd",
"emailUsMessage": "Prosimy o kontakt mailowy pod adresem {email}",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "Skontaktuj się z pomocą techniczną",
"verifyPassword": "Zweryfikuj hasło",
"pleaseWait": "Proszę czekać...",
"generatingEncryptionKeysTitle": "Generowanie kluczy szyfrujących...",
"recreatePassword": "Zresetuj hasło",
"recreatePasswordMessage": "Obecne urządzenie nie jest wystarczająco wydajne, aby zweryfikować Twoje hasło, więc musimy je raz zregenerować w sposób, który działa ze wszystkimi urządzeniami. \n\nZaloguj się przy użyciu klucza odzyskiwania i zresetuj swoje hasło (możesz ponownie użyć tego samego, jeśli chcesz).",
"useRecoveryKey": "Użyj kodu odzyskiwania",
"incorrectPasswordTitle": "Nieprawidłowe hasło",
"welcomeBack": "Witaj ponownie!",
"madeWithLoveAtPrefix": "wykonane z ❤️ w ",
"supportDevs": "Subskrybuj <bold-green>ente</bold-green> aby wesprzeć ten projekt.",
"supportDiscount": "Użyj kodu rabatowego \"AUTH\", aby otrzymać 10% rabatu na pierwszy rok",
"changeEmail": "Zmień adres e-mail",
"changePassword": "Zmień hasło",
"data": "Dane",
"importCodes": "Importuj kody",
"exportCodes": "Eksportuj kody",
"importInstruction": "Wybierz plik, który zawiera listę twoich kodów w następującym formacie",
"importCodeDelimiterInfo": "Kody mogą być oddzielone przecinkiem lub nową linią",
"selectFile": "Wybierz plik",
"authToViewYourRecoveryKey": "Proszę uwierzytelnić, aby wyświetlić swój klucz odzyskiwania",
"authToChangeYourEmail": "Proszę uwierzytelnić, aby zmienić swój adres e-mail",
"authToChangeYourPassword": "Proszę uwierzytelnić, aby zmienić hasło",
"ok": "Ok",
"cancel": "Anuluj",
"yes": "Tak",
"no": "Nie",
"email": "Email",
"support": "Wsparcie techniczne",
"settings": "Ustawienia",
"copied": "Skopiowano",
"pleaseTryAgain": "Proszę spróbować ponownie",
"existingUser": "Istniejący użytkownik",
"newUser": "Nowy do ente",
"delete": "Usuń",
"enterYourPasswordHint": "Wprowadź swoje hasło",
"forgotPassword": "Nie pamiętam hasła",
"oops": "Ups",
"somethingWentWrongMessage": "Coś poszło nie tak. Proszę, spróbuj ponownie",
"leaveFamily": "Opuść rodzinę",
"leaveFamilyMessage": "Czy jesteś pewien/pewna, że chcesz opuścić plan rodzinny?",
"inFamilyPlanMessage": "Jesteś w planie rodzinnym!",
"swipeHint": "Przesuń palcem w lewo, aby edytować lub usunąć kody",
"scan": "Skanuj",
"scanACode": "Skanuj kod",
"verify": "Zweryfikuj",
"verifyEmail": "Zweryfikuj adres e-mail",
"enterCodeHint": "Wprowadź sześciocyfrowy kod z twojej aplikacji uwierzytelniającej",
"lostDeviceTitle": "Zagubiono urządzenie?",
"twoFactorAuthTitle": "Uwierzytelnianie dwuetapowe",
"recoverAccount": "Odzyskaj konto",
"enterRecoveryKeyHint": "Wprowadź swój klucz odzyskiwania",
"recover": "Odzyskaj",
"contactSupportViaEmailMessage": "Wyślij wiadomość e-mail na {email} z zarejestrowanego adresu e-mail",
"@contactSupportViaEmailMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"noRecoveryKeyTitle": "Brak klucza odzyskiwania?",
"enterEmailHint": "Wprowadź adres e-mail",
"invalidEmailTitle": "Nieprawidłowy adres e-mail",
"invalidEmailMessage": "Proszę wpisać prawidłowy adres e-mail.",
"deleteAccount": "Usuń konto",
"deleteAccountQuery": "Będzie nam przykro, że odchodzisz. Masz jakiś problem?",
"yesSendFeedbackAction": "Tak, wyślij opinię",
"noDeleteAccountAction": "Nie, usuń moje konto",
"initiateAccountDeleteTitle": "Proszę uwierzytelnić, aby zainicjować usuwanie konta",
"confirmAccountDeleteTitle": "Na pewno chcesz usunąć swoje konto ente?",
"confirmAccountDeleteMessage": "Twoje przesłane dane, we wszystkich aplikacjach (zarówno Zdjęcia, jak i Authenticator), zostaną zaplanowane do usunięcia, a Twoje konto zostanie trwale usunięte.",
"sendEmail": "Wyślij e-mail",
"createNewAccount": "Utwórz nowe konto",
"weakStrength": "Słabe",
"strongStrength": "Silne",
"moderateStrength": "Umiarkowany",
"confirmPassword": "Potwierdź hasło",
"close": "Zamknij",
"oopsSomethingWentWrong": "Ups! Coś poszło nie tak.",
"selectLanguage": "Wybierz język",
"language": "Język",
"social": "Społeczność",
"security": "Bezpieczeństwo",
"lockscreen": "Ekran blokady",
"authToChangeLockscreenSetting": "Proszę uwierzytelnić, aby zmienić ustawienia ekranu blokady",
"lockScreenEnablePreSteps": "Aby włączyć ekran blokady, ustaw hasło urządzenia lub blokadę ekranu w ustawieniach systemu.",
"viewActiveSessions": "Zobacz aktualne sesje",
"authToViewYourActiveSessions": "Proszę uwierzytelnić, aby wyświetlić swój klucz odzyskiwania",
"searchHint": "Szukaj...",
"search": "Szukaj",
"sorryUnableToGenCode": "Przepraszamy, nie można wygenerować kodu dla {issuerName}",
"noResult": "Brak wyniku",
"addCode": "Dodaj kod",
"scanAQrCode": "Zeskanuj kod QR",
"enterDetailsManually": "Wprowadź dane ręcznie",
"edit": "Edytuj",
"copiedToClipboard": "Skopiowano do schowka",
"error": "Błąd",
"recoveryKeyCopiedToClipboard": "Klucz odzyskiwania został skopiowany do schowka",
"recoveryKeyOnForgotPassword": "Jeśli zapomnisz hasła, jedynym sposobem na odzyskanie danych jest ten klucz.",
"recoveryKeySaveDescription": "Nie przechowujemy tego klucza, proszę zachować ten 24 wyrazowy klucz w bezpiecznym miejscu.",
"doThisLater": "Zrób To Później",
"saveKey": "Zapisz klucz",
"createAccount": "Utwórz konto",
"passwordStrength": "Siła hasła: {passwordStrengthValue}",
"@passwordStrength": {
"description": "Text to indicate the password strength",
"placeholders": {
"passwordStrengthValue": {
"description": "The strength of the password as a string",
"type": "String",
"example": "Weak or Moderate or Strong"
}
},
"message": "Password Strength: {passwordStrengthText}"
},
"password": "Hasło",
"signUpTerms": "Akceptuję <u-terms>warunki korzystania z usługi</u-terms> i <u-policy>politykę prywatności</u-policy>",
"privacyPolicyTitle": "Polityka prywatności",
"termsOfServicesTitle": "Regulamin",
"encryption": "Szyfrowanie",
"setPasswordTitle": "Ustaw hasło",
"changePasswordTitle": "Zmień hasło",
"resetPasswordTitle": "Zresetuj hasło",
"encryptionKeys": "Klucz szyfrowania",
"passwordWarning": "Nie przechowujemy tego hasła, więc jeśli go zapomnisz, <underline>nie będziemy w stanie odszyfrować Twoich danych</underline>",
"enterPasswordToEncrypt": "Wprowadź hasło, którego możemy użyć do zaszyfrowania Twoich danych",
"enterNewPasswordToEncrypt": "Wprowadź nowe hasło, którego możemy użyć do zaszyfrowania Twoich danych",
"passwordChangedSuccessfully": "Hasło zostało pomyślnie zmienione",
"generatingEncryptionKeys": "Generowanie kluczy szyfrujących...",
"continueLabel": "Kontynuuj",
"insecureDevice": "Niezabezpieczone urządzenie",
"sorryWeCouldNotGenerateSecureKeysOnThisDevicennplease": "Przepraszamy, nie mogliśmy wygenerować kluczy bezpiecznych na tym urządzeniu.\n\nZarejestruj się z innego urządzenia.",
"howItWorks": "Jak to działa",
"ackPasswordLostWarning": "Rozumiem, że jeśli utracę hasło, mogę stracić moje dane, ponieważ moje dane są <underline>szyfrowane end-to-end</underline>.",
"loginTerms": "Klikając zaloguj się zgadzam się na <u-terms>Regulamin</u-terms> i <u-policy>politykę prywatności<u-policy>",
"logInLabel": "Zaloguj się",
"logout": "Wyloguj się",
"areYouSureYouWantToLogout": "Czy na pewno chcesz się wylogować?",
"yesLogout": "Tak, wyloguj",
"exit": "Wyjdź",
"verifyingRecoveryKey": "Weryfikowanie klucza odzyskiwania...",
"recoveryKeyVerified": "Klucz odzyskiwania zweryfikowany",
"recoveryKeySuccessBody": "Świetnie! Twój klucz odzyskiwania jest prawidłowy. Dziękuję za weryfikację.\n\nPamiętaj, aby przechowywać klucz odzyskiwania w bezpiecznej kopii zapasowej.",
"invalidRecoveryKey": "Wprowadzony klucz odzyskiwania jest nieprawidłowy. Upewnij się, że zawiera 24 słowa i sprawdź pisownię każdego z nich.\n\nJeśli wprowadziłeś starszy kod odzyskiwania, upewnij się, że ma on 64 znaki i sprawdź każdy z nich.",
"recreatePasswordTitle": "Zresetuj hasło",
"recreatePasswordBody": "Obecne urządzenie nie jest wystarczająco wydajne, aby zweryfikować Twoje hasło, więc musimy je raz zregenerować w sposób, który działa ze wszystkimi urządzeniami. \n\nZaloguj się przy użyciu klucza odzyskiwania i zresetuj swoje hasło (możesz ponownie użyć tego samego, jeśli chcesz).",
"invalidKey": "Nieprawidłowy klucz",
"tryAgain": "Spróbuj ponownie",
"viewRecoveryKey": "Wyświetl kod odzyskiwania",
"confirmRecoveryKey": "Potwierdź klucz odzyskiwania",
"recoveryKeyVerifyReason": "Twój klucz odzyskiwania jest jedynym sposobem na odzyskanie zdjęć, jeśli zapomnisz hasła. Klucz odzyskiwania można znaleźć w Ustawieniach > Konto.\n\nWprowadź tutaj swój klucz odzyskiwania, aby sprawdzić, czy został zapisany poprawnie.",
"confirmYourRecoveryKey": "Potwierdź klucz odzyskiwania",
"confirm": "Potwierdź",
"emailYourLogs": "Wyślij mailem logi",
"pleaseSendTheLogsTo": "Proszę wysłać logi do {toEmail}",
"copyEmailAddress": "Kopiuj adres e-mail",
"exportLogs": "Eksportuj logi",
"enterYourRecoveryKey": "Wprowadź swój klucz odzyskiwania",
"tempErrorContactSupportIfPersists": "Wygląda na to, że coś poszło nie tak. Spróbuj ponownie po pewnym czasie. Jeśli błąd będzie się powtarzał, skontaktuj się z naszym zespołem pomocy technicznej.",
"itLooksLikeSomethingWentWrongPleaseRetryAfterSome": "Wygląda na to, że coś poszło nie tak. Spróbuj ponownie po pewnym czasie. Jeśli błąd będzie się powtarzał, skontaktuj się z naszym zespołem pomocy technicznej.",
"about": "O nas",
"weAreOpenSource": "Posiadamy otwarte źródło!",
"privacy": "Prywatność",
"terms": "Warunki",
"checkForUpdates": "Sprawdź czy są dostępne nowe aktualizacje",
"checking": "Sprawdzanie...",
"youAreOnTheLatestVersion": "Używasz najnowszej wersji",
"warning": "Ostrzeżenie",
"exportWarningDesc": "Wyeksportowany plik zawiera poufne informacje. Przechowuj to bezpiecznie.",
"iUnderStand": "Rozumiem",
"@iUnderStand": {
"description": "Text for the button to confirm the user understands the warning"
},
"authToExportCodes": "Proszę uwierzytelnić, aby wyeksportować swoje kody",
"importSuccessTitle": "Hura!",
"importSuccessDesc": "Zaimportowałeś {count} kodów!",
"@importSuccessDesc": {
"placeholders": {
"count": {
"description": "The number of codes imported",
"type": "int",
"example": "1"
}
}
},
"sorry": "Przepraszamy",
"importFailureDesc": "Nie można przetworzyć wybranego pliku.\nJeśli potrzebujesz pomocy, napisz do support@ente.io!",
"pendingSyncs": "Uwaga",
"pendingSyncsWarningBody": "Niektóre z Twoich kodów nie zostały skopiowane.\n\nUpewnij się, że masz kopię zapasową tych kodów przed wylogowaniem.",
"checkInboxAndSpamFolder": "Sprawdź swoją skrzynkę odbiorczą (i spam), aby zakończyć weryfikację",
"tapToEnterCode": "Dotknij, aby wprowadzić kod",
"resendEmail": "Wyślij e-mail ponownie",
"weHaveSendEmailTo": "Wysłaliśmy wiadomość do <green>{email}</green>",
"@weHaveSendEmailTo": {
"description": "Text to indicate that we have sent a mail to the user",
"placeholders": {
"email": {
"description": "The email address of the user",
"type": "String",
"example": "example@ente.io"
}
}
},
"activeSessions": "Aktywne sesje",
"somethingWentWrongPleaseTryAgain": "Coś poszło nie tak, spróbuj ponownie",
"thisWillLogYouOutOfThisDevice": "To wyloguje Cię z tego urządzenia!",
"thisWillLogYouOutOfTheFollowingDevice": "To wyloguje Cię z tego urządzenia:",
"terminateSession": "Zakończyć sesję?",
"terminate": "Zakończ",
"thisDevice": "To urządzenie"
}

227
lib/l10n/arb/app_pt.arb Normal file
View File

@@ -0,0 +1,227 @@
{
"account": "Conta",
"recoveryKey": "Chave de recuperação",
"counterAppBarTitle": "Contador",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "Proteja seus códigos 2FA",
"onBoardingGetStarted": "Vamos Começar",
"setupFirstAccount": "Configure sua primeira conta",
"importScanQrCode": "Escanear QR code",
"importEnterSetupKey": "Inserir uma chave de configuração",
"importAccountPageTitle": "Inserir detalhes da conta",
"codeIssuerHint": "Emissor",
"codeSecretKeyHint": "Chave secreta",
"codeAccountHint": "Conta (voce@dominio.com)",
"accountKeyType": "Tipo de chave",
"sessionExpired": "Sessão expirada",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "Por favor, faça login novamente",
"loggingOut": "Desconectando...",
"timeBasedKeyType": "Baseado no horário (TOTP)",
"counterBasedKeyType": "Baseado em um contador (HOTP)",
"saveAction": "Salvar",
"nextTotpTitle": "próximo",
"deleteCodeTitle": "Excluir código?",
"deleteCodeMessage": "Tem certeza que deseja excluir este código? Esta ação é irreversível.",
"viewLogsAction": "Ver logs",
"sendLogsDescription": "Isto irá compartilhar seus logs para nos ajudar a depurar seu problema. Embora tomemos precauções para garantir que informações sensíveis não sejam enviadas, encorajamos você a ver esses longs antes de compartilhá-los.",
"preparingLogsTitle": "Preparando logs...",
"emailLogsTitle": "Logs de email",
"emailLogsMessage": "Por favor, envie os logs para {email}",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "Copiar e-mail",
"exportLogsAction": "Exportar logs",
"reportABug": "Reportar um bug",
"crashAndErrorReporting": "Reporte de erros e falhas",
"reportBug": "Reportar bug",
"emailUsMessage": "Por favor, envie um e-mail para {email}",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "Falar com o suporte",
"verifyPassword": "Verificar senha",
"pleaseWait": "Por favor, aguarde...",
"generatingEncryptionKeysTitle": "Gerando chaves de criptografia...",
"recreatePassword": "Recriar senha",
"useRecoveryKey": "Usar chave de recuperação",
"incorrectPasswordTitle": "Senha incorreta",
"welcomeBack": "Bem-vindo de volta!",
"madeWithLoveAtPrefix": "feito com ❤️ em ",
"supportDevs": "Inscreva-se no <bold-green>ente</bold-green> para apoiar este projeto.",
"supportDiscount": "Use o cupom \"AUTH\" para obter 10% de desconto no primeiro ano",
"changeEmail": "Alterar email",
"changePassword": "Alterar senha",
"data": "Dados",
"importCodes": "Importar códigos",
"exportCodes": "Exportar Códigos",
"importInstruction": "Por favor, selecione um arquivo que contenha uma lista de códigos no seguinte formato",
"importCodeDelimiterInfo": "Os códigos podem ser separados por uma vírgula ou uma nova linha",
"selectFile": "Selecionar arquivo",
"authToViewYourRecoveryKey": "Por favor, autentique-se para visualizar sua chave de recuperação",
"authToChangeYourEmail": "Por favor, autentique-se para alterar o seu e-mail",
"authToChangeYourPassword": "Por favor, autentique-se para alterar sua senha",
"ok": "Ok",
"cancel": "Cancelar",
"yes": "Sim",
"no": "Não",
"email": "E-mail",
"support": "Suporte",
"settings": "Configurações",
"copied": "Copiado",
"pleaseTryAgain": "Por favor, tente novamente",
"existingUser": "Usuário Existente",
"newUser": "Novo no ente",
"delete": "Deletar",
"enterYourPasswordHint": "Insira sua senha",
"forgotPassword": "Esqueceu sua senha",
"oops": "Oops",
"somethingWentWrongMessage": "Algo deu errado. Por favor, tente outra vez",
"leaveFamily": "Sair da família",
"leaveFamilyMessage": "Tem certeza que deseja sair do plano familiar?",
"inFamilyPlanMessage": "Você está em um plano familiar!",
"swipeHint": "Deslize para a esquerda para editar ou remover os códigos",
"scan": "Escanear",
"scanACode": "Escanear código",
"verify": "Verificar",
"enterCodeHint": "Digite o código de 6 dígitos de\nseu aplicativo autenticador",
"lostDeviceTitle": "Perdeu seu dispositivo?",
"twoFactorAuthTitle": "Autenticação de dois fatores",
"recoverAccount": "Recuperar conta",
"enterRecoveryKeyHint": "Digite sua chave de recuperação",
"recover": "Recuperar",
"contactSupportViaEmailMessage": "Por favor, envie um e-mail para {email} a partir do seu endereço de e-mail registrado",
"@contactSupportViaEmailMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"noRecoveryKeyTitle": "Não possui a chave de recuperação?",
"enterEmailHint": "Insira o seu endereço de e-mail",
"invalidEmailTitle": "Endereço de e-mail invalido",
"invalidEmailMessage": "Por, favor insira um endereço de e-mail válido.",
"deleteAccount": "Deletar conta",
"deleteAccountQuery": "Sentiremos muito por vê-lo partir. Você está enfrentando algum problema?",
"yesSendFeedbackAction": "Sim, enviar feedback",
"noDeleteAccountAction": "Não, excluir conta",
"initiateAccountDeleteTitle": "Por favor, autentique-se para iniciar a exclusão de conta",
"confirmAccountDeleteTitle": "Tem certeza que deseja excluir sua conta ente?",
"confirmAccountDeleteMessage": "Seus dados enviados, através de todos os aplicativos (Photos e Authenticator), serão agendados para exclusão, e sua conta será permanentemente deletada.",
"sendEmail": "Enviar e-mail",
"createNewAccount": "Criar nova conta",
"weakStrength": "Fraca",
"strongStrength": "Forte",
"moderateStrength": "Moderada",
"confirmPassword": "Confirme sua senha",
"close": "Fechar",
"oopsSomethingWentWrong": "Oops, Algo deu errado.",
"selectLanguage": "Selecionar idioma",
"language": "Idioma",
"social": "Redes sociais",
"security": "Segurança",
"lockscreen": "Tela de bloqueio",
"authToChangeLockscreenSetting": "Por favor, autentique-se para alterar a configuração da tela de bloqueio",
"lockScreenEnablePreSteps": "Para ativar o bloqueio de tela, por favor ative um método de autenticação nas configurações do sistema do seu dispositivo.",
"viewActiveSessions": "Ver sessões ativas",
"authToViewYourActiveSessions": "Por favor, autentique-se para ver as sessões ativas",
"searchHint": "Pesquisar...",
"search": "Pesquisar",
"sorryUnableToGenCode": "Desculpe, não foi possível gerar um código para {issuerName}",
"noResult": "Nenhum resultado",
"addCode": "Adicionar código",
"scanAQrCode": "Escanear QR code",
"enterDetailsManually": "Insira os dados manualmente",
"edit": "Editar",
"copiedToClipboard": "Copiado para a área de transferência",
"error": "Erro",
"recoveryKeyCopiedToClipboard": "A chave de recuperação foi copiada para a área de transferência",
"recoveryKeyOnForgotPassword": "Caso você esqueça sua senha, a única maneira de recuperar seus dados é com essa chave.",
"recoveryKeySaveDescription": "Não armazenamos essa chave, por favor, salve essa chave de 24 palavras em um lugar seguro.",
"doThisLater": "Fazer isso mais tarde",
"saveKey": "Salvar chave",
"createAccount": "Criar uma conta",
"passwordStrength": "Força da senha: {passwordStrengthValue}",
"@passwordStrength": {
"description": "Text to indicate the password strength",
"placeholders": {
"passwordStrengthValue": {
"description": "The strength of the password as a string",
"type": "String",
"example": "Weak or Moderate or Strong"
}
},
"message": "Password Strength: {passwordStrengthText}"
},
"password": "Senha",
"signUpTerms": "Eu concordo com os <u-terms>termos de serviço</u-terms> e a <u-policy>política de privacidade</u-policy>",
"privacyPolicyTitle": "Política de Privacidade",
"termsOfServicesTitle": "Termos",
"encryption": "Criptografia",
"ackPasswordLostWarning": "Eu entendo que se eu perder minha senha, posso perder meus dados, já que meus dados são <underline>criptografados de ponta a ponta</underline>.",
"loginTerms": "Ao clicar em login, eu concordo com os <u-terms>termos de serviço</u-terms> e a <u-policy>política de privacidade</u-policy>",
"logInLabel": "Login",
"logout": "Encerrar sessão",
"areYouSureYouWantToLogout": "Você tem certeza que deseja sair?",
"yesLogout": "Sim",
"exit": "Sair",
"verifyingRecoveryKey": "Verificando chave de recuperação...",
"recoveryKeyVerified": "Chave de recuperação verificada",
"recoveryKeySuccessBody": "Ótimo! Sua chave de recuperação é válida. Obrigado por verificar.\n\nLembre-se de manter o backup seguro de sua chave de recuperação.",
"invalidRecoveryKey": "A chave de recuperação que você digitou não é válida. Certifique-se de que contém 24 palavras e verifique a ortografia de cada uma.\n\nSe você inseriu um código de recuperação mais antigo, verifique se ele tem 64 caracteres e verifique cada um deles.",
"invalidKey": "Chave inválida",
"tryAgain": "Tente novamente",
"viewRecoveryKey": "Ver chave de recuperação",
"recoveryKeyVerifyReason": "Sua chave de recuperação é a única maneira de recuperar suas fotos se você esquecer sua senha. Você pode encontrar sua chave de recuperação em Configurações > Conta.\n\nDigite sua chave de recuperação aqui para verificar se você a salvou corretamente.",
"confirm": "Confirmar",
"emailYourLogs": "Enviar por email seus logs",
"pleaseSendTheLogsTo": "Por favor, envie os logs para \n{toEmail}",
"copyEmailAddress": "Copiar endereço de email",
"exportLogs": "Exportar logs",
"enterYourRecoveryKey": "Digite sua chave de recuperação",
"tempErrorContactSupportIfPersists": "Parece que algo deu errado. Por favor, tente novamente mais tarde. Se o erro persistir, entre em contato com nossa equipe de suporte.",
"itLooksLikeSomethingWentWrongPleaseRetryAfterSome": "Parece que algo deu errado. Por favor, tente novamente mais tarde. Se o erro persistir, entre em contato com nossa equipe de suporte.",
"about": "Sobre",
"weAreOpenSource": "Nós somos de código aberto!",
"privacy": "Privacidade",
"terms": "Termos",
"checkForUpdates": "Verificar por atualizações",
"checking": "Verificando...",
"youAreOnTheLatestVersion": "Você está na versão mais recente",
"warning": "Atenção",
"exportWarningDesc": "O arquivo exportado contém informações confidenciais. Por favor, armazene-o com segurança.",
"iUnderStand": "Eu entendo",
"@iUnderStand": {
"description": "Text for the button to confirm the user understands the warning"
},
"authToExportCodes": "Por favor, autentique para exportar seus códigos",
"importSuccessTitle": "Yay!",
"importSuccessDesc": "Você importou {count} códigos!",
"@importSuccessDesc": {
"placeholders": {
"count": {
"description": "The number of codes imported",
"type": "int",
"example": "1"
}
}
},
"sorry": "Desculpe",
"importFailureDesc": "Não foi possível analisar o arquivo selecionado.\nPor favor, escreva para support@ente.io se precisar de ajuda!",
"pendingSyncs": "Atenção",
"pendingSyncsWarningBody": "Alguns de seus códigos não foram salvos.\n\nPor favor, certifique-se que você possui um backup para esses códigos antes de sair."
}

320
lib/l10n/arb/app_ru.arb Normal file
View File

@@ -0,0 +1,320 @@
{
"account": "Аккаунт",
"recoveryKey": "Ключ восстановления",
"counterAppBarTitle": "Счетчик",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "Защитите ваши 2FA коды",
"onBoardingGetStarted": "Начать",
"setupFirstAccount": "Настройте свой первый аккаунт",
"importScanQrCode": "Сканировать QR-код",
"qrCode": "QR-код",
"importEnterSetupKey": "Ввести ключ настройки",
"importAccountPageTitle": "Введите данные аккаунта",
"secretCanNotBeEmpty": "Секретный код не может быть пустым",
"bothIssuerAndAccountCanNotBeEmpty": "И эмитент, и аккаунт не могут быть пустыми",
"incorrectDetails": "Неправильные данные",
"pleaseVerifyDetails": "Пожалуйста, проверьте детали и попробуйте еще раз",
"codeIssuerHint": "Эмитент",
"codeSecretKeyHint": "Секретный ключ",
"codeAccountHint": "Аккаунт (you@domain.com)",
"accountKeyType": "Тип ключа",
"sessionExpired": "Сеанс истек",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "Пожалуйста, войдите снова",
"loggingOut": "Выходим...",
"timeBasedKeyType": "Основанный на времени (TOTP)",
"counterBasedKeyType": "На основе счётчиков (HOTP)",
"saveAction": "Сохранить",
"nextTotpTitle": "далее",
"deleteCodeTitle": "Удалить код?",
"deleteCodeMessage": "Вы уверены, что хотите удалить этот код? Это действие необратимо.",
"viewLogsAction": "Посмотреть журнал",
"sendLogsDescription": "Это отправит все журналы, чтобы помочь нам отладить вашу проблему. Хотя мы принимаем меры предосторожности, чтобы конфиденциальная информация не регистрировалась, мы рекомендуем вам просмотреть эти журналы, прежде чем делиться ими.",
"preparingLogsTitle": "Подготовка журналов...",
"emailLogsTitle": "Отправляйте журналы по электронной почте",
"emailLogsMessage": "Пожалуйста, отправьте журналы на {email}",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "Скопировать адрес",
"exportLogsAction": "Экспорт журналов",
"reportABug": "Сообщить об ошибке",
"crashAndErrorReporting": "Отчёт об ошибках",
"reportBug": "Сообщить об ошибке",
"emailUsMessage": "Пожалуйста, напишите нам на {email}",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "Связаться с поддержкой",
"rateUsOnStore": "Оценить нас на {storeName}",
"blog": "Блог",
"merchandise": "Товары",
"verifyPassword": "Подтверждение пароля",
"pleaseWait": "Пожалуйста, подождите...",
"generatingEncryptionKeysTitle": "Генерируем ключи шифрования...",
"recreatePassword": "Воссоздать пароль заново",
"recreatePasswordMessage": "Текущее устройство недостаточно мощное для проверки пароля, поэтому нам нужно регенерировать его один раз таким образом, чтобы работать со всеми устройствами. \n\nПожалуйста, войдите, используя ваш ключ восстановления и сгенерируйте ваш пароль (вы можете использовать тот же самый, если пожелаете).",
"useRecoveryKey": "Использовать ключ восстановления",
"incorrectPasswordTitle": "Неправильный пароль",
"welcomeBack": "С возвращением!",
"madeWithLoveAtPrefix": "сделана с ❤️ в ",
"supportDevs": "Подпишитесь на <bold-green>ente</bold-green> для поддержки этого проекта.",
"supportDiscount": "Используйте код скидки \"AUTH\", чтобы получить скидку 10% в первый год",
"changeEmail": "Изменить почту",
"changePassword": "Изменить пароль",
"data": "Данные",
"importCodes": "Импортировать коды",
"importTypePlainText": "Обычный текст",
"importTypeEnteEncrypted": "ente Зашифрованный экспорт",
"passwordForDecryptingExport": "Пароль для расшифровки экспорта",
"passwordEmptyError": "Пароль не может быть пустым",
"importFromApp": "Импорт кодов из {appName}",
"importGoogleAuthGuide": "Экспортируйте учетные записи из Google Authenticator в QR-код, используя опцию «Перенести учетные записи». Затем с помощью другого устройства отсканируйте QR-код.\n\nСовет: Чтобы сфотографировать QR-код, можно воспользоваться веб-камерой ноутбука.",
"importSelectJsonFile": "Выбрать JSON-файл",
"importEnteEncGuide": "Выберите зашифрованный JSON-файл, экспортированный из ente",
"importRaivoGuide": "Используйте опцию «Export OTPs to Zip archive» в настройках Raivo.\n\nРаспакуйте zip-архив и импортируйте JSON-файл.",
"importAegisGuide": "Используйте опцию «Экспортировать хранилище» в настройках Aegis.\n\nЕсли ваше хранилище зашифровано, то для его расшифровки потребуется ввести пароль хранилища.",
"exportCodes": "Экспортировать коды",
"importLabel": "Импорт",
"importInstruction": "Пожалуйста, выберите файл, содержащий список ваших кодов в следующем формате",
"importCodeDelimiterInfo": "Коды могут быть разделены запятой или новой строкой",
"selectFile": "Выбрать файл",
"emailVerificationToggle": "Подтверждение электронной почты",
"authToChangeEmailVerificationSetting": "Авторизуйтесь, чтобы изменить подтверждение электронной почты",
"authToViewYourRecoveryKey": "Пожалуйста, авторизуйтесь для просмотра вашего ключа восстановления",
"authToChangeYourEmail": "Пожалуйста, авторизуйтесь, чтобы изменить адрес электронной почты",
"authToChangeYourPassword": "Пожалуйста, авторизуйтесь, чтобы изменить пароль",
"ok": "Ок",
"cancel": "Отменить",
"yes": "Да",
"no": "Нет",
"email": "Электронная почта",
"support": "Поддержка",
"settings": "Настройки",
"copied": "Скопировано",
"pleaseTryAgain": "Пожалуйста, попробуйте ещё раз",
"existingUser": "Существующий пользователь",
"newUser": "Новый аккаунт",
"delete": "Удалить",
"enterYourPasswordHint": "Введите пароль",
"forgotPassword": "Забыл пароль",
"oops": "Ой",
"suggestFeatures": "Предложить улучшения",
"faq": "FAQ",
"faq_q_1": "Насколько безопасен ente Auth?",
"faq_a_1": "Все коды, которые вы резервируете с помощью ente, хранятся в зашифрованном виде. Это означает, что только вы можете получить доступ к своим кодам. Наши приложения имеют открытый исходный код, а наша криптография прошла внешний аудит.",
"faq_q_2": "Могу ли я получить доступ к моим кодам на компьютере?",
"faq_a_2": "Вы можете получить доступ к своим кодам на сайте @ auth.ente.io.",
"faq_q_3": "Как я могу удалить коды?",
"faq_a_3": "Вы можете удалить код, проведя пальцем влево по этому элементу.",
"faq_q_4": "Как я могу поддержать этот проект?",
"faq_a_4": "Вы можете поддержать развитие этого проекта, подписавшись на наше приложение Photos @ ente.io.",
"faq_q_5": "Как мне включить блокировку FaceID в ente Auth?",
"faq_a_5": "Вы можете включить блокировку FaceID в Настройки → Безопасность → Экран блокировки.",
"somethingWentWrongMessage": "Что-то пошло не так. Попробуйте еще раз",
"leaveFamily": "Покинуть семью",
"leaveFamilyMessage": "Вы уверены, что хотите отказаться от семейного плана?",
"inFamilyPlanMessage": "Вы на семейном плане!",
"swipeHint": "Проведите пальцем влево, чтобы отредактировать или удалить коды",
"scan": "Сканировать",
"scanACode": "Сканировать QR-код",
"verify": "Подтвердить",
"verifyEmail": "Подтвердить электронную почту",
"enterCodeHint": "Введите 6-значный код из\nвашего приложения-аутентификатора",
"lostDeviceTitle": "Потеряно устройство?",
"twoFactorAuthTitle": "Двухфакторная аутентификация",
"recoverAccount": "Восстановить аккаунт",
"enterRecoveryKeyHint": "Введите свой ключ восстановления",
"recover": "Восстановить",
"contactSupportViaEmailMessage": "Пожалуйста, отправьте электронное письмо на адрес {email} с вашего зарегистрированного адреса электронной почты",
"@contactSupportViaEmailMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"noRecoveryKeyTitle": "Нет ключа восстановления?",
"enterEmailHint": "Введите свою почту",
"invalidEmailTitle": "Неверный адрес электронной почты",
"invalidEmailMessage": "Пожалуйста, введите действительный адрес электронной почты.",
"deleteAccount": "Удалить аккаунт",
"deleteAccountQuery": "Нам будет жаль, если вы уйдете. Вы столкнулись с какой-то проблемой?",
"yesSendFeedbackAction": "Да, отправить отзыв",
"noDeleteAccountAction": "Нет, удалить аккаунт",
"initiateAccountDeleteTitle": "Пожалуйста, авторизуйтесь, чтобы начать удаление аккаунта",
"confirmAccountDeleteTitle": "Вы уверены, что хотите удалить ваш аккаунт ente?",
"confirmAccountDeleteMessage": "Ваши загруженные данные во всех приложениях (как фотографии, так и средство аутентификации) будут запланированы к удалению, а ваш аккаунт будет удален безвозвратно.",
"sendEmail": "Отправить электронное письмо",
"createNewAccount": "Создать новый аккаунт",
"weakStrength": "Слабый",
"strongStrength": "Крепкий",
"moderateStrength": "Средний",
"confirmPassword": "Подтвердить пароль",
"close": "Закрыть",
"oopsSomethingWentWrong": "Ой, что-то пошло не так.",
"selectLanguage": "Выберите язык",
"language": "Язык",
"social": "Соцсети",
"security": "Безопасность",
"lockscreen": "Экран блокировки",
"authToChangeLockscreenSetting": "Пожалуйста, авторизуйтесь, чтобы изменить настройки экрана блокировки",
"lockScreenEnablePreSteps": "Чтобы включить блокировку, настройте пароль устройства или блокировку экрана в настройках системы.",
"viewActiveSessions": "Просмотр активных сессий",
"authToViewYourActiveSessions": "Пожалуйста, авторизуйтесь для просмотра активных сессий",
"searchHint": "Поиск...",
"search": "Поиск",
"sorryUnableToGenCode": "К сожалению, не удалось сгенерировать код {issuerName}",
"noResult": "Ничего не найдено",
"addCode": "Добавить код",
"scanAQrCode": "Сканировать QR-код",
"enterDetailsManually": "Ввести детали вручную",
"edit": "Редактировать",
"copiedToClipboard": "Скопировано",
"error": "Ошибка",
"recoveryKeyCopiedToClipboard": "Ключ восстановления скопирован в буфер обмена",
"recoveryKeyOnForgotPassword": "Если вы забыли свой пароль, то восстановить данные можно только с помощью этого ключа.",
"recoveryKeySaveDescription": "Мы не храним этот ключ, пожалуйста, сохраните этот ключ в безопасном месте.",
"doThisLater": "Сделать позже",
"saveKey": "Сохранить ключ",
"back": "Вернуться",
"createAccount": "Создать аккаунт",
"passwordStrength": "Мощность пароля: {passwordStrengthValue}",
"@passwordStrength": {
"description": "Text to indicate the password strength",
"placeholders": {
"passwordStrengthValue": {
"description": "The strength of the password as a string",
"type": "String",
"example": "Weak or Moderate or Strong"
}
},
"message": "Password Strength: {passwordStrengthText}"
},
"password": "Пароль",
"signUpTerms": "Я согласен с <u-terms>условиями предоставления услуг</u-terms> и <u-policy>политикой конфиденциальности</u-policy>",
"privacyPolicyTitle": "Политика конфиденциальности",
"termsOfServicesTitle": "Условия использования",
"encryption": "Шифрование",
"setPasswordTitle": "Поставить пароль",
"changePasswordTitle": "Изменить пароль",
"resetPasswordTitle": "Сбросить пароль",
"encryptionKeys": "Ключи шифрования",
"passwordWarning": "Мы не храним этот пароль, поэтому если вы забудете его, <underline>мы не сможем расшифровать ваши данные</underline>",
"enterPasswordToEncrypt": "Введите пароль, который мы можем использовать для шифрования ваших данных",
"enterNewPasswordToEncrypt": "Введите новый пароль, который мы можем использовать для шифрования ваших данных",
"passwordChangedSuccessfully": "Пароль успешно изменён",
"generatingEncryptionKeys": "Генерируем ключи шифрования...",
"continueLabel": "Далее",
"insecureDevice": "Небезопасное устройство",
"sorryWeCouldNotGenerateSecureKeysOnThisDevicennplease": "К сожалению, мы не смогли сгенерировать безопасные ключи на этом устройстве.\n\nПожалуйста, зарегистрируйтесь с другого устройства.",
"howItWorks": "Как это работает",
"ackPasswordLostWarning": "Я понимаю, что если я потеряю свой пароль, я могу потерять свои данные, так как мои данные в <underline>сквозном шифровании</underline>.",
"loginTerms": "Нажимая на логин, я принимаю <u-terms>условия использования</u-terms> и <u-policy>политику конфиденциальности</u-policy>",
"logInLabel": "Войти",
"logout": "Выйти",
"areYouSureYouWantToLogout": "Вы уверены, что хотите выйти?",
"yesLogout": "Да, выйти",
"exit": "Выйти",
"verifyingRecoveryKey": "Проверка ключа восстановления...",
"recoveryKeyVerified": "Ключ восстановления подтвержден",
"recoveryKeySuccessBody": "Отлично! Ваш ключ восстановления действителен. Спасибо за проверку.\n\nПожалуйста, не забудьте сохранить ключ восстановления безопасно.",
"invalidRecoveryKey": "Введенный вами ключ восстановления недействителен. Убедитесь, что он содержит 24 слова и проверьте правильность написания каждого слова.\n\nЕсли вы ввели старый код восстановления, убедитесь, что он длиной 64 символа, и проверьте каждый из них.",
"recreatePasswordTitle": "Пересоздать пароль",
"recreatePasswordBody": "Текущее устройство недостаточно мощно для верификации пароля, но мы можем регенерировать так, как это работает со всеми устройствами.\n\nПожалуйста, войдите, используя ваш ключ восстановления и сгенерируйте ваш пароль (вы можете использовать тот же пароль, если пожелаете).",
"invalidKey": "Неправильный ключ",
"tryAgain": "Попробовать снова",
"viewRecoveryKey": "Просмотреть ключ восстановления",
"confirmRecoveryKey": "Подтвердите ключ восстановления",
"recoveryKeyVerifyReason": "Ваш ключ восстановления - это единственный способ восстановить ваши фотографии, если вы забыли пароль. Вы можете найти ключ восстановления в Настройки > Аккаунт.\n\nПожалуйста, введите здесь ваш ключ восстановления, чтобы убедиться, что вы сохранили его правильно.",
"confirmYourRecoveryKey": "Подтвердите ваш ключ восстановления",
"confirm": "Подтвердить",
"emailYourLogs": "Отправить свои журналы",
"pleaseSendTheLogsTo": "Пожалуйста, отправьте журналы на \n{toEmail}",
"copyEmailAddress": "Копировать адрес электронной почты",
"exportLogs": "Экспорт журналов",
"enterYourRecoveryKey": "Введите свой ключ восстановления",
"tempErrorContactSupportIfPersists": "Похоже, что-то пошло не так. Пожалуйста, повторите попытку через некоторое время. Если ошибка повторится, обратитесь в нашу службу поддержки.",
"itLooksLikeSomethingWentWrongPleaseRetryAfterSome": "Похоже, что-то пошло не так. Пожалуйста, повторите попытку через некоторое время. Если ошибка повторится, обратитесь в нашу службу поддержки.",
"about": "О программе",
"weAreOpenSource": "У нас открытое программное обеспечение!",
"privacy": "Конфиденциальность",
"terms": "Условия использования",
"checkForUpdates": "Проверить наличие обновлений",
"checking": "Проверка...",
"youAreOnTheLatestVersion": "Вы используете последнюю версию",
"warning": "Предупреждение",
"exportWarningDesc": "Экспортированный файл содержит конфиденциальную информацию. Пожалуйста, храните его в надежном месте.",
"iUnderStand": "Я понимаю",
"@iUnderStand": {
"description": "Text for the button to confirm the user understands the warning"
},
"authToExportCodes": "Пожалуйста, авторизуйтесь для экспорта кодов",
"importSuccessTitle": "Ура!",
"importSuccessDesc": "Вы импортировали {count} кодов!",
"@importSuccessDesc": {
"placeholders": {
"count": {
"description": "The number of codes imported",
"type": "int",
"example": "1"
}
}
},
"sorry": "Извините",
"importFailureDesc": "Не удалось разобрать выбранный файл.\nПожалуйста, напишите на support@ente.io, если вам нужна помощь!",
"pendingSyncs": "Предупреждение",
"pendingSyncsWarningBody": "Некоторые из ваших кодов не были сохранены.\n\nПожалуйста, убедитесь, что у вас есть резервная копия для этих кодов перед выходом.",
"checkInboxAndSpamFolder": "Пожалуйста, проверьте свой почтовый ящик (и спам) для завершения верификации",
"tapToEnterCode": "Нажмите, чтобы ввести код",
"resendEmail": "Отправить письмо еще раз",
"weHaveSendEmailTo": "Мы отправили письмо на <green>{email}</green>",
"@weHaveSendEmailTo": {
"description": "Text to indicate that we have sent a mail to the user",
"placeholders": {
"email": {
"description": "The email address of the user",
"type": "String",
"example": "example@ente.io"
}
}
},
"activeSessions": "Активные сеансы",
"somethingWentWrongPleaseTryAgain": "Что-то пошло не так. Попробуйте еще раз",
"thisWillLogYouOutOfThisDevice": "Вы выйдете из этого устройства!",
"thisWillLogYouOutOfTheFollowingDevice": "Вы выйдете из списка следующих устройств:",
"terminateSession": "Завершить сеанс?",
"terminate": "Завершить",
"thisDevice": "Это устройство",
"toResetVerifyEmail": "Чтобы сбросить пароль, сначала подтвердите свой адрес электронной почты.",
"thisEmailIsAlreadyInUse": "Этот адрес электронной почты уже используется",
"verificationFailedPleaseTryAgain": "Проверка не удалась, попробуйте еще раз",
"yourVerificationCodeHasExpired": "Срок действия вашего проверочного кода истек",
"incorrectCode": "Неверный код",
"sorryTheCodeYouveEnteredIsIncorrect": "Извините, введенный вами код неверный",
"emailChangedTo": "Адрес электронной почты изменен на {newEmail}",
"authenticationFailedPleaseTryAgain": "Аутентификация не удалась, попробуйте еще раз",
"authenticationSuccessful": "Аутентификация прошла успешно!",
"twofactorAuthenticationSuccessfullyReset": "Двухфакторная аутентификация успешно сброшена",
"incorrectRecoveryKey": "Неправильный ключ восстановления",
"theRecoveryKeyYouEnteredIsIncorrect": "Введен неправильный ключ восстановления",
"enterPassword": "Введите пароль",
"selectExportFormat": "Выбрать формат экспорта",
"exportDialogDesc": "Зашифрованные экспортированные данные будут защищены паролем, который вы выберете.",
"encrypted": "Зашифрованный",
"plainText": "Обычный текст",
"passwordToEncryptExport": "Пароль для шифрования экспорта",
"export": "Экспорт"
}

318
lib/l10n/arb/app_tr.arb Normal file
View File

@@ -0,0 +1,318 @@
{
"account": "Hesabım",
"recoveryKey": "Kurtarma Anahtarı",
"counterAppBarTitle": "Sayaç",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "2 faktörlü kimlik doğrulama kodlarınızı koruyun",
"onBoardingGetStarted": "Başlayın",
"setupFirstAccount": "İlk hesabınızı ekleyin",
"importScanQrCode": "Karekodu tara",
"qrCode": "QR Kodu",
"importEnterSetupKey": "Kurulum anahtarını giriniz",
"importAccountPageTitle": "Hesap bilgilerinizi girin",
"incorrectDetails": "Bilgiler yanlış",
"pleaseVerifyDetails": "Lütfen bilgileri doğrulayın ve tekrar deneyin",
"codeIssuerHint": "Yayınlayan",
"codeSecretKeyHint": "Gizli Anahtar",
"codeAccountHint": "Hesap (örnek@domain.com)",
"accountKeyType": "Anahtar türü",
"sessionExpired": "Oturum süresi doldu",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "Lütfen tekrar giriş yapın",
"loggingOut": "Çıkış yapılıyor...",
"timeBasedKeyType": "Zaman tabanlı (TOTP)",
"counterBasedKeyType": "Sayaç tabanlı (HOTP)",
"saveAction": "Kaydet",
"nextTotpTitle": "sonraki",
"deleteCodeTitle": "Kodu silmek istiyor musunuz?",
"deleteCodeMessage": "Bu kodu silmek istediğinize emin misiniz? Bu geri alınamaz bir işlemdir.",
"viewLogsAction": "Günlüğü görüntüle",
"sendLogsDescription": "Günlüğünüz hatanızı çözmemize yardımcı olacaktır. Hassas bilginin kaydedilmediğine dikkat etsek de bu günlükleri paylaşmadan önce kontrol etmenizi isteriz.",
"preparingLogsTitle": "Günlük hazırlanıyor...",
"emailLogsTitle": "E-postaların Günlüğü",
"emailLogsMessage": "Lütfen günlüğünüzü {email} adresine gönderin",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "E-postayı Kopyala",
"exportLogsAction": "Günlüğü dışa aktar",
"reportABug": "Bir hata bildir",
"crashAndErrorReporting": "Çökme ve hata bildirimi",
"reportBug": "Hata bildir",
"emailUsMessage": "Lütfen bize {email} adresinden ulaşın",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "Destek ekibiyle iletişime geçin",
"rateUsOnStore": "Bizi {storeName} üzerinden değerlendirin",
"blog": "Blog",
"merchandise": "Ürünler",
"verifyPassword": "Şifreyi doğrulayın",
"pleaseWait": "Lütfen bekleyin...",
"generatingEncryptionKeysTitle": "Şifreleme anahtarları üretiliyor...",
"recreatePassword": "Şifreyi yeniden oluştur",
"recreatePasswordMessage": "Bu cihaz, şifrenizi doğrulayabilecek kadar güçlü değil, bu sebeple şifreyi her cihazda çalışabilecek bir yolla oluşturmamız gerekiyor.\n\nLütfen kurtarma anahtarınızla giriş yapın ve şifrenizi tekrar oluşturun (dilerseniz aynı şifreyi kullanabilirsiniz).",
"useRecoveryKey": "Kurtarma anahtarını kullan",
"incorrectPasswordTitle": "Yanlış şifre",
"welcomeBack": "Tekrar hoş geldiniz!",
"madeWithLoveAtPrefix": "❤️ ile yapılmıştır ",
"supportDevs": "Bu projeyi desteklemek için <bold-green>ente</bold-green> kanalına abone olun.",
"supportDiscount": "İlk yılda %10 indirim için \"AUTH\" kupon kodunu kullanın",
"changeEmail": "E-postayı değiştir",
"changePassword": "Şifreyi değiştir",
"data": "Veriler",
"importCodes": "Kodu içe aktar",
"importTypePlainText": "Düz metin",
"importTypeEnteEncrypted": "ente Şifreli dışa aktarma",
"passwordForDecryptingExport": "Dışa aktarımın şifresini çözmek için parola",
"passwordEmptyError": "Şifre boş olamaz",
"importFromApp": "Kodları {appName} uygulamasından içe aktarın",
"importGoogleAuthGuide": "\"Hesapları Aktar\" seçeneğini kullanarak hesaplarınızı Google Authenticator'dan bir QR koduna aktarın. Ardından başka bir cihaz kullanarak QR kodunu tarayın.\n\nİpucu: QR kodunun fotoğrafını çekmek için dizüstü bilgisayarınızın kamerasını kullanabilirsiniz.",
"importSelectJsonFile": "JSON dosyasını seçin",
"importEnteEncGuide": "Ente'den dışa aktarılan şifrelenmiş JSON dosyasını seçin",
"importRaivoGuide": "Raivo'nun ayarlarında \"OTP'leri Zip arşivine aktar\" seçeneğini kullanın.\n\nZip dosyasını çıkarın ve JSON dosyasını içe aktarın.",
"importAegisGuide": "Aegis'in Ayarlarında \"Kasayı dışa aktar\" seçeneğini kullanın.\n\nKasanız şifrelenmişse, kasanın şifresini çözmek için kasa parolasını girmeniz gerekecektir.",
"exportCodes": "Kodu dışa aktar",
"importLabel": "İçe aktar",
"importInstruction": "Lütfen aşağıdaki şekilde kodlarınızın listesini içeren dosyayı seçiniz",
"importCodeDelimiterInfo": "Kodlar, virgülle ya da yeni bir satırla ayrılabilir",
"selectFile": "Dosya seç",
"emailVerificationToggle": "E-posta doğrulama",
"authToChangeEmailVerificationSetting": "E-posta doğrulamasını değiştirmek için lütfen kimlik doğrulaması yapın",
"authToViewYourRecoveryKey": "Kurtarma anahtarınızı görmek için lütfen kimliğinizi doğrulayın",
"authToChangeYourEmail": "Epostanızı değiştirmek için lütfen kimliğinizi doğrulayın",
"authToChangeYourPassword": "Şifrenizi değiştirmek için lütfen kimliğinizi doğrulayın",
"ok": "Tamam",
"cancel": "İptal Et",
"yes": "Evet",
"no": "Hayır",
"email": "E-Posta",
"support": "Destek",
"settings": "Ayarlar",
"copied": "Kopyalandı",
"pleaseTryAgain": "Lütfen tekrar deneyin",
"existingUser": "Mevcut kullanıcı",
"newUser": "Yeni ente kullanıcısı",
"delete": "Sil",
"enterYourPasswordHint": "Parolanızı girin",
"forgotPassword": "Şifremi unuttum",
"oops": "Hay aksi",
"suggestFeatures": "Özellik önerin",
"faq": "SSS",
"faq_q_1": "Ente Auth ne kadar güvenli?",
"faq_a_1": "Ente aracılığıyla yedeklediğiniz tüm kodlar uçtan uca şifrelenmiş olarak saklanır. Bu, kodlarınıza yalnızca sizin erişebileceğiniz anlamına gelir. Uygulamalarımız açık kaynaklıdır ve kriptografimiz harici olarak denetlenmiştir.",
"faq_q_2": "Kodlarıma masaüstünden erişebilir miyim?",
"faq_a_2": "Kodlarınıza internet üzerinden @ auth.ente.io adresinden erişebilirsiniz.",
"faq_q_3": "Kodları nasıl silebilirim?",
"faq_a_3": "Bir kodu, o öğenin üzerinde sola kaydırarak silebilirsiniz.",
"faq_q_4": "Bu projeye nasıl destek olabilirim?",
"faq_a_4": "Fotoğraflar uygulamamıza @ ente.io abone olarak bu projenin geliştirilmesine destek olabilirsiniz.",
"faq_q_5": "FaceID kilidini ente Auth'ta nasıl etkinleştirebilirim",
"faq_a_5": "FaceID kilidini Ayarlar → Güvenlik → Kilit Ekranı altında etkinleştirebilirsiniz.",
"somethingWentWrongMessage": "Bir şeyler ters gitti, lütfen tekrar deneyin",
"leaveFamily": "Aile planından ayrıl",
"leaveFamilyMessage": "Aile planından ayrılmak istediğinize emin misiniz?",
"inFamilyPlanMessage": "Aile planı kullanıyorsunuz!",
"swipeHint": "Kodları düzenlemek ya da kaldırmak için sola kaydırın",
"scan": "Tara",
"scanACode": "Bir kodu tarayın",
"verify": "Doğrula",
"verifyEmail": "E-posta adresini doğrulayın",
"enterCodeHint": "Kimlik doğrulayıcı uygulamanızdaki 6 haneli doğrulama kodunu girin",
"lostDeviceTitle": "Cihazınızı mı kaybettiniz?",
"twoFactorAuthTitle": "İki faktörlü kimlik doğrulama",
"recoverAccount": "Hesap kurtarma",
"enterRecoveryKeyHint": "Kurtarma anahtarınızı girin",
"recover": "Kurtar",
"contactSupportViaEmailMessage": "Lütfen kayıtlı e-posta adresinizden {email} adresine e-posta gönderin",
"@contactSupportViaEmailMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"noRecoveryKeyTitle": "Kurtarma anahtarınız yok mu?",
"enterEmailHint": "E-posta adresinizi girin",
"invalidEmailTitle": "Geçersiz e-posta adresi",
"invalidEmailMessage": "Lütfen geçerli bir e-posta adresi girin.",
"deleteAccount": "Hesabı sil",
"deleteAccountQuery": "Sizin gitmenizi görmekten üzüleceğiz. Bazı problemlerle mi karşılaşıyorsunuz?",
"yesSendFeedbackAction": "Evet, geri bildirimi gönder",
"noDeleteAccountAction": "Hayır, hesabı sil",
"initiateAccountDeleteTitle": "Hesap silme işlemini yapabilmek için lütfen kimliğinizi doğrulayın",
"confirmAccountDeleteTitle": "ente hesabınızı silmek istediğinizden emin misiniz?",
"confirmAccountDeleteMessage": "Tüm uygulamalarda (Fotoğraflar ve Kimlik doğrulayıcı) kaydedilen verileriniz zamanlı silinmeye ayarlanacak ve hesabınız kalıcı olarak silinecektir.",
"sendEmail": "E-posta gönder",
"createNewAccount": "Yeni hesap oluşturun",
"weakStrength": "Zayıf",
"strongStrength": "Güçlü",
"moderateStrength": "Orta",
"confirmPassword": "Şifreyi onayla",
"close": "Kapat",
"oopsSomethingWentWrong": "Hay aksi, bir sorun oluştu.",
"selectLanguage": "Dil Seçin",
"language": "Dil",
"social": "Sosyal Medya",
"security": "Güvenlik",
"lockscreen": "Kilit ekranı",
"authToChangeLockscreenSetting": "Kilit ekranı ayarını değiştirmek için lütfen kimliğinizi doğrulayın",
"lockScreenEnablePreSteps": "Kilit ekranını aktif etmek için lütfen cihazın ayarlarından şifreyi ya da ekran kilidini ayarlayın.",
"viewActiveSessions": "Aktif oturumları görüntüle",
"authToViewYourActiveSessions": "Aktif oturumlarınızı görüntülemek için lütfen kimliğinizi doğrulayın",
"searchHint": "Ara...",
"search": "Ara",
"sorryUnableToGenCode": "Üzgünüz, {issuerName} için bir kod oluşturulamadı",
"noResult": "Sonuç yok",
"addCode": "Kod ekle",
"scanAQrCode": "Bir QR kod tarayın",
"enterDetailsManually": "Bilgileri elle girin",
"edit": "Düzenle",
"copiedToClipboard": "Panoya kopyalandı",
"error": "Hata",
"recoveryKeyCopiedToClipboard": "Kurtarma anahtarı panoya kopyalandı",
"recoveryKeyOnForgotPassword": "Eğer şifrenizi unutursanız, verilerinizi kurtarabileceğiniz tek yol bu anahtardır.",
"recoveryKeySaveDescription": "Biz bu anahtarı saklamıyoruz, lütfen. bu 24 kelimelik anahtarı güvenli bir yerde saklayın.",
"doThisLater": "Bunu daha sonra yap",
"saveKey": "Anahtarı kaydet",
"back": "Geri",
"createAccount": "Hesap oluştur",
"passwordStrength": "Şifre gücü: {passwordStrengthValue}",
"@passwordStrength": {
"description": "Text to indicate the password strength",
"placeholders": {
"passwordStrengthValue": {
"description": "The strength of the password as a string",
"type": "String",
"example": "Weak or Moderate or Strong"
}
},
"message": "Password Strength: {passwordStrengthText}"
},
"password": "Şifre",
"signUpTerms": "<u-terms>Kullanım şartları</u-terms>nı ve <u-policy>gizlilik politikası</u-policy>nı kabul ediyorum",
"privacyPolicyTitle": "Gizlilik Politikası",
"termsOfServicesTitle": "Şartlar",
"encryption": "Şifreleme",
"setPasswordTitle": "Şifre belirleyin",
"changePasswordTitle": "Şifreyi değiştirin",
"resetPasswordTitle": "Şifreyi sıfırlayın",
"encryptionKeys": "Şifreleme anahtarları",
"passwordWarning": "Bu şifreyi saklamıyoruz, bu nedenle unutursanız, <underline>verilerinizin şifresini çözemeyiz</underline>",
"enterPasswordToEncrypt": "Verilerinizi şifrelemek için kullanabileceğimiz bir şifre girin",
"enterNewPasswordToEncrypt": "Verilerinizi şifrelemek için kullanabileceğimiz yeni bir şifre girin",
"passwordChangedSuccessfully": "Şifre başarıyla değiştirildi",
"generatingEncryptionKeys": "Şifreleme anahtarları oluşturuluyor...",
"continueLabel": "Devam et",
"insecureDevice": "Güvenli olmayan cihaz",
"sorryWeCouldNotGenerateSecureKeysOnThisDevicennplease": "Üzgünüz, bu cihazda güvenli anahtarlar oluşturamadık.\n\nlütfen farklı bir cihazdan kaydolun.",
"howItWorks": "Nasıl çalışır",
"ackPasswordLostWarning": "Eğer şifremi kaybedersem, verilerim <underline>uçtan uca şifrelendiğinden</underline> verilerimi kaybedebileceğimi anladım.",
"loginTerms": "Giriş yaparak, <u-terms>kullanım şartları</u-terms>nı ve <u-policy>gizlilik politikası</u-policy>nı onaylıyorum",
"logInLabel": "Giriş yapın",
"logout": "Çıkış yap",
"areYouSureYouWantToLogout": "Çıkış yapmak istediğinize emin misiniz?",
"yesLogout": "Evet, çıkış yap",
"exit": "Çıkış",
"verifyingRecoveryKey": "Kurtarma anahtarı doğrulanıyor...",
"recoveryKeyVerified": "Kurtarma anahtarı doğrulandı",
"recoveryKeySuccessBody": "Güzel! Kurtarma anahtarınız geçerli. Doğruladığınız için teşekkürler.\n\nLütfen kurtarma anahtarınızı güvenli bir şekilde yedeklemeyi unutmayın.",
"invalidRecoveryKey": "Girdiğiniz kurtarma kodu geçersiz. Lütfen 24 kelime içerdiğinden ve her birinin yazılışını kontrol ettiğinizden emin olun.\n\nEğer eski bir kurtarma kodu girdiyseniz, Lütfen 64 kelime içerdiğinden ve her birinin yazılışını kontrol ettiğinizden emin olun.",
"recreatePasswordTitle": "Şifreyi yeniden oluştur",
"recreatePasswordBody": "Mevcut cihaz şifrenizi doğrulayacak kadar güçlü değil, ancak tüm cihazlarla çalışacak şekilde yeniden oluşturabiliriz.\n\nLütfen kurtarma anahtarınızı kullanarak giriş yapın ve şifrenizi yeniden oluşturun (isterseniz aynı şifreyi tekrar kullanabilirsiniz).",
"invalidKey": "Geçersiz anahtar",
"tryAgain": "Tekrar deneyin",
"viewRecoveryKey": "Kurtarma anahtarını görün",
"confirmRecoveryKey": "Kurtarma anahtarını doğrulayın",
"recoveryKeyVerifyReason": "Kurtarma anahtarınız, şifrenizi unutmanız durumunda fotoğraflarınızı kurtarmanın tek yoludur. Kurtarma anahtarınızı Ayarlar > Hesap bölümünde bulabilirsiniz.\n\nDoğru kaydettiğinizi doğrulamak için lütfen kurtarma anahtarınızı buraya girin.",
"confirmYourRecoveryKey": "Kurtarma anahtarınızı doğrulayın",
"confirm": "Doğrula",
"emailYourLogs": "Günlüklerinizi e-postayla gönderin",
"pleaseSendTheLogsTo": "Lütfen günlükleri şu adrese gönderin\n{toEmail}",
"copyEmailAddress": "E-posta adresini kopyala",
"exportLogs": "Günlüğü dışa aktar",
"enterYourRecoveryKey": "Kurtarma anahtarınızı girin",
"tempErrorContactSupportIfPersists": "Bir şeyler ters gitmiş gibi görünüyor. Lütfen bir süre sonra tekrar deneyin. Hata devam ederse, lütfen destek ekibimizle iletişime geçin.",
"itLooksLikeSomethingWentWrongPleaseRetryAfterSome": "Bir şeyler ters gitmiş gibi görünüyor. Lütfen bir süre sonra tekrar deneyin. Hata devam ederse, lütfen destek ekibimizle iletişime geçin.",
"about": "Hakkında",
"weAreOpenSource": "Biz açık kaynağız!",
"privacy": "Gizlilik",
"terms": "Şartlar",
"checkForUpdates": "Güncellemeleri denetleyin",
"checking": "Denetleniyor...",
"youAreOnTheLatestVersion": "En son sürümdesiniz",
"warning": "Uyarı",
"exportWarningDesc": "Dışa aktarılan dosya hassas bilgiler içeriyor. Lütfen bunu güvenli bir şekilde saklayın.",
"iUnderStand": "Anlıyorum",
"@iUnderStand": {
"description": "Text for the button to confirm the user understands the warning"
},
"authToExportCodes": "Kodlarınızı dışa aktarmak için lütfen kimlik doğrulaması yapın",
"importSuccessTitle": "Oley!",
"importSuccessDesc": "İçeri {count} kod aktardınız!",
"@importSuccessDesc": {
"placeholders": {
"count": {
"description": "The number of codes imported",
"type": "int",
"example": "1"
}
}
},
"sorry": "Üzgünüz",
"importFailureDesc": "Seçilen dosya ayrıştırılamadı.\nYardıma ihtiyacınız varsa lütfen support@ente.io adresine yazın!",
"pendingSyncs": "Uyarı",
"pendingSyncsWarningBody": "Kodlarınızdan bazıları yedeklenmemiş.\n\nLütfen oturumu kapatmadan önce bu kodların yedeğini aldığınızdan emin olun.",
"checkInboxAndSpamFolder": "Doğrulamayı tamamlamak için lütfen gelen kutunuzu (ve spam kutunuzu) kontrol edin",
"tapToEnterCode": "Kodu girmek için dokunun",
"resendEmail": "E-postayı yeniden gönder",
"weHaveSendEmailTo": "<green>{email}</green> adresine bir posta gönderdik",
"@weHaveSendEmailTo": {
"description": "Text to indicate that we have sent a mail to the user",
"placeholders": {
"email": {
"description": "The email address of the user",
"type": "String",
"example": "example@ente.io"
}
}
},
"activeSessions": "Aktif oturumlar",
"somethingWentWrongPleaseTryAgain": "Bir şeyler ters gitti, lütfen tekrar deneyin",
"thisWillLogYouOutOfThisDevice": "Bu sizin bu cihazdaki oturumunuzu kapatacaktır!",
"thisWillLogYouOutOfTheFollowingDevice": "Bu, aşağıdaki cihazdan çıkış yapmanızı sağlayacaktır:",
"terminateSession": "Oturumu sonlandır?",
"terminate": "Sonlandır",
"thisDevice": "Bu cihaz",
"toResetVerifyEmail": "Şifrenizi sıfırlamak için lütfen önce e-postanızı doğrulayın.",
"thisEmailIsAlreadyInUse": "Bu e-posta zaten kullanılıyor",
"verificationFailedPleaseTryAgain": "Doğrulama başarısız oldu, lütfen tekrar deneyin",
"yourVerificationCodeHasExpired": "Doğrulama kodunuzun süresi doldu",
"incorrectCode": "Yanlış kod",
"sorryTheCodeYouveEnteredIsIncorrect": "Üzgünüz, girdiğiniz kod yanlış",
"emailChangedTo": "E-posta {newEmail} olarak değiştirildi",
"authenticationFailedPleaseTryAgain": "Kimlik doğrulama başarısız oldu, lütfen tekrar deneyin",
"authenticationSuccessful": "Kimlik doğrulama başarılı!",
"twofactorAuthenticationSuccessfullyReset": "İki faktörlü kimlik doğrulama başarıyla sıfırlandı",
"incorrectRecoveryKey": "Yanlış kurtarma kodu",
"theRecoveryKeyYouEnteredIsIncorrect": "Girdiğiniz kurtarma kodu yanlış",
"enterPassword": "Şifreyi girin",
"selectExportFormat": "Dışa aktarma formatını seç",
"exportDialogDesc": "Şifrelenmiş dışa aktarımlar seçtiğiniz bir parola ile korunacaktır.",
"encrypted": "Şifreli",
"plainText": "Düz metin",
"passwordToEncryptExport": "Dışa aktarımı şifrelemek için parola",
"export": "Dışa aktar"
}

271
lib/l10n/arb/app_vi.arb Normal file
View File

@@ -0,0 +1,271 @@
{
"account": "Tài khoản",
"recoveryKey": "Khóa khôi phục",
"counterAppBarTitle": "Bộ Đếm",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "Bảo mật mã 2FA của bạn",
"onBoardingGetStarted": "Bắt đầu",
"setupFirstAccount": "Thiết lập tài khoản đầu tiên của bạn",
"importScanQrCode": "Quét mã QR",
"importEnterSetupKey": "Nhập khóa thiết lập",
"importAccountPageTitle": "Nhập chi tiết tài khoản",
"secretCanNotBeEmpty": "Khoá bí mật không được để trống",
"bothIssuerAndAccountCanNotBeEmpty": "Cả nhà phát hành và tài khoản không được để trống",
"incorrectDetails": "Thông tin chi tiết không chính xác",
"pleaseVerifyDetails": "Vui lòng xác minh chi tiết và thử lại",
"codeIssuerHint": "Nhà phát hành",
"codeSecretKeyHint": "Khóa bí mật",
"codeAccountHint": "Tài khoản (bạn@miền.com)",
"accountKeyType": "Loại khóa",
"sessionExpired": "Phiên làm việc đã hết hạn",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "Vui lòng đăng nhập lại",
"loggingOut": "Đang thoát...",
"timeBasedKeyType": "Dựa trên thời gian (TOTP)",
"counterBasedKeyType": "Dựa trên bộ đếm (HOTP)",
"saveAction": "Lưu",
"nextTotpTitle": "tiếp",
"deleteCodeTitle": "Xóa mã?",
"deleteCodeMessage": "Bạn có chắc chắn muốn xóa mã này không? Hành động này không thể đảo ngược.",
"viewLogsAction": "Xem các bản ghi",
"sendLogsDescription": "Thao tác này sẽ gửi nhật ký để giúp chúng tôi gỡ lỗi sự cố của bạn. Mặc dù chúng tôi thực hiện các biện pháp phòng ngừa để đảm bảo rằng thông tin nhạy cảm không được ghi lại, nhưng chúng tôi khuyến khích bạn xem các nhật ký này trước khi chia sẻ chúng.",
"preparingLogsTitle": "Đang chuẩn bị nhật ký...",
"emailLogsTitle": "Nhật ký email",
"emailLogsMessage": "Vui lòng gửi nhật ký tới {email}",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "Sao chép email",
"exportLogsAction": "Xuất nhật ký",
"reportABug": "Báo cáo lỗi",
"crashAndErrorReporting": "Báo cáo sự cố và lỗi",
"reportBug": "Báo lỗi",
"emailUsMessage": "Vui lòng gửi email cho chúng tôi tại {email}",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "Liên hệ hỗ trợ",
"verifyPassword": "Xác nhận mật khẩu",
"pleaseWait": "Vui lòng chờ...",
"generatingEncryptionKeysTitle": "Đang tạo khóa mã hóa...",
"recreatePassword": "Tạo lại mật khẩu",
"recreatePasswordMessage": "Thiết bị hiện tại không đủ mạnh để xác minh mật khẩu của bạn, vì vậy chúng tôi cần tạo lại mật khẩu một lần theo cách hoạt động với tất cả các thiết bị. \n\nVui lòng đăng nhập bằng khóa khôi phục và tạo lại mật khẩu của bạn (bạn có thể sử dụng lại cùng một mật khẩu nếu muốn).",
"useRecoveryKey": "Dùng khóa khôi phục",
"incorrectPasswordTitle": "Mật khẩu không đúng",
"welcomeBack": "Chào mừng trở lại!",
"madeWithLoveAtPrefix": "được làm bằng ❤️ tại ",
"supportDevs": "Đăng ký <bold-green>ente</bold-green> để hỗ trợ dự án này.",
"supportDiscount": "Sử dụng mã giảm giá \"AUTH\" để được giảm 10% trong năm đầu tiên",
"changeEmail": "Thay đổi email",
"changePassword": "Thay đổi mật khẩu",
"data": "Dữ liệu",
"importCodes": "Nhập mã",
"exportCodes": "Xuất mã",
"importInstruction": "Vui lòng chọn tệp chứa danh sách mã của bạn ở định dạng sau",
"importCodeDelimiterInfo": "Các mã có thể được phân tách bằng một dấu phẩy hoặc một dòng mới",
"selectFile": "Chọn tập tin",
"authToViewYourRecoveryKey": "Vui lòng xác thực để xem khóa khôi phục của bạn",
"authToChangeYourEmail": "Vui lòng xác thực để thay đổi email của bạn",
"authToChangeYourPassword": "Vui lòng xác thực để thay đổi mật khẩu của bạn",
"ok": "Được rồi",
"cancel": "Hủy",
"yes": "Đúng",
"no": "Không",
"email": "Thư điện tử",
"support": "Hỗ trợ",
"settings": "Cài đặt",
"copied": "\u001dĐã sao chép",
"pleaseTryAgain": "Vui lòng thử lại",
"existingUser": "Người dùng hiện tại",
"newUser": "Mới tham gia ente",
"delete": "Xóa",
"enterYourPasswordHint": "Nhập mật khẩu của bạn",
"forgotPassword": "Quên mật khẩu",
"oops": "Rất tiếc",
"somethingWentWrongMessage": "Phát hiện có lỗi, xin thử lại",
"leaveFamily": "Rời khỏi gia đình",
"leaveFamilyMessage": "Bạn có chắc chắn muốn thoát khỏi gói dành cho gia đình không?",
"inFamilyPlanMessage": "Bạn đang sử dụng gói dành cho gia đình!",
"swipeHint": "Vuốt sang trái để chỉnh sửa hoặc xóa mã",
"scan": "Quét",
"scanACode": "Quét mã",
"verify": "Xác minh",
"verifyEmail": "Xác nhận địa chỉ Email",
"enterCodeHint": "Nhập mã gồm 6 chữ số từ ứng dụng xác thực của bạn",
"lostDeviceTitle": "Bạn đã mất thiết bị?",
"twoFactorAuthTitle": "Xác thực hai yếu tố",
"recoverAccount": "Khôi phục tài khoản",
"enterRecoveryKeyHint": "Nhập khóa khôi phục của bạn",
"recover": "Khôi phục",
"contactSupportViaEmailMessage": "Vui lòng gửi email đến {email} từ địa chỉ email đã đăng ký của bạn",
"@contactSupportViaEmailMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"noRecoveryKeyTitle": "Không có khóa khôi phục?",
"enterEmailHint": "Nhập địa chỉ email của bạn",
"invalidEmailTitle": "Địa chỉ email không hợp lệ",
"invalidEmailMessage": "Xin vui lòng nhập một địa chỉ email hợp lệ.",
"deleteAccount": "Xoá tài khoản",
"deleteAccountQuery": "Chúng tôi sẽ rất tiếc khi thấy bạn đi. Bạn đang phải đối mặt với một số vấn đề?",
"yesSendFeedbackAction": "Có, gửi phản hồi",
"noDeleteAccountAction": "Không, xóa tài khoản",
"initiateAccountDeleteTitle": "Vui lòng xác thực để bắt đầu xóa tài khoản",
"confirmAccountDeleteTitle": "Bạn có chắc rằng bạn muốn xóa tài khoản ente của bạn không?",
"confirmAccountDeleteMessage": "Dữ liệu đã tải lên của bạn, trên tất cả các ứng dụng (cả Ảnh và Authenticator), sẽ được lên lịch xóa và tài khoản của bạn sẽ bị xóa vĩnh viễn.",
"sendEmail": "Gửi email",
"createNewAccount": "Tạo tài khoản mới",
"weakStrength": "Yếu",
"strongStrength": "Mạnh",
"moderateStrength": "Trung bình",
"confirmPassword": "Xác nhận mật khẩu",
"close": "Đóng",
"oopsSomethingWentWrong": "Rất tiếc, Đã xảy ra lỗi.",
"selectLanguage": "Chọn ngôn ngữ",
"language": "Ngôn ngữ",
"social": "Xã hội",
"security": "Bảo mật",
"lockscreen": "Màn hình khoá",
"authToChangeLockscreenSetting": "Vui lòng xác thực để thay đổi cài đặt màn hình khóa",
"lockScreenEnablePreSteps": "Để bật màn hình khóa, vui lòng thiết lập mật khẩu thiết bị hoặc khóa màn hình trong cài đặt hệ thống của bạn.",
"viewActiveSessions": "Xem danh sách phiên làm việc hiện tại",
"authToViewYourActiveSessions": "Vui lòng xác thực để xem danh sách phiên làm việc của bạn",
"searchHint": "Tìm kiếm...",
"search": "Tìm kiếm",
"sorryUnableToGenCode": "Rất tiếc, không thể tạo mã cho {issuerName}",
"noResult": "Không có kết quả",
"addCode": "Thêm mã",
"scanAQrCode": "Quét mã QR",
"enterDetailsManually": "Nhập chi tiết thủ công",
"edit": "Sửa",
"copiedToClipboard": "Đã sao chép vào khay nhớ tạm",
"error": "Lỗi",
"recoveryKeyCopiedToClipboard": "Đã sao chép khóa khôi phục vào bộ nhớ tạm",
"recoveryKeyOnForgotPassword": "Nếu bạn quên mật khẩu, cách duy nhất bạn có thể khôi phục dữ liệu của mình là sử dụng khóa này.",
"recoveryKeySaveDescription": "Chúng tôi không lưu trữ khóa này, vui lòng lưu khóa 24 từ này ở nơi an toàn.",
"doThisLater": "Để sau",
"saveKey": "Lưu khóa",
"createAccount": "Tạo tài khoản",
"passwordStrength": "Độ mạnh mật khẩu: {passwordStrengthValue}",
"@passwordStrength": {
"description": "Text to indicate the password strength",
"placeholders": {
"passwordStrengthValue": {
"description": "The strength of the password as a string",
"type": "String",
"example": "Weak or Moderate or Strong"
}
},
"message": "Password Strength: {passwordStrengthText}"
},
"password": "Mật khẩu",
"signUpTerms": "Tôi đồng ý với <u-terms>điều khoản dịch vụ</u-terms> và <u-policy>chính sách quyền riêng tư</u-policy>",
"privacyPolicyTitle": "Chính sách bảo mật",
"termsOfServicesTitle": "Điều khoản",
"encryption": "Mã hóa",
"setPasswordTitle": "Đặt mật khẩu",
"changePasswordTitle": "Thay đổi mật khẩu",
"resetPasswordTitle": "Đặt lại mật khẩu",
"encryptionKeys": "Khóa mã hóa",
"passwordWarning": "Chúng tôi không lưu trữ mật khẩu này, vì vậy nếu bạn quên, <underline>chúng tôi không thể giải mã dữ liệu của bạn</underline>",
"enterPasswordToEncrypt": "Nhập mật khẩu mà chúng tôi có thể sử dụng để mã hóa dữ liệu của bạn",
"enterNewPasswordToEncrypt": "Nhập một mật khẩu mới mà chúng tôi có thể sử dụng để mã hóa dữ liệu của bạn",
"passwordChangedSuccessfully": "Thay đổi mật khẩu thành công",
"generatingEncryptionKeys": "Đang tạo khóa mã hóa...",
"continueLabel": "Tiếp tục",
"insecureDevice": "Thiết bị không an toàn",
"sorryWeCouldNotGenerateSecureKeysOnThisDevicennplease": "Rất tiếc, chúng tôi không thể tạo khóa bảo mật trên thiết bị này.\n\nvui lòng đăng ký từ một thiết bị khác.",
"howItWorks": "Cách thức hoạt động",
"ackPasswordLostWarning": "Tôi hiểu rằng việc mất mật khẩu có thể đồng nghĩa với việc mất dữ liệu của tôi vì dữ liệu của tôi được <underline>mã hóa hai đầu</underline>.",
"loginTerms": "Bằng cách nhấp vào đăng nhập, tôi đồng ý với <u-terms>điều khoản dịch vụ</u-terms> và <u-policy>chính sách quyền riêng tư</u-policy>",
"logInLabel": "Đăng nhập",
"logout": "Đăng xuất",
"areYouSureYouWantToLogout": "Bạn có chắc chắn muốn đăng xuất?",
"yesLogout": "Có, đăng xuất",
"exit": "Thoát",
"verifyingRecoveryKey": "Đang xác minh khóa khôi phục...",
"recoveryKeyVerified": "Khóa khôi phục đã được xác thực",
"recoveryKeySuccessBody": "Tuyệt vời! Khóa khôi phục của bạn hợp lệ. Cảm ơn bạn đã xác minh.\n\nHãy nhớ sao lưu khóa khôi phục của bạn một cách an toàn.",
"invalidRecoveryKey": "Khóa khôi phục bạn đã nhập không hợp lệ. Vui lòng đảm bảo rằng nó chứa 24 từ và kiểm tra chính tả của từng từ.\n\nNếu bạn đã nhập mã khôi phục cũ hơn, hãy đảm bảo mã đó dài 64 ký tự và kiểm tra từng ký tự.",
"recreatePasswordTitle": "Tạo lại mật khẩu",
"recreatePasswordBody": "Thiết bị hiện tại không đủ mạnh để xác minh mật khẩu của bạn nhưng chúng tôi có thể tạo lại mật khẩu theo cách hoạt động với tất cả các thiết bị.\n\nVui lòng đăng nhập bằng khóa khôi phục và tạo lại mật khẩu của bạn (bạn có thể sử dụng lại cùng một mật khẩu nếu muốn).",
"invalidKey": "Khoá không hợp lệ",
"tryAgain": "Thử lại",
"viewRecoveryKey": "Hiển thị khóa khôi phục",
"confirmRecoveryKey": "Xác nhận khóa khôi phục",
"recoveryKeyVerifyReason": "Nếu bạn quên mật khẩu, khóa khôi phục là cách duy nhất để khôi phục ảnh của bạn. Bạn có thể tìm thấy khóa khôi phục của mình trong Cài đặt > Tài khoản.\n\nVui lòng nhập khóa khôi phục của bạn tại đây để xác minh rằng bạn đã lưu chính xác.",
"confirmYourRecoveryKey": "Xác nhận khóa khôi phục",
"confirm": "Xác nhận",
"emailYourLogs": "Gửi email nhật ký của bạn",
"pleaseSendTheLogsTo": "Vui lòng gửi nhật ký đến \n{toEmail}",
"copyEmailAddress": "Sao chép địa chỉ email",
"exportLogs": "Xuất nhật ký",
"enterYourRecoveryKey": "Nhập khóa khôi phục của bạn",
"tempErrorContactSupportIfPersists": "Có vẻ như đã xảy ra sự cố. Vui lòng thử lại sau một thời gian. Nếu lỗi vẫn tiếp diễn, vui lòng liên hệ với nhóm hỗ trợ của chúng tôi.",
"itLooksLikeSomethingWentWrongPleaseRetryAfterSome": "Có vẻ như đã xảy ra sự cố. Vui lòng thử lại sau một thời gian. Nếu lỗi vẫn tiếp diễn, vui lòng liên hệ với nhóm hỗ trợ của chúng tôi.",
"about": "Về chúng tôi",
"weAreOpenSource": "Chúng tôi có mã nguồn mở!",
"privacy": "Riêng tư",
"terms": "Điều khoản",
"checkForUpdates": "Kiểm tra cập nhật",
"checking": "Đang kiểm tra...",
"youAreOnTheLatestVersion": "Bạn đang sử dụng phiên bản mới nhất",
"warning": "Cánh báo",
"exportWarningDesc": "Tệp đã xuất chứa thông tin nhạy cảm. Hãy lưu trữ tệp này một cách an toàn.",
"iUnderStand": "Tôi hiểu",
"@iUnderStand": {
"description": "Text for the button to confirm the user understands the warning"
},
"authToExportCodes": "Vui lòng xác thực để xuất mã của bạn",
"importSuccessTitle": "Hoan hô!",
"importSuccessDesc": "Bạn đã nhập {count} mã!",
"@importSuccessDesc": {
"placeholders": {
"count": {
"description": "The number of codes imported",
"type": "int",
"example": "1"
}
}
},
"sorry": "Xin lỗi",
"importFailureDesc": "Không thể phân tích cú pháp tệp đã chọn.\nVui lòng viết thư cho support@ente.io nếu bạn cần trợ giúp!",
"pendingSyncs": "Cánh báo",
"pendingSyncsWarningBody": "Một số mã của bạn chưa được sao lưu.\n\nVui lòng đảm bảo rằng bạn có bản sao lưu cho các mã này trước khi đăng xuất.",
"checkInboxAndSpamFolder": "Vui lòng kiểm tra hộp thư đến (và thư rác) của bạn để hoàn tất xác minh",
"tapToEnterCode": "Chạm để nhập mã",
"resendEmail": "Gửi lại email",
"weHaveSendEmailTo": "Chúng tôi đã gửi thư đến <green>{email}</green>",
"@weHaveSendEmailTo": {
"description": "Text to indicate that we have sent a mail to the user",
"placeholders": {
"email": {
"description": "The email address of the user",
"type": "String",
"example": "example@ente.io"
}
}
},
"activeSessions": "Các phiên làm việc hiện tại",
"somethingWentWrongPleaseTryAgain": "Phát hiện có lỗi, xin thử lại",
"thisWillLogYouOutOfThisDevice": "Thao tác này sẽ đăng xuất bạn khỏi thiết bị này!",
"thisWillLogYouOutOfTheFollowingDevice": "Thao tác này sẽ đăng xuất bạn khỏi thiết bị sau:",
"terminateSession": "Chấm dứt phiên?",
"terminate": "Dừng lại",
"thisDevice": "Thiết bị này"
}

320
lib/l10n/arb/app_zh.arb Normal file
View File

@@ -0,0 +1,320 @@
{
"account": "账户",
"recoveryKey": "恢复密钥",
"counterAppBarTitle": "计数器",
"@counterAppBarTitle": {
"description": "Text shown in the AppBar of the Counter Page"
},
"onBoardingBody": "妥善保管您的 2FA代码",
"onBoardingGetStarted": "开始",
"setupFirstAccount": "设置您的第一个账户",
"importScanQrCode": "扫描二维码",
"qrCode": "二维码",
"importEnterSetupKey": "输入设置密钥",
"importAccountPageTitle": "输入账户详细信息",
"secretCanNotBeEmpty": "密码不能为空",
"bothIssuerAndAccountCanNotBeEmpty": "发行人和账户均不能为空",
"incorrectDetails": "详细信息不正确",
"pleaseVerifyDetails": "请验证详细信息并重试",
"codeIssuerHint": "发行人",
"codeSecretKeyHint": "私钥",
"codeAccountHint": "账户 (you@domain.com)",
"accountKeyType": "密钥类型",
"sessionExpired": "会话已过期",
"@sessionExpired": {
"description": "Title of the dialog when the users current session is invalid/expired"
},
"pleaseLoginAgain": "请重新登录",
"loggingOut": "正在退出登录...",
"timeBasedKeyType": "基于时间的 (TOTP)",
"counterBasedKeyType": "基于计数器的(HOTP)",
"saveAction": "保存",
"nextTotpTitle": "下一步",
"deleteCodeTitle": "要删除代码吗?",
"deleteCodeMessage": "您确定要删除此代码吗?此操作是不可逆的。",
"viewLogsAction": "查看日志",
"sendLogsDescription": "这将跨日志发送以帮助我们调试您的问题。 虽然我们采取预防措施以确保不记录敏感信息,但我们鼓励您在共享这些日志之前先查看它们。",
"preparingLogsTitle": "正在准备日志...",
"emailLogsTitle": "电子邮件日志",
"emailLogsMessage": "请将日志发送至 {email}",
"@emailLogsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"copyEmailAction": "复制电子邮件",
"exportLogsAction": "导出日志",
"reportABug": "报告错误",
"crashAndErrorReporting": "崩溃和错误报告",
"reportBug": "报告错误",
"emailUsMessage": "请给我们发送电子邮件至 {email}",
"@emailUsMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"contactSupport": "联系支持",
"rateUsOnStore": "在 {storeName} 上给我们评分",
"blog": "博客",
"merchandise": "商品",
"verifyPassword": "验证密码",
"pleaseWait": "请稍候...",
"generatingEncryptionKeysTitle": "正在生成加密密钥...",
"recreatePassword": "重新创建密码",
"recreatePasswordMessage": "当前设备的强度不足以验证您的密码, 所以我们需要以一种能够与所有设备一起运行的方式重新生成它。 \n\n请使用您的恢复密钥登录并重新生成您的密码 (如果您愿意,您可以再次使用相同密钥)。",
"useRecoveryKey": "使用恢复密钥",
"incorrectPasswordTitle": "密码错误",
"welcomeBack": "欢迎回来!",
"madeWithLoveAtPrefix": "用❤️制成 ",
"supportDevs": "订阅 <bold-green>ente</bold-green> 以支持此项目。",
"supportDiscount": "使用优惠券号码“AUTH”获得第一年优惠10%的折扣",
"changeEmail": "修改邮箱",
"changePassword": "修改密码",
"data": "数据",
"importCodes": "导入代码",
"importTypePlainText": "纯文本",
"importTypeEnteEncrypted": "ente 加密导出",
"passwordForDecryptingExport": "用来解密导出的密码",
"passwordEmptyError": "密码不能为空",
"importFromApp": "从 {appName} 导入代码",
"importGoogleAuthGuide": "使用“转移帐户”选项将您的帐户从 Google 身份验证器导出到二维码。然后使用另一台设备扫描二维码。\n\n提示您可以使用笔记本电脑的网络摄像头拍摄二维码的照片。",
"importSelectJsonFile": "选择 JSON 文件",
"importEnteEncGuide": "选择从ente导出的加密JSON文件",
"importRaivoGuide": "使用 Raivo 设置中的“将 OTP 导出到 Zip 存档”选项。\n\n解压 zip 文件并导入 JSON 文件。",
"importAegisGuide": "在Aegis的设置中使用\"导出密码库\"选项。\n\n如果您的密码库已加密您需要输入密码才能解密密码库。",
"exportCodes": "导出代码",
"importLabel": "导入",
"importInstruction": "请以以下格式选择包含代码列表的文件",
"importCodeDelimiterInfo": "代码可以用逗号或新行分隔。",
"selectFile": "选择文件",
"emailVerificationToggle": "电子邮件验证",
"authToChangeEmailVerificationSetting": "请进行身份验证以更改电子邮件验证",
"authToViewYourRecoveryKey": "请验证以查看您的恢复密钥",
"authToChangeYourEmail": "请验证以更改您的电子邮件",
"authToChangeYourPassword": "请验证以更改密码",
"ok": "好的",
"cancel": "取消",
"yes": "是",
"no": "否",
"email": "电子邮件地址",
"support": "支持",
"settings": "设置",
"copied": "已复制",
"pleaseTryAgain": "请重试",
"existingUser": "已注册用户",
"newUser": "刚来到ente",
"delete": "删除",
"enterYourPasswordHint": "输入您的密码",
"forgotPassword": "忘记密码",
"oops": "哎呀",
"suggestFeatures": "建议新功能",
"faq": "常见问题",
"faq_q_1": "ente Auth的安全程度如何",
"faq_a_1": "您通过 ente 备份的所有代码均以端到端加密方式存储。这意味着只有您可以访问您的代码。 我们的应用程序是开源的,我们的加密技术已经过外部审计。",
"faq_q_2": "我可以在桌面上访问我的代码吗?",
"faq_a_2": "您可以在 web @auth.ente.io 上访问您的代码。",
"faq_q_3": "我如何删除代码?",
"faq_a_3": "您可以通过向左滑动该项目来删除该代码。",
"faq_q_4": "我该如何支持该项目?",
"faq_a_4": "您可以通过订阅我们的照片应用程序@ente.io来支持该项目的开发。",
"faq_q_5": "如何在 ente Auth 中启用 FaceID 锁定",
"faq_a_5": "您可以在“设置”→“安全”→“锁屏”下启用 FaceID 锁定。",
"somethingWentWrongMessage": "出了点问题,请重试",
"leaveFamily": "离开家庭",
"leaveFamilyMessage": "您确定要离开家庭计划吗?",
"inFamilyPlanMessage": "你在一个家庭计划中!",
"swipeHint": "向左滑动以编辑或删除代码",
"scan": "扫描",
"scanACode": "扫描代码",
"verify": "验证",
"verifyEmail": "验证电子邮件",
"enterCodeHint": "从你的身份验证器应用中\n输入6位数字代码",
"lostDeviceTitle": "丢失了设备吗?",
"twoFactorAuthTitle": "双因素认证",
"recoverAccount": "恢复账户",
"enterRecoveryKeyHint": "输入您的恢复密钥",
"recover": "恢复",
"contactSupportViaEmailMessage": "请从您注册的电子邮件地址拖放一封邮件到 {email}",
"@contactSupportViaEmailMessage": {
"placeholders": {
"email": {
"type": "String"
}
}
},
"noRecoveryKeyTitle": "没有恢复密钥吗?",
"enterEmailHint": "请输入您的电子邮件地址",
"invalidEmailTitle": "无效的电子邮件地址",
"invalidEmailMessage": "请输入一个有效的电子邮件地址。",
"deleteAccount": "删除账户",
"deleteAccountQuery": "我们很抱歉看到您离开。您面临一些问题?",
"yesSendFeedbackAction": "是,发送反馈",
"noDeleteAccountAction": "不,删除账户",
"initiateAccountDeleteTitle": "请进行身份验证以启动账户删除",
"confirmAccountDeleteTitle": "确定要删除您的ente账户吗",
"confirmAccountDeleteMessage": "您上传的数据,跨越所有应用程序(Photos 和 Authenticator 两者),将被排定删除,您的账户将被永久删除。",
"sendEmail": "发送电子邮件",
"createNewAccount": "创建新账号",
"weakStrength": "弱",
"strongStrength": "强",
"moderateStrength": "中等",
"confirmPassword": "请确认密码",
"close": "关闭",
"oopsSomethingWentWrong": "哎呀,似乎出了点问题.",
"selectLanguage": "选择语言",
"language": "语言",
"social": "社交",
"security": "安全",
"lockscreen": "锁屏",
"authToChangeLockscreenSetting": "请验证以更改锁屏设置",
"lockScreenEnablePreSteps": "要启用锁屏,请在系统设置中设置设备密码或屏幕锁定。",
"viewActiveSessions": "查看活动会话",
"authToViewYourActiveSessions": "请验证以查看您的活动会话",
"searchHint": "搜索...",
"search": "搜索",
"sorryUnableToGenCode": "对不起,无法为 {issuerName} 生成代码",
"noResult": "没有结果",
"addCode": "添加代码",
"scanAQrCode": "扫描二维码",
"enterDetailsManually": "手动输入详细信息",
"edit": "编辑",
"copiedToClipboard": "已复制到剪贴板",
"error": "错误",
"recoveryKeyCopiedToClipboard": "恢复密钥已复制到剪贴板",
"recoveryKeyOnForgotPassword": "如果您忘记了密码,恢复数据的唯一方法就是使用此密钥。",
"recoveryKeySaveDescription": "我们不会存储此密钥请将此24个单词密钥保存在一个安全的地方。",
"doThisLater": "稍后再做",
"saveKey": "保存密钥",
"back": "返回",
"createAccount": "创建账户",
"passwordStrength": "密码强度: {passwordStrengthValue}",
"@passwordStrength": {
"description": "Text to indicate the password strength",
"placeholders": {
"passwordStrengthValue": {
"description": "The strength of the password as a string",
"type": "String",
"example": "Weak or Moderate or Strong"
}
},
"message": "Password Strength: {passwordStrengthText}"
},
"password": "密码",
"signUpTerms": "我同意 <u-terms>服务条款</u-terms> 和 <u-policy>隐私政策</u-policy>",
"privacyPolicyTitle": "隐私政策",
"termsOfServicesTitle": "使用条款",
"encryption": "加密",
"setPasswordTitle": "设置密码",
"changePasswordTitle": "修改密码",
"resetPasswordTitle": "重置密码",
"encryptionKeys": "加密密钥",
"passwordWarning": "我们不储存这个密码,所以如果忘记, <underline>我们不能解密您的数据</underline>",
"enterPasswordToEncrypt": "输入我们可以用来加密您的数据的密码",
"enterNewPasswordToEncrypt": "输入我们可以用来加密您的数据的新密码",
"passwordChangedSuccessfully": "密码修改成功",
"generatingEncryptionKeys": "正在生成加密密钥...",
"continueLabel": "继续",
"insecureDevice": "设备不安全",
"sorryWeCouldNotGenerateSecureKeysOnThisDevicennplease": "抱歉,我们无法在此设备上生成安全密钥。\n\n请使用其他设备注册。",
"howItWorks": "工作原理",
"ackPasswordLostWarning": "我明白,如果我丢失密码,我可能会丢失我的数据,因为我的数据是 <underline>端到端加密的</underline>。",
"loginTerms": "点击登录后,我同意 <u-terms>服务条款</u-terms> 和 <u-policy>隐私政策</u-policy>",
"logInLabel": "登录",
"logout": "退出登录",
"areYouSureYouWantToLogout": "您确定要退出登录吗?",
"yesLogout": "是的,退出登陆",
"exit": "退出",
"verifyingRecoveryKey": "正在验证恢复密钥...",
"recoveryKeyVerified": "恢复密钥已验证",
"recoveryKeySuccessBody": "太棒了! 您的恢复密钥是有效的。 感谢您的验证。\n\n请记住要安全备份您的恢复密钥。",
"invalidRecoveryKey": "您输入的恢复密钥无效。请确保它包含24个单词并检查每个单词的拼写。\n\n如果您输入了旧的恢复码请确保它长度为64个字符并检查其中每个字符。",
"recreatePasswordTitle": "重新创建密码",
"recreatePasswordBody": "当前设备的功能不足以验证您的密码,但我们可以以适用于所有设备的方式重新生成。\n\n请使用您的恢复密钥登录并重新生成您的密码如果您愿意可以再次使用相同的密码。",
"invalidKey": "无效的密钥",
"tryAgain": "请再试一次",
"viewRecoveryKey": "查看恢复密钥",
"confirmRecoveryKey": "确认恢复密钥",
"recoveryKeyVerifyReason": "如果您忘记了您的密码,您的恢复密钥是恢复您的照片的唯一途径。 您可以在“设置 > 账户”中找到您的恢复密钥。\n\n请在此输入您的恢复密钥以确认您已经正确地保存了它。",
"confirmYourRecoveryKey": "确认您的恢复密钥",
"confirm": "确认",
"emailYourLogs": "通过电子邮件发送您的日志",
"pleaseSendTheLogsTo": "请将日志发送至 \n{toEmail}",
"copyEmailAddress": "复制电子邮件地址",
"exportLogs": "导出日志",
"enterYourRecoveryKey": "输入您的恢复密钥",
"tempErrorContactSupportIfPersists": "看起来出了点问题。 请稍后重试。 如果错误仍然存在,请联系我们的支持团队。",
"itLooksLikeSomethingWentWrongPleaseRetryAfterSome": "看起来出了点问题。 请稍后重试。 如果错误仍然存在,请联系我们的支持团队。",
"about": "关于",
"weAreOpenSource": "我们是开源的 ",
"privacy": "隐私",
"terms": "使用条款",
"checkForUpdates": "检查更新",
"checking": "正在检查...",
"youAreOnTheLatestVersion": "当前为最新版本",
"warning": "警告",
"exportWarningDesc": "导出的文件包含敏感信息。请安全存储。",
"iUnderStand": "我明白了",
"@iUnderStand": {
"description": "Text for the button to confirm the user understands the warning"
},
"authToExportCodes": "请验证以导出您的代码",
"importSuccessTitle": "耶!",
"importSuccessDesc": "您已导入了 {count} 个代码!",
"@importSuccessDesc": {
"placeholders": {
"count": {
"description": "The number of codes imported",
"type": "int",
"example": "1"
}
}
},
"sorry": "抱歉",
"importFailureDesc": "无法解析选定的文件。\n如果您需要帮助请写入support@ente.io",
"pendingSyncs": "警告",
"pendingSyncsWarningBody": "您的一些代码尚未备份。\n\n请确保您在退出登录之前备份这些代码。",
"checkInboxAndSpamFolder": "请检查您的收件箱 (或者是在您的“垃圾邮件”列表内) 以完成验证",
"tapToEnterCode": "点击以输入代码",
"resendEmail": "重新发送电子邮件",
"weHaveSendEmailTo": "我们已经发送邮件到 <green>{email}</green>",
"@weHaveSendEmailTo": {
"description": "Text to indicate that we have sent a mail to the user",
"placeholders": {
"email": {
"description": "The email address of the user",
"type": "String",
"example": "example@ente.io"
}
}
},
"activeSessions": "已登录的设备",
"somethingWentWrongPleaseTryAgain": "出了点问题,请重试",
"thisWillLogYouOutOfThisDevice": "这将使您在此设备上退出登录!",
"thisWillLogYouOutOfTheFollowingDevice": "这将使您在以下设备中退出登录:",
"terminateSession": "是否终止会话?",
"terminate": "终止",
"thisDevice": "此设备",
"toResetVerifyEmail": "要重置您的密码,请先验证您的电子邮件。",
"thisEmailIsAlreadyInUse": "该电子邮件已被使用",
"verificationFailedPleaseTryAgain": "验证失败,请再试一次",
"yourVerificationCodeHasExpired": "您的验证码已过期",
"incorrectCode": "验证码错误",
"sorryTheCodeYouveEnteredIsIncorrect": "抱歉,您输入的验证码不正确",
"emailChangedTo": "电子邮件已更改为 {newEmail}",
"authenticationFailedPleaseTryAgain": "认证失败,请重试",
"authenticationSuccessful": "认证成功!",
"twofactorAuthenticationSuccessfullyReset": "双因素身份验证已成功重置",
"incorrectRecoveryKey": "恢复密钥不正确",
"theRecoveryKeyYouEnteredIsIncorrect": "您输入的恢复密钥不正确",
"enterPassword": "输入密码",
"selectExportFormat": "选择导出格式",
"exportDialogDesc": "加密导出将由您选择的密码保护。",
"encrypted": "已加密",
"plainText": "纯文本",
"passwordToEncryptExport": "用来加密导出的密码",
"export": "导出"
}

75
lib/locale.dart Normal file
View File

@@ -0,0 +1,75 @@
import 'package:flutter/cupertino.dart';
import 'package:shared_preferences/shared_preferences.dart';
// list of locales which are enabled for auth app.
// Add more language to the list only when at least 90% of the strings are
// translated in the corresponding language.
const List<Locale> appSupportedLocales = <Locale>[
Locale('de'),
Locale('en'),
Locale('es', 'ES'),
Locale('fa'),
Locale('fr'),
Locale('it'),
Locale('ja'),
Locale('nl'),
Locale('pl'),
Locale('pt', 'BR'),
Locale('ru'),
Locale('tr'),
Locale("zh", "CN"),
];
Locale localResolutionCallBack(locales, supportedLocales) {
Locale? languageCodeMatch;
final Map<String, Locale> languageCodeToLocale = {
for (Locale supportedLocale in appSupportedLocales)
supportedLocale.languageCode: supportedLocale
};
for (Locale locale in locales) {
if (appSupportedLocales.contains(locale)) {
return locale;
}
if (languageCodeMatch == null &&
languageCodeToLocale.containsKey(locale.languageCode)) {
languageCodeMatch = languageCodeToLocale[locale.languageCode];
}
}
// Return the first language code match or default to 'en'
return languageCodeMatch ?? const Locale('en');
}
Future<Locale> getLocale() async {
final String? savedValue =
(await SharedPreferences.getInstance()).getString('locale');
// if savedLocale is not null and is supported by the app, return it
if (savedValue != null) {
late Locale savedLocale;
if (savedValue.contains('_')) {
final List<String> parts = savedValue.split('_');
savedLocale = Locale(parts[0], parts[1]);
} else {
savedLocale = Locale(savedValue);
}
if (appSupportedLocales.contains(savedLocale)) {
return savedLocale;
}
}
return const Locale('en');
}
Future<void> setLocale(Locale locale) async {
if (!appSupportedLocales.contains(locale)) {
throw Exception('Locale $locale is not supported by the app');
}
final StringBuffer out = StringBuffer(locale.languageCode);
if (locale.countryCode != null && locale.countryCode!.isNotEmpty) {
out.write('_');
out.write(locale.countryCode);
}
await (await SharedPreferences.getInstance())
.setString('locale', out.toString());
}

View File

@@ -1,20 +1,26 @@
// @dart=2.9
import 'package:adaptive_theme/adaptive_theme.dart';
import 'package:computer/computer.dart';
import "package:ente_auth/app/view/app.dart";
import 'package:ente_auth/core/configuration.dart';
import 'package:ente_auth/core/constants.dart';
import 'package:ente_auth/core/logging/super_logging.dart';
import 'package:ente_auth/core/network.dart';
import 'package:ente_auth/ente_theme_data.dart';
import 'package:ente_auth/locale.dart';
import 'package:ente_auth/services/authenticator_service.dart';
import 'package:ente_auth/services/billing_service.dart';
import 'package:ente_auth/services/notification_service.dart';
import 'package:ente_auth/services/preference_service.dart';
import 'package:ente_auth/services/update_service.dart';
import 'package:ente_auth/services/user_remote_flag_service.dart';
import 'package:ente_auth/services/user_service.dart';
import 'package:ente_auth/store/code_store.dart';
import 'package:ente_auth/ui/tools/app_lock.dart';
import 'package:ente_auth/ui/tools/lock_screen.dart';
import 'package:ente_auth/ui/utils/icon_utils.dart';
import 'package:ente_auth/utils/crypto_util.dart';
import 'package:flutter/foundation.dart';
import "package:flutter/material.dart";
import 'package:in_app_purchase/in_app_purchase.dart';
import 'package:logging/logging.dart';
import 'package:path_provider/path_provider.dart';
@@ -22,46 +28,63 @@ final _logger = Logger("main");
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await _runInForeground();
final savedThemeMode = await AdaptiveTheme.getThemeMode();
await _runInForeground(savedThemeMode);
}
Future<void> _runInForeground() async {
Future<void> _runInForeground(AdaptiveThemeMode? savedThemeMode) async {
return await _runWithLogs(() async {
_logger.info("Starting app in foreground");
await _init(false, via: 'mainMethod');
final Locale locale = await getLocale();
UpdateService.instance.showUpdateNotification();
runApp(
AppLock(
builder: (args) => const App(),
builder: (args) => App(locale: locale),
lockScreen: const LockScreen(),
enabled: Configuration.instance.shouldShowLockScreen(),
locale: locale,
lightTheme: lightThemeData,
darkTheme: darkThemeData,
savedThemeMode: _themeMode(savedThemeMode),
),
);
});
}
ThemeMode _themeMode(AdaptiveThemeMode? savedThemeMode) {
if (savedThemeMode == null) return ThemeMode.system;
if (savedThemeMode.isLight) return ThemeMode.light;
if (savedThemeMode.isDark) return ThemeMode.dark;
return ThemeMode.system;
}
Future _runWithLogs(Function() function, {String prefix = ""}) async {
await SuperLogging.main(
LogConfig(
body: function,
logDirPath: (await getApplicationSupportDirectory()).path + "/logs",
maxLogFiles: 5,
sentryDsn: sentryDSN,
enableInDebugMode: true,
prefix: prefix,
),
);
}
Future<void> _init(bool bool, {String via}) async {
InAppPurchaseConnection.enablePendingPurchases();
Future<void> _init(bool bool, {String? via}) async {
// Start workers asynchronously. No need to wait for them to start
Computer.shared().turnOn(workersCount: 4, verbose: kDebugMode);
CryptoUtil.init();
await PreferenceService.instance.init();
await CodeStore.instance.init();
await Configuration.instance.init();
await Network.instance.init();
await UserService.instance.init();
await UserRemoteFlagService.instance.init();
await UpdateService.instance.init();
await AuthenticatorService.instance.init();
await BillingService.instance.init();
await NotificationService.instance.init();
await UpdateService.instance.init();
await IconUtils.instance.init();
}

View File

@@ -0,0 +1,135 @@
class SetupSRPRequest {
final String srpUserID;
final String srpSalt;
final String srpVerifier;
final String srpA;
final bool isUpdate;
SetupSRPRequest({
required this.srpUserID,
required this.srpSalt,
required this.srpVerifier,
required this.srpA,
required this.isUpdate,
});
Map<String, dynamic> toMap() {
return {
'srpUserID': srpUserID.toString(),
'srpSalt': srpSalt,
'srpVerifier': srpVerifier,
'srpA': srpA,
'isUpdate': isUpdate,
};
}
factory SetupSRPRequest.fromJson(Map<String, dynamic> json) {
return SetupSRPRequest(
srpUserID: json['srpUserID'],
srpSalt: json['srpSalt'],
srpVerifier: json['srpVerifier'],
srpA: json['srpA'],
isUpdate: json['isUpdate'],
);
}
}
class SetupSRPResponse {
final String setupID;
final String srpB;
SetupSRPResponse({
required this.setupID,
required this.srpB,
});
Map<String, dynamic> toMap() {
return {
'setupID': setupID.toString(),
'srpB': srpB,
};
}
factory SetupSRPResponse.fromJson(Map<String, dynamic> json) {
return SetupSRPResponse(
setupID: json['setupID'],
srpB: json['srpB'],
);
}
}
class CompleteSRPSetupRequest {
final String setupID;
final String srpM1;
CompleteSRPSetupRequest({
required this.setupID,
required this.srpM1,
});
Map<String, dynamic> toMap() {
return {
'setupID': setupID.toString(),
'srpM1': srpM1,
};
}
factory CompleteSRPSetupRequest.fromJson(Map<String, dynamic> json) {
return CompleteSRPSetupRequest(
setupID: json['setupID'],
srpM1: json['srpM1'],
);
}
}
class SrpAttributes {
final String srpUserID;
final String srpSalt;
final int memLimit;
final int opsLimit;
final String kekSalt;
final bool isEmailMFAEnabled;
SrpAttributes({
required this.srpUserID,
required this.srpSalt,
required this.memLimit,
required this.opsLimit,
required this.kekSalt,
required this.isEmailMFAEnabled,
});
factory SrpAttributes.fromMap(Map<String, dynamic> map) {
return SrpAttributes(
srpUserID: map['attributes']['srpUserID'],
srpSalt: map['attributes']['srpSalt'],
memLimit: map['attributes']['memLimit'],
opsLimit: map['attributes']['opsLimit'],
kekSalt: map['attributes']['kekSalt'],
isEmailMFAEnabled: map['attributes']['isEmailMFAEnabled'],
);
}
}
class CompleteSRPSetupResponse {
final String setupID;
final String srpM2;
CompleteSRPSetupResponse({
required this.setupID,
required this.srpM2,
});
Map<String, dynamic> toMap() {
return {
'setupID': setupID,
'srpM2': srpM2,
};
}
factory CompleteSRPSetupResponse.fromJson(Map<String, dynamic> json) {
return CompleteSRPSetupResponse(
setupID: json['setupID'],
srpM2: json['srpM2'],
);
}
}

View File

@@ -0,0 +1,7 @@
class EntityResult {
final int generatedID;
final String rawData;
final bool hasSynced;
EntityResult(this.generatedID, this.rawData, this.hasSynced);
}

View File

@@ -5,15 +5,18 @@ import 'package:flutter/material.dart';
@immutable
class LocalAuthEntity {
final int generatedID;
// id can be null if a code has been scanned locally but it's yet to be
// synced with the remote server.
final String? id;
final String encryptedData;
final String header;
// createdAt and updateAt will be equal to local time of creation or updation
// till remote sync is completed.
final int createdAt;
final int updatedAt;
// shouldSync indicates that the entry was locally created or updated. The
// app should try to sync it to the server during next sync
final bool shouldSync;

View File

@@ -1,8 +1,10 @@
import 'package:ente_auth/utils/totp_util.dart';
class Code {
static const defaultDigits = 6;
static const defaultPeriod = 30;
int? id;
int? generatedID;
final String account;
final String issuer;
final int digits;
@@ -11,6 +13,8 @@ class Code {
final Algorithm algorithm;
final Type type;
final String rawData;
final int counter;
bool? hasSynced;
Code(
this.account,
@@ -20,47 +24,113 @@ class Code {
this.secret,
this.algorithm,
this.type,
this.counter,
this.rawData, {
this.id,
this.generatedID,
});
static Code fromAccountAndSecret(String account, String secret) {
Code copyWith({
String? account,
String? issuer,
int? digits,
int? period,
String? secret,
Algorithm? algorithm,
Type? type,
int? counter,
}) {
final String updateAccount = account ?? this.account;
final String updateIssuer = issuer ?? this.issuer;
final int updatedDigits = digits ?? this.digits;
final int updatePeriod = period ?? this.period;
final String updatedSecret = secret ?? this.secret;
final Algorithm updatedAlgo = algorithm ?? this.algorithm;
final Type updatedType = type ?? this.type;
final int updatedCounter = counter ?? this.counter;
return Code(
updateAccount,
updateIssuer,
updatedDigits,
updatePeriod,
updatedSecret,
updatedAlgo,
updatedType,
updatedCounter,
"otpauth://${updatedType.name}/" +
updateIssuer +
":" +
updateAccount +
"?algorithm=${updatedAlgo.name}&digits=$updatedDigits&issuer=" +
updateIssuer +
"&period=$updatePeriod&secret=" +
updatedSecret + (updatedType == Type.hotp ? "&counter=$updatedCounter" : ""),
generatedID: generatedID,
);
}
static Code fromAccountAndSecret(
String account,
String issuer,
String secret,
) {
return Code(
account,
"",
issuer,
defaultDigits,
defaultPeriod,
secret,
Algorithm.sha1,
Type.totp,
0,
"otpauth://totp/" +
account +
issuer +
":" +
account +
"?algorithm=SHA1&digits=6&issuer=" +
account +
"period=30&secret=" +
issuer +
"&period=30&secret=" +
secret,
);
}
static Code fromRawData(String rawData) {
Uri uri = Uri.parse(rawData);
try {
return Code(
_getAccount(uri),
_getIssuer(uri),
_getDigits(uri),
_getPeriod(uri),
uri.queryParameters['secret']!,
getSanitizedSecret(uri.queryParameters['secret']!),
_getAlgorithm(uri),
_getType(uri),
_getCounter(uri),
rawData,
);
} catch(e) {
// if account name contains # without encoding,
// rest of the url are treated as url fragment
if(rawData.contains("#")) {
return Code.fromRawData(rawData.replaceAll("#", '%23'));
} else {
rethrow;
}
}
}
static String _getAccount(Uri uri) {
try {
return uri.path.split(':')[1];
String path = Uri.decodeComponent(uri.path);
if (path.startsWith("/")) {
path = path.substring(1, path.length);
}
// Parse account name from documented auth URI
// otpauth://totp/ACCOUNT?secret=SUPERSECRET&issuer=SERVICE
if (uri.queryParameters.containsKey("issuer") && !path.contains(":")) {
return path;
}
return path.split(':')[1];
} catch (e) {
return "";
}
@@ -68,7 +138,17 @@ class Code {
static String _getIssuer(Uri uri) {
try {
return uri.path.split(':')[0].substring(1);
if (uri.queryParameters.containsKey("issuer")) {
String issuerName = uri.queryParameters['issuer']!;
// Handle issuer name with period
// See https://github.com/ente-io/auth/pull/77
if (issuerName.contains("period=")) {
return issuerName.substring(0, issuerName.indexOf("period="));
}
return issuerName;
}
final String path = Uri.decodeComponent(uri.path);
return path.split(':')[0].substring(1);
} catch (e) {
return "";
}
@@ -90,6 +170,18 @@ class Code {
}
}
static int _getCounter(Uri uri) {
try {
final bool hasCounterKey = uri.queryParameters.containsKey('counter');
if (!hasCounterKey) {
return 0;
}
return int.parse(uri.queryParameters['counter']!);
} catch (e) {
return defaultPeriod;
}
}
static Algorithm _getAlgorithm(Uri uri) {
try {
final algorithm =
@@ -106,7 +198,12 @@ class Code {
}
static Type _getType(Uri uri) {
return uri.host == "totp" ? Type.totp : Type.hotp;
if (uri.host == "totp") {
return Type.totp;
} else if (uri.host == "hotp") {
return Type.hotp;
}
throw UnsupportedError("Unsupported format with host ${uri.host}");
}
@override
@@ -119,6 +216,7 @@ class Code {
other.digits == digits &&
other.period == period &&
other.secret == secret &&
other.counter == counter &&
other.type == type &&
other.rawData == rawData;
}
@@ -131,6 +229,7 @@ class Code {
period.hashCode ^
secret.hashCode ^
type.hashCode ^
counter.hashCode ^
rawData.hashCode;
}
}

View File

@@ -0,0 +1,6 @@
enum ExecutionState {
idle,
inProgress,
error,
successful
}

View File

@@ -0,0 +1,66 @@
/*
Version: 1.0
KDF Algo: ARGON2ID
Decrypted Data Format: It contains code.rawData [1] separated by new line.
[1] otpauth://totp/provider.com:you@email.com?secret=YOUR_SECRET
*/
class EnteAuthExport {
final int version;
final KDFParams kdfParams;
final String encryptedData;
final String encryptionNonce;
// Named constructor which can be used to specify each field individually
EnteAuthExport({
required this.version,
required this.kdfParams,
required this.encryptedData,
required this.encryptionNonce,
});
// Convert EnteExport object to JSON
Map<String, dynamic> toJson() => {
'version': version,
'kdfParams': kdfParams.toJson(),
'encryptedData': encryptedData,
'encryptionNonce': encryptionNonce,
};
// Convert JSON to EnteExport object
static EnteAuthExport fromJson(Map<String, dynamic> json) => EnteAuthExport(
version: json['version'],
kdfParams: KDFParams.fromJson(json['kdfParams']),
encryptedData: json['encryptedData'],
encryptionNonce: json['encryptionNonce'],
);
}
// KDFParams is a class that holds the parameters for the KDF function.
// It is used to derive a key from a password.
class KDFParams {
final int memLimit;
final int opsLimit;
final String salt;
// Named constructor which can be used to specify each field individually
KDFParams({
required this.memLimit,
required this.opsLimit,
required this.salt,
});
// Convert KDFParams object to JSON
Map<String, dynamic> toJson() => {
'memLimit': memLimit,
'opsLimit': opsLimit,
'salt': salt,
};
// Convert JSON to KDFParams object
static KDFParams fromJson(Map<String, dynamic> json) => KDFParams(
memLimit: json['memLimit'],
opsLimit: json['opsLimit'],
salt: json['salt'],
);
}

View File

@@ -1,9 +1,12 @@
import 'dart:typed_data';
import 'package:ente_auth/models/key_attributes.dart';
import 'package:ente_auth/models/private_key_attributes.dart';
class KeyGenResult {
final KeyAttributes keyAttributes;
final PrivateKeyAttributes privateKeyAttributes;
final Uint8List loginKey;
KeyGenResult(this.keyAttributes, this.privateKeyAttributes);
KeyGenResult(this.keyAttributes, this.privateKeyAttributes, this.loginKey);
}

View File

@@ -0,0 +1,202 @@
//
// Generated code. Do not modify.
// source: googleauth.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides, camel_case_types
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
import 'dart:core' as $core;
import 'package:fixnum/fixnum.dart' as $fixnum;
import 'package:protobuf/protobuf.dart' as $pb;
// ignore: always_use_package_imports
import 'googleauth.pbenum.dart';
export 'googleauth.pbenum.dart';
class MigrationPayload_OtpParameters extends $pb.GeneratedMessage {
factory MigrationPayload_OtpParameters() => create();
MigrationPayload_OtpParameters._() : super();
factory MigrationPayload_OtpParameters.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory MigrationPayload_OtpParameters.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MigrationPayload.OtpParameters', package: const $pb.PackageName(_omitMessageNames ? '' : 'googleauth'), createEmptyInstance: create)
..a<$core.List<$core.int>>(1, _omitFieldNames ? '' : 'secret', $pb.PbFieldType.OY)
..aOS(2, _omitFieldNames ? '' : 'name')
..aOS(3, _omitFieldNames ? '' : 'issuer')
..e<MigrationPayload_Algorithm>(4, _omitFieldNames ? '' : 'algorithm', $pb.PbFieldType.OE, defaultOrMaker: MigrationPayload_Algorithm.ALGORITHM_UNSPECIFIED, valueOf: MigrationPayload_Algorithm.valueOf, enumValues: MigrationPayload_Algorithm.values)
..e<MigrationPayload_DigitCount>(5, _omitFieldNames ? '' : 'digits', $pb.PbFieldType.OE, defaultOrMaker: MigrationPayload_DigitCount.DIGIT_COUNT_UNSPECIFIED, valueOf: MigrationPayload_DigitCount.valueOf, enumValues: MigrationPayload_DigitCount.values)
..e<MigrationPayload_OtpType>(6, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: MigrationPayload_OtpType.OTP_TYPE_UNSPECIFIED, valueOf: MigrationPayload_OtpType.valueOf, enumValues: MigrationPayload_OtpType.values)
..aInt64(7, _omitFieldNames ? '' : 'counter')
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
MigrationPayload_OtpParameters clone() => MigrationPayload_OtpParameters()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
MigrationPayload_OtpParameters copyWith(void Function(MigrationPayload_OtpParameters) updates) => super.copyWith((message) => updates(message as MigrationPayload_OtpParameters)) as MigrationPayload_OtpParameters;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static MigrationPayload_OtpParameters create() => MigrationPayload_OtpParameters._();
MigrationPayload_OtpParameters createEmptyInstance() => create();
static $pb.PbList<MigrationPayload_OtpParameters> createRepeated() => $pb.PbList<MigrationPayload_OtpParameters>();
@$core.pragma('dart2js:noInline')
static MigrationPayload_OtpParameters getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MigrationPayload_OtpParameters>(create);
static MigrationPayload_OtpParameters? _defaultInstance;
@$pb.TagNumber(1)
$core.List<$core.int> get secret => $_getN(0);
@$pb.TagNumber(1)
set secret($core.List<$core.int> v) { $_setBytes(0, v); }
@$pb.TagNumber(1)
$core.bool hasSecret() => $_has(0);
@$pb.TagNumber(1)
void clearSecret() => clearField(1);
@$pb.TagNumber(2)
$core.String get name => $_getSZ(1);
@$pb.TagNumber(2)
set name($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasName() => $_has(1);
@$pb.TagNumber(2)
void clearName() => clearField(2);
@$pb.TagNumber(3)
$core.String get issuer => $_getSZ(2);
@$pb.TagNumber(3)
set issuer($core.String v) { $_setString(2, v); }
@$pb.TagNumber(3)
$core.bool hasIssuer() => $_has(2);
@$pb.TagNumber(3)
void clearIssuer() => clearField(3);
@$pb.TagNumber(4)
MigrationPayload_Algorithm get algorithm => $_getN(3);
@$pb.TagNumber(4)
set algorithm(MigrationPayload_Algorithm v) { setField(4, v); }
@$pb.TagNumber(4)
$core.bool hasAlgorithm() => $_has(3);
@$pb.TagNumber(4)
void clearAlgorithm() => clearField(4);
@$pb.TagNumber(5)
MigrationPayload_DigitCount get digits => $_getN(4);
@$pb.TagNumber(5)
set digits(MigrationPayload_DigitCount v) { setField(5, v); }
@$pb.TagNumber(5)
$core.bool hasDigits() => $_has(4);
@$pb.TagNumber(5)
void clearDigits() => clearField(5);
@$pb.TagNumber(6)
MigrationPayload_OtpType get type => $_getN(5);
@$pb.TagNumber(6)
set type(MigrationPayload_OtpType v) { setField(6, v); }
@$pb.TagNumber(6)
$core.bool hasType() => $_has(5);
@$pb.TagNumber(6)
void clearType() => clearField(6);
@$pb.TagNumber(7)
$fixnum.Int64 get counter => $_getI64(6);
@$pb.TagNumber(7)
set counter($fixnum.Int64 v) { $_setInt64(6, v); }
@$pb.TagNumber(7)
$core.bool hasCounter() => $_has(6);
@$pb.TagNumber(7)
void clearCounter() => clearField(7);
}
class MigrationPayload extends $pb.GeneratedMessage {
factory MigrationPayload() => create();
MigrationPayload._() : super();
factory MigrationPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory MigrationPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MigrationPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'googleauth'), createEmptyInstance: create)
..pc<MigrationPayload_OtpParameters>(1, _omitFieldNames ? '' : 'otpParameters', $pb.PbFieldType.PM, subBuilder: MigrationPayload_OtpParameters.create)
..a<$core.int>(2, _omitFieldNames ? '' : 'version', $pb.PbFieldType.O3)
..a<$core.int>(3, _omitFieldNames ? '' : 'batchSize', $pb.PbFieldType.O3)
..a<$core.int>(4, _omitFieldNames ? '' : 'batchIndex', $pb.PbFieldType.O3)
..a<$core.int>(5, _omitFieldNames ? '' : 'batchId', $pb.PbFieldType.O3)
..hasRequiredFields = false
;
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
MigrationPayload clone() => MigrationPayload()..mergeFromMessage(this);
@$core.Deprecated(
'Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
MigrationPayload copyWith(void Function(MigrationPayload) updates) => super.copyWith((message) => updates(message as MigrationPayload)) as MigrationPayload;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static MigrationPayload create() => MigrationPayload._();
MigrationPayload createEmptyInstance() => create();
static $pb.PbList<MigrationPayload> createRepeated() => $pb.PbList<MigrationPayload>();
@$core.pragma('dart2js:noInline')
static MigrationPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MigrationPayload>(create);
static MigrationPayload? _defaultInstance;
@$pb.TagNumber(1)
$core.List<MigrationPayload_OtpParameters> get otpParameters => $_getList(0);
@$pb.TagNumber(2)
$core.int get version => $_getIZ(1);
@$pb.TagNumber(2)
set version($core.int v) { $_setSignedInt32(1, v); }
@$pb.TagNumber(2)
$core.bool hasVersion() => $_has(1);
@$pb.TagNumber(2)
void clearVersion() => clearField(2);
@$pb.TagNumber(3)
$core.int get batchSize => $_getIZ(2);
@$pb.TagNumber(3)
set batchSize($core.int v) { $_setSignedInt32(2, v); }
@$pb.TagNumber(3)
$core.bool hasBatchSize() => $_has(2);
@$pb.TagNumber(3)
void clearBatchSize() => clearField(3);
@$pb.TagNumber(4)
$core.int get batchIndex => $_getIZ(3);
@$pb.TagNumber(4)
set batchIndex($core.int v) { $_setSignedInt32(3, v); }
@$pb.TagNumber(4)
$core.bool hasBatchIndex() => $_has(3);
@$pb.TagNumber(4)
void clearBatchIndex() => clearField(4);
@$pb.TagNumber(5)
$core.int get batchId => $_getIZ(4);
@$pb.TagNumber(5)
set batchId($core.int v) { $_setSignedInt32(4, v); }
@$pb.TagNumber(5)
$core.bool hasBatchId() => $_has(4);
@$pb.TagNumber(5)
void clearBatchId() => clearField(5);
}
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -0,0 +1,72 @@
//
// Generated code. Do not modify.
// source: googleauth.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides, camel_case_types
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
class MigrationPayload_Algorithm extends $pb.ProtobufEnum {
static const MigrationPayload_Algorithm ALGORITHM_UNSPECIFIED = MigrationPayload_Algorithm._(0, _omitEnumNames ? '' : 'ALGORITHM_UNSPECIFIED');
static const MigrationPayload_Algorithm ALGORITHM_SHA1 = MigrationPayload_Algorithm._(1, _omitEnumNames ? '' : 'ALGORITHM_SHA1');
static const MigrationPayload_Algorithm ALGORITHM_SHA256 = MigrationPayload_Algorithm._(2, _omitEnumNames ? '' : 'ALGORITHM_SHA256');
static const MigrationPayload_Algorithm ALGORITHM_SHA512 = MigrationPayload_Algorithm._(3, _omitEnumNames ? '' : 'ALGORITHM_SHA512');
static const MigrationPayload_Algorithm ALGORITHM_MD5 = MigrationPayload_Algorithm._(4, _omitEnumNames ? '' : 'ALGORITHM_MD5');
static const $core.List<MigrationPayload_Algorithm> values = <MigrationPayload_Algorithm> [
ALGORITHM_UNSPECIFIED,
ALGORITHM_SHA1,
ALGORITHM_SHA256,
ALGORITHM_SHA512,
ALGORITHM_MD5,
];
static final $core.Map<$core.int, MigrationPayload_Algorithm> _byValue = $pb.ProtobufEnum.initByValue(values);
static MigrationPayload_Algorithm? valueOf($core.int value) => _byValue[value];
const MigrationPayload_Algorithm._($core.int v, $core.String n) : super(v, n);
}
class MigrationPayload_DigitCount extends $pb.ProtobufEnum {
static const MigrationPayload_DigitCount DIGIT_COUNT_UNSPECIFIED = MigrationPayload_DigitCount._(0, _omitEnumNames ? '' : 'DIGIT_COUNT_UNSPECIFIED');
static const MigrationPayload_DigitCount DIGIT_COUNT_SIX = MigrationPayload_DigitCount._(1, _omitEnumNames ? '' : 'DIGIT_COUNT_SIX');
static const MigrationPayload_DigitCount DIGIT_COUNT_EIGHT = MigrationPayload_DigitCount._(2, _omitEnumNames ? '' : 'DIGIT_COUNT_EIGHT');
static const $core.List<MigrationPayload_DigitCount> values = <MigrationPayload_DigitCount> [
DIGIT_COUNT_UNSPECIFIED,
DIGIT_COUNT_SIX,
DIGIT_COUNT_EIGHT,
];
static final $core.Map<$core.int, MigrationPayload_DigitCount> _byValue = $pb.ProtobufEnum.initByValue(values);
static MigrationPayload_DigitCount? valueOf($core.int value) => _byValue[value];
const MigrationPayload_DigitCount._($core.int v, $core.String n) : super(v, n);
}
class MigrationPayload_OtpType extends $pb.ProtobufEnum {
static const MigrationPayload_OtpType OTP_TYPE_UNSPECIFIED = MigrationPayload_OtpType._(0, _omitEnumNames ? '' : 'OTP_TYPE_UNSPECIFIED');
static const MigrationPayload_OtpType OTP_TYPE_HOTP = MigrationPayload_OtpType._(1, _omitEnumNames ? '' : 'OTP_TYPE_HOTP');
static const MigrationPayload_OtpType OTP_TYPE_TOTP = MigrationPayload_OtpType._(2, _omitEnumNames ? '' : 'OTP_TYPE_TOTP');
static const $core.List<MigrationPayload_OtpType> values = <MigrationPayload_OtpType> [
OTP_TYPE_UNSPECIFIED,
OTP_TYPE_HOTP,
OTP_TYPE_TOTP,
];
static final $core.Map<$core.int, MigrationPayload_OtpType> _byValue = $pb.ProtobufEnum.initByValue(values);
static MigrationPayload_OtpType? valueOf($core.int value) => _byValue[value];
const MigrationPayload_OtpType._($core.int v, $core.String n) : super(v, n);
}
const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');

View File

@@ -0,0 +1,93 @@
//
// Generated code. Do not modify.
// source: googleauth.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides, camel_case_types
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
import 'dart:convert' as $convert;
import 'dart:core' as $core;
import 'dart:typed_data' as $typed_data;
@$core.Deprecated('Use migrationPayloadDescriptor instead')
const MigrationPayload$json = {
'1': 'MigrationPayload',
'2': [
{'1': 'otp_parameters', '3': 1, '4': 3, '5': 11, '6': '.googleauth.MigrationPayload.OtpParameters', '10': 'otpParameters'},
{'1': 'version', '3': 2, '4': 1, '5': 5, '10': 'version'},
{'1': 'batch_size', '3': 3, '4': 1, '5': 5, '10': 'batchSize'},
{'1': 'batch_index', '3': 4, '4': 1, '5': 5, '10': 'batchIndex'},
{'1': 'batch_id', '3': 5, '4': 1, '5': 5, '10': 'batchId'},
],
'3': [MigrationPayload_OtpParameters$json],
'4': [MigrationPayload_Algorithm$json, MigrationPayload_DigitCount$json, MigrationPayload_OtpType$json],
};
@$core.Deprecated('Use migrationPayloadDescriptor instead')
const MigrationPayload_OtpParameters$json = {
'1': 'OtpParameters',
'2': [
{'1': 'secret', '3': 1, '4': 1, '5': 12, '10': 'secret'},
{'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'},
{'1': 'issuer', '3': 3, '4': 1, '5': 9, '10': 'issuer'},
{'1': 'algorithm', '3': 4, '4': 1, '5': 14, '6': '.googleauth.MigrationPayload.Algorithm', '10': 'algorithm'},
{'1': 'digits', '3': 5, '4': 1, '5': 14, '6': '.googleauth.MigrationPayload.DigitCount', '10': 'digits'},
{'1': 'type', '3': 6, '4': 1, '5': 14, '6': '.googleauth.MigrationPayload.OtpType', '10': 'type'},
{'1': 'counter', '3': 7, '4': 1, '5': 3, '10': 'counter'},
],
};
@$core.Deprecated('Use migrationPayloadDescriptor instead')
const MigrationPayload_Algorithm$json = {
'1': 'Algorithm',
'2': [
{'1': 'ALGORITHM_UNSPECIFIED', '2': 0},
{'1': 'ALGORITHM_SHA1', '2': 1},
{'1': 'ALGORITHM_SHA256', '2': 2},
{'1': 'ALGORITHM_SHA512', '2': 3},
{'1': 'ALGORITHM_MD5', '2': 4},
],
};
@$core.Deprecated('Use migrationPayloadDescriptor instead')
const MigrationPayload_DigitCount$json = {
'1': 'DigitCount',
'2': [
{'1': 'DIGIT_COUNT_UNSPECIFIED', '2': 0},
{'1': 'DIGIT_COUNT_SIX', '2': 1},
{'1': 'DIGIT_COUNT_EIGHT', '2': 2},
],
};
@$core.Deprecated('Use migrationPayloadDescriptor instead')
const MigrationPayload_OtpType$json = {
'1': 'OtpType',
'2': [
{'1': 'OTP_TYPE_UNSPECIFIED', '2': 0},
{'1': 'OTP_TYPE_HOTP', '2': 1},
{'1': 'OTP_TYPE_TOTP', '2': 2},
],
};
/// Descriptor for `MigrationPayload`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List migrationPayloadDescriptor = $convert.base64Decode(
'ChBNaWdyYXRpb25QYXlsb2FkElEKDm90cF9wYXJhbWV0ZXJzGAEgAygLMiouZ29vZ2xlYXV0aC'
'5NaWdyYXRpb25QYXlsb2FkLk90cFBhcmFtZXRlcnNSDW90cFBhcmFtZXRlcnMSGAoHdmVyc2lv'
'bhgCIAEoBVIHdmVyc2lvbhIdCgpiYXRjaF9zaXplGAMgASgFUgliYXRjaFNpemUSHwoLYmF0Y2'
'hfaW5kZXgYBCABKAVSCmJhdGNoSW5kZXgSGQoIYmF0Y2hfaWQYBSABKAVSB2JhdGNoSWQargIK'
'DU90cFBhcmFtZXRlcnMSFgoGc2VjcmV0GAEgASgMUgZzZWNyZXQSEgoEbmFtZRgCIAEoCVIEbm'
'FtZRIWCgZpc3N1ZXIYAyABKAlSBmlzc3VlchJECglhbGdvcml0aG0YBCABKA4yJi5nb29nbGVh'
'dXRoLk1pZ3JhdGlvblBheWxvYWQuQWxnb3JpdGhtUglhbGdvcml0aG0SPwoGZGlnaXRzGAUgAS'
'gOMicuZ29vZ2xlYXV0aC5NaWdyYXRpb25QYXlsb2FkLkRpZ2l0Q291bnRSBmRpZ2l0cxI4CgR0'
'eXBlGAYgASgOMiQuZ29vZ2xlYXV0aC5NaWdyYXRpb25QYXlsb2FkLk90cFR5cGVSBHR5cGUSGA'
'oHY291bnRlchgHIAEoA1IHY291bnRlciJ5CglBbGdvcml0aG0SGQoVQUxHT1JJVEhNX1VOU1BF'
'Q0lGSUVEEAASEgoOQUxHT1JJVEhNX1NIQTEQARIUChBBTEdPUklUSE1fU0hBMjU2EAISFAoQQU'
'xHT1JJVEhNX1NIQTUxMhADEhEKDUFMR09SSVRITV9NRDUQBCJVCgpEaWdpdENvdW50EhsKF0RJ'
'R0lUX0NPVU5UX1VOU1BFQ0lGSUVEEAASEwoPRElHSVRfQ09VTlRfU0lYEAESFQoRRElHSVRfQ0'
'9VTlRfRUlHSFQQAiJJCgdPdHBUeXBlEhgKFE9UUF9UWVBFX1VOU1BFQ0lGSUVEEAASEQoNT1RQ'
'X1RZUEVfSE9UUBABEhEKDU9UUF9UWVBFX1RPVFAQAg==');

View File

@@ -0,0 +1,14 @@
//
// Generated code. Do not modify.
// source: googleauth.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides, camel_case_types
// ignore_for_file: constant_identifier_names
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
export 'googleauth.pb.dart';

7
lib/models/typedefs.dart Normal file
View File

@@ -0,0 +1,7 @@
import 'dart:async';
typedef FutureVoidCallback = Future<void> Function();
typedef BoolCallBack = bool Function();
typedef FutureVoidCallbackParamStr = Future<void> Function(String);
typedef VoidCallbackParamStr = void Function(String);
typedef FutureOrVoidCallback = FutureOr<void> Function();

View File

@@ -1,3 +1,4 @@
import 'dart:convert';
import 'dart:math';
import 'package:collection/collection.dart';
@@ -10,6 +11,7 @@ class UserDetails {
final int sharedCollectionsCount;
final Subscription subscription;
final FamilyData? familyData;
final ProfileData? profileData;
UserDetails(
this.email,
@@ -18,6 +20,7 @@ class UserDetails {
this.sharedCollectionsCount,
this.subscription,
this.familyData,
this.profileData,
);
bool isPartOfFamily() {
@@ -59,8 +62,10 @@ class UserDetails {
(map['sharedCollectionsCount'] ?? 0) as int,
Subscription.fromMap(map['subscription']),
FamilyData.fromMap(map['familyData']),
ProfileData.fromJson(map['profileData']),
);
}
}
class FamilyMember {
@@ -80,7 +85,39 @@ class FamilyMember {
);
}
}
class ProfileData {
bool canDisableEmailMFA;
bool isEmailMFAEnabled;
bool isTwoFactorEnabled;
// Constructor with default values
ProfileData({
this.canDisableEmailMFA = false,
this.isEmailMFAEnabled = false,
this.isTwoFactorEnabled = false,
});
// Factory method to create ProfileData instance from JSON
factory ProfileData.fromJson(Map<String, dynamic>? json) {
if (json == null) null;
return ProfileData(
canDisableEmailMFA: json!['canDisableEmailMFA'] ?? false,
isEmailMFAEnabled: json['isEmailMFAEnabled'] ?? false,
isTwoFactorEnabled: json['isTwoFactorEnabled'] ?? false,
);
}
// Method to convert ProfileData instance to JSON
Map<String, dynamic> toJson() {
return {
'canDisableEmailMFA': canDisableEmailMFA,
'isEmailMFAEnabled': isEmailMFAEnabled,
'isTwoFactorEnabled': isTwoFactorEnabled,
};
}
String toJsonString() => json.encode(toJson());
}
class FamilyData {
final List<FamilyMember>? members;

View File

@@ -1,15 +1,29 @@
// ignore_for_file: import_of_legacy_library_into_null_safe
import 'dart:async';
import 'package:ente_auth/app/view/app.dart';
import 'package:ente_auth/core/configuration.dart';
import 'package:ente_auth/core/event_bus.dart';
import 'package:ente_auth/ente_theme_data.dart';
import 'package:ente_auth/events/trigger_logout_event.dart';
import "package:ente_auth/l10n/l10n.dart";
import 'package:ente_auth/locale.dart';
import 'package:ente_auth/theme/text_style.dart';
import 'package:ente_auth/ui/account/email_entry_page.dart';
import 'package:ente_auth/ui/account/login_page.dart';
import 'package:ente_auth/ui/account/logout_dialog.dart';
import 'package:ente_auth/ui/account/password_entry_page.dart';
import 'package:ente_auth/ui/account/password_reentry_page.dart';
import 'package:ente_auth/ui/common/gradient_button.dart';
import 'package:ente_auth/ui/components/buttons/button_widget.dart';
import 'package:ente_auth/ui/components/models/button_result.dart';
import 'package:ente_auth/ui/home_page.dart';
import 'package:ente_auth/ui/settings/language_picker.dart';
import 'package:ente_auth/utils/dialog_util.dart';
import 'package:ente_auth/utils/navigation_util.dart';
import 'package:ente_auth/utils/toast_util.dart';
import 'package:flutter/foundation.dart';
import "package:flutter/material.dart";
import 'package:local_auth/local_auth.dart';
class OnboardingPage extends StatefulWidget {
const OnboardingPage({Key? key}) : super(key: key);
@@ -19,6 +33,23 @@ class OnboardingPage extends StatefulWidget {
}
class _OnboardingPageState extends State<OnboardingPage> {
late StreamSubscription<TriggerLogoutEvent> _triggerLogoutEvent;
@override
void initState() {
_triggerLogoutEvent =
Bus.instance.on<TriggerLogoutEvent>().listen((event) async {
await autoLogoutAlert(context);
});
super.initState();
}
@override
void dispose() {
_triggerLogoutEvent.cancel();
super.dispose();
}
@override
Widget build(BuildContext context) {
debugPrint("Building OnboardingPage");
@@ -37,6 +68,30 @@ class _OnboardingPageState extends State<OnboardingPage> {
children: [
Column(
children: [
kDebugMode
? GestureDetector(
child: const Align(
alignment: Alignment.topRight,
child: Text("Lang"),
),
onTap: () async {
final locale = await getLocale();
routeToPage(
context,
LanguageSelectorPage(
appSupportedLocales,
(locale) async {
await setLocale(locale);
App.setLocale(context, locale);
},
locale,
),
).then((value) {
setState(() {});
});
},
)
: const SizedBox(),
Image.asset(
"assets/sheild-front-gradient.png",
width: 200,
@@ -54,15 +109,18 @@ class _OnboardingPageState extends State<OnboardingPage> {
const SizedBox(height: 4),
Text(
"Authenticator",
style: Theme.of(context).textTheme.headline4,
style: Theme.of(context).textTheme.headlineMedium,
),
const SizedBox(height: 32),
Text(
l10n.onBoardingBody,
textAlign: TextAlign.center,
style:
Theme.of(context).textTheme.headline6!.copyWith(
Theme.of(context).textTheme.titleLarge!.copyWith(
color: Colors.white38,
// color: Theme.of(context)
// .colorScheme
// .mutedTextColor,
),
),
],
@@ -79,7 +137,7 @@ class _OnboardingPageState extends State<OnboardingPage> {
const SizedBox(height: 4),
Container(
width: double.infinity,
padding: const EdgeInsets.fromLTRB(20, 12, 20, 28),
padding: const EdgeInsets.fromLTRB(20, 12, 20, 0),
child: Hero(
tag: "log_in",
child: ElevatedButton(
@@ -96,6 +154,23 @@ class _OnboardingPageState extends State<OnboardingPage> {
),
),
),
const SizedBox(height: 4),
Container(
width: double.infinity,
padding: const EdgeInsets.only(top: 20, bottom: 20),
child: GestureDetector(
onTap: _optForOfflineMode,
child: Center(
child: Text(
l10n.useOffline,
style: body.copyWith(
color:
Theme.of(context).colorScheme.mutedTextColor,
),
),
),
),
),
],
),
),
@@ -106,6 +181,36 @@ class _OnboardingPageState extends State<OnboardingPage> {
);
}
Future<void> _optForOfflineMode() async {
bool canCheckBio = await LocalAuthentication().canCheckBiometrics;
if(!canCheckBio) {
showToast(context, "Sorry, biometric authentication is not supported on this device.");
return;
}
final bool hasOptedBefore = Configuration.instance.hasOptedForOfflineMode();
ButtonResult? result;
if(!hasOptedBefore) {
result = await showChoiceActionSheet(
context,
title: context.l10n.warning,
body: context.l10n.offlineModeWarning,
secondButtonLabel: context.l10n.cancel,
firstButtonLabel: context.l10n.ok,
);
}
if (hasOptedBefore || result?.action == ButtonAction.first) {
await Configuration.instance.optForOfflineMode();
Navigator.of(context).push(
MaterialPageRoute(
builder: (BuildContext context) {
return const HomePage();
},
),
);
}
}
void _navigateToSignUpPage() {
Widget page;
if (Configuration.instance.getEncryptedToken() == null) {
@@ -114,7 +219,9 @@ class _OnboardingPageState extends State<OnboardingPage> {
// No key
if (Configuration.instance.getKeyAttributes() == null) {
// Never had a key
page = const PasswordEntryPage();
page = const PasswordEntryPage(
mode: PasswordEntryMode.set,
);
} else if (Configuration.instance.getKey() == null) {
// Yet to decrypt the key
page = const PasswordReentryPage();
@@ -140,7 +247,9 @@ class _OnboardingPageState extends State<OnboardingPage> {
// No key
if (Configuration.instance.getKeyAttributes() == null) {
// Never had a key
page = const PasswordEntryPage();
page = const PasswordEntryPage(
mode: PasswordEntryMode.set,
);
} else if (Configuration.instance.getKey() == null) {
// Yet to decrypt the key
page = const PasswordReentryPage();

View File

@@ -2,21 +2,37 @@ import "package:ente_auth/l10n/l10n.dart";
import 'package:ente_auth/models/code.dart';
import 'package:ente_auth/utils/dialog_util.dart';
import 'package:ente_auth/utils/totp_util.dart';
import 'package:flutter/foundation.dart';
import "package:flutter/material.dart";
class SetupEnterSecretKeyPage extends StatefulWidget {
SetupEnterSecretKeyPage({Key? key}) : super(key: key);
final Code? code;
SetupEnterSecretKeyPage({this.code, Key? key}) : super(key: key);
@override
State<SetupEnterSecretKeyPage> createState() =>
_SetupEnterSecretKeyPageState();
State<SetupEnterSecretKeyPage> createState() => _SetupEnterSecretKeyPageState();
}
class _SetupEnterSecretKeyPageState extends State<SetupEnterSecretKeyPage> {
final _accountController = TextEditingController();
final _secretController =
TextEditingController(text: kDebugMode ? "JBSWY3DPEHPK3PXP" : "");
late TextEditingController _issuerController;
late TextEditingController _accountController;
late TextEditingController _secretController;
late bool _secretKeyObscured;
@override
void initState() {
_issuerController = TextEditingController(
text: widget.code != null ? safeDecode(widget.code!.issuer).trim() : null,
);
_accountController = TextEditingController(
text: widget.code != null ? safeDecode(widget.code!.account).trim() : null,
);
_secretController = TextEditingController(
text: widget.code != null ? widget.code!.secret : null,
);
_secretKeyObscured = widget.code != null;
super.initState();
}
@override
Widget build(BuildContext context) {
@@ -40,9 +56,9 @@ class _SetupEnterSecretKeyPageState extends State<SetupEnterSecretKeyPage> {
return null;
},
decoration: InputDecoration(
hintText: l10n.accountNameHint,
hintText: l10n.codeIssuerHint,
),
controller: _accountController,
controller: _issuerController,
autofocus: true,
),
const SizedBox(
@@ -57,10 +73,37 @@ class _SetupEnterSecretKeyPageState extends State<SetupEnterSecretKeyPage> {
return null;
},
decoration: InputDecoration(
hintText: l10n.accountKeyHint,
hintText: l10n.codeSecretKeyHint,
suffixIcon: IconButton(
onPressed: () {
setState(() {
_secretKeyObscured = !_secretKeyObscured;
});
},
icon: _secretKeyObscured
? const Icon(Icons.visibility_off_rounded)
: const Icon(Icons.visibility_rounded),
),
),
obscureText: _secretKeyObscured,
controller: _secretController,
),
const SizedBox(
height: 20,
),
TextFormField(
// The validator receives the text that the user has entered.
validator: (value) {
if (value == null || value.isEmpty) {
return "Please enter some text";
}
return null;
},
decoration: InputDecoration(
hintText: l10n.codeAccountHint,
),
controller: _accountController,
),
const SizedBox(
height: 40,
),
@@ -68,19 +111,36 @@ class _SetupEnterSecretKeyPageState extends State<SetupEnterSecretKeyPage> {
width: 400,
child: OutlinedButton(
onPressed: () {
if (_accountController.text.trim().isEmpty ||
if ((_accountController.text.trim().isEmpty &&
_issuerController.text.trim().isEmpty) ||
_secretController.text.trim().isEmpty) {
_showIncorrectDetailsDialog(context);
String message;
if (_secretController.text.trim().isEmpty) {
message = context.l10n.secretCanNotBeEmpty;
} else {
message = context.l10n.bothIssuerAndAccountCanNotBeEmpty;
}
_showIncorrectDetailsDialog(context, message: message);
return;
}
try {
final code = Code.fromAccountAndSecret(
_accountController.text.trim(),
_secretController.text.trim(),
);
final account = _accountController.text.trim();
final issuer = _issuerController.text.trim();
final secret = _secretController.text.trim().replaceAll(' ', '');
final Code newCode = widget.code == null
? Code.fromAccountAndSecret(
account,
issuer,
secret,
)
: widget.code!.copyWith(
account: account,
issuer: issuer,
secret: secret,
);
// Verify the validity of the code
getTotp(code);
Navigator.of(context).pop(code);
getOTP(newCode);
Navigator.of(context).pop(newCode);
} catch (e) {
_showIncorrectDetailsDialog(context);
}
@@ -90,7 +150,7 @@ class _SetupEnterSecretKeyPageState extends State<SetupEnterSecretKeyPage> {
horizontal: 16.0,
vertical: 4,
),
child: Text(l10n.importAddAction),
child: Text(l10n.saveAction),
),
),
)
@@ -102,11 +162,14 @@ class _SetupEnterSecretKeyPageState extends State<SetupEnterSecretKeyPage> {
);
}
void _showIncorrectDetailsDialog(BuildContext context) {
void _showIncorrectDetailsDialog(
BuildContext context, {
String? message,
}) {
showErrorDialog(
context,
"Incorrect details",
"Please verify the entered details",
context.l10n.incorrectDetails,
message ?? context.l10n.pleaseVerifyDetails,
);
}
}

View File

@@ -0,0 +1,100 @@
import 'dart:math';
import "package:ente_auth/l10n/l10n.dart";
import 'package:ente_auth/models/code.dart';
import 'package:ente_auth/theme/ente_theme.dart';
import "package:flutter/material.dart";
import 'package:qr_flutter/qr_flutter.dart';
class ViewQrPage extends StatelessWidget {
final Code? code;
ViewQrPage({this.code, Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
final screenWidth = MediaQuery.of(context).size.width;
final double qrSize = min(screenWidth - 80, 300.0);
final enteTextTheme = getEnteTextTheme(context);
final l10n = context.l10n;
return Scaffold(
appBar: AppBar(
title: Text(l10n.qrCode),
),
body: SafeArea(
child: Center(
child: Padding(
padding: const EdgeInsets.symmetric(vertical: 40.0, horizontal: 40),
child: Column(
children: [
QrImage(
data: code!.rawData,
foregroundColor: Theme.of(context).colorScheme.onBackground,
version: QrVersions.auto,
size: qrSize,
),
const SizedBox(
height: 20,
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
l10n.account,
style: enteTextTheme.largeMuted,
),
const SizedBox(
width: 10,
),
Text(
code?.account ?? '',
style: enteTextTheme.largeBold,
),
],
),
const SizedBox(
height: 4,
),
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
l10n.codeIssuerHint,
style: enteTextTheme.largeMuted,
),
const SizedBox(
width: 10,
),
Text(
code?.issuer ?? '',
style: enteTextTheme.largeBold,
),
],
),
const SizedBox(
height: 80,
),
SizedBox(
width: 400,
child: OutlinedButton(
onPressed: () {
Navigator.of(context).pop();
},
child: Padding(
padding: const EdgeInsets.symmetric(
horizontal: 16.0,
vertical: 4,
),
child: Text(l10n.back),
),
),
)
],
),
),
),
),
);
}
}

View File

@@ -8,23 +8,36 @@ import 'package:ente_auth/core/event_bus.dart';
import 'package:ente_auth/core/network.dart';
import 'package:ente_auth/events/codes_updated_event.dart';
import 'package:ente_auth/events/signed_in_event.dart';
import 'package:ente_auth/events/trigger_logout_event.dart';
import 'package:ente_auth/gateway/authenticator.dart';
import 'package:ente_auth/models/authenticator/auth_entity.dart';
import 'package:ente_auth/models/authenticator/auth_key.dart';
import 'package:ente_auth/models/authenticator/entity_result.dart';
import 'package:ente_auth/models/authenticator/local_auth_entity.dart';
import 'package:ente_auth/store/authenticator_db.dart';
import 'package:ente_auth/store/offline_authenticator_db.dart';
import 'package:ente_auth/utils/crypto_util.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter_sodium/flutter_sodium.dart';
import 'package:logging/logging.dart';
import 'package:shared_preferences/shared_preferences.dart';
enum AccountMode {
online,
offline,
}
extension on AccountMode {
bool get isOnline => this == AccountMode.online;
bool get isOffline => this == AccountMode.offline;
}
class AuthenticatorService {
final _logger = Logger((AuthenticatorService).toString());
final _config = Configuration.instance;
late SharedPreferences _prefs;
late AuthenticatorGateway _gateway;
late AuthenticatorDB _db;
late OfflineAuthenticatorDB _offlineDb;
final String _lastEntitySyncTime = "lastEntitySyncTime";
AuthenticatorService._privateConstructor();
@@ -32,118 +45,173 @@ class AuthenticatorService {
static final AuthenticatorService instance =
AuthenticatorService._privateConstructor();
AccountMode getAccountMode() {
return Configuration.instance.hasOptedForOfflineMode() &&
!Configuration.instance.hasConfiguredAccount()
? AccountMode.offline
: AccountMode.online;
}
Future<void> init() async {
_prefs = await SharedPreferences.getInstance();
_db = AuthenticatorDB.instance;
_offlineDb = OfflineAuthenticatorDB.instance;
_gateway = AuthenticatorGateway(Network.instance.getDio(), _config);
if (Configuration.instance.hasConfiguredAccount()) {
unawaited(sync());
unawaited(onlineSync());
}
Bus.instance.on<SignedInEvent>().listen((event) {
unawaited(sync());
unawaited(onlineSync());
});
}
Future<Map<int, String>> getAllIDtoStringMap() async {
final List<LocalAuthEntity> result = await _db.getAll();
final Map<int, String> entries = <int, String>{};
Future<List<EntityResult>> getEntities(AccountMode mode) async {
final List<LocalAuthEntity> result =
mode.isOnline ? await _db.getAll() : await _offlineDb.getAll();
final List<EntityResult> entities = [];
if (result.isEmpty) {
return entries;
return entities;
}
final key = await getOrCreateAuthDataKey();
final key = await getOrCreateAuthDataKey(mode);
for (LocalAuthEntity e in result) {
final decryptedValue = await CryptoUtil.decryptChaCha(
Sodium.base642bin(e.encryptedData),
key,
Sodium.base642bin(e.header),
);
entries[e.generatedID] = utf8.decode(decryptedValue);
try {
final decryptedValue = await CryptoUtil.decryptChaCha(
Sodium.base642bin(e.encryptedData),
key,
Sodium.base642bin(e.header),
);
final hasSynced = !(e.id == null || e.shouldSync);
entities.add(
EntityResult(
e.generatedID,
utf8.decode(decryptedValue),
hasSynced,
),
);
} catch (e, s) {
_logger.severe(e, s);
}
}
return entries;
return entities;
}
Future<int> addEntry(String plainText) async {
var key = await getOrCreateAuthDataKey();
Future<int> addEntry(
String plainText,
bool shouldSync,
AccountMode accountMode,
) async {
var key = await getOrCreateAuthDataKey(accountMode);
final encryptedKeyData = await CryptoUtil.encryptChaCha(
utf8.encode(plainText) as Uint8List,
key,
);
String encryptedData = Sodium.bin2base64(encryptedKeyData.encryptedData!);
String header = Sodium.bin2base64(encryptedKeyData.header!);
final insertedID = await _db.insert(encryptedData, header);
unawaited(sync());
final insertedID = accountMode.isOnline
? await _db.insert(encryptedData, header)
: await _offlineDb.insert(encryptedData, header);
if (shouldSync) {
unawaited(onlineSync());
}
return insertedID;
}
Future<void> updateEntry(int generatedID, String plainText) async {
var key = await getOrCreateAuthDataKey();
Future<void> updateEntry(
int generatedID,
String plainText,
bool shouldSync,
AccountMode accountMode,
) async {
var key = await getOrCreateAuthDataKey(accountMode);
final encryptedKeyData = await CryptoUtil.encryptChaCha(
utf8.encode(plainText) as Uint8List,
key,
);
String encryptedData = Sodium.bin2base64(encryptedKeyData.encryptedData!);
String header = Sodium.bin2base64(encryptedKeyData.header!);
final int affectedRows =
await _db.updateEntry(generatedID, encryptedData, header);
final int affectedRows = accountMode.isOnline
? await _db.updateEntry(generatedID, encryptedData, header)
: await _offlineDb.updateEntry(generatedID, encryptedData, header);
assert(
affectedRows == 1,
"updateEntry should have updated exactly one row",
);
unawaited(sync());
if (shouldSync) {
unawaited(onlineSync());
}
}
Future<void> deleteEntry(int genID) async {
LocalAuthEntity? result = await _db.getEntryByID(genID);
Future<void> deleteEntry(int genID, AccountMode accountMode) async {
LocalAuthEntity? result = accountMode.isOnline
? await _db.getEntryByID(genID)
: await _offlineDb.getEntryByID(genID);
if (result == null) {
_logger.info("No entry found for given id");
return;
}
if (result.id != null) {
if (result.id != null && accountMode.isOnline) {
await _gateway.deleteEntity(result.id!);
} else {
debugPrint("Skipping delete since account mode is offline");
}
if(accountMode.isOnline) {
await _db.deleteByIDs(generatedIDs: [genID]);
} else {
await _offlineDb.deleteByIDs(generatedIDs: [genID]);
}
await _db.deleteByIDs(generatedIDs: [genID]);
}
Future<void> sync() async {
Future<bool> onlineSync() async {
try {
if(getAccountMode().isOffline) {
debugPrint("Skipping sync since account mode is offline");
return false;
}
_logger.info("Sync");
_logger.info("State of DB before sync");
await _printDBState();
await _remoteToLocalSync();
_logger.info("remote fetch completed");
_logger.info("State of DB after remoteToLocal sync");
await _printDBState();
await _localToRemoteSync();
_logger.info("State of DB after localToRemote sync");
await _printDBState();
_logger.info("local push completed");
Bus.instance.fire(CodesUpdatedEvent());
return true;
} on UnauthorizedError {
if ((await _db.removeSyncedData()) > 0) {
Bus.instance.fire(CodesUpdatedEvent());
}
debugPrint("Firing logout event");
Bus.instance.fire(TriggerLogoutEvent());
return false;
} catch (e) {
_logger.severe("Failed to sync with remote", e);
return false;
}
}
Future<void> _remoteToLocalSync() async {
_logger.info('Initiating remote to local sync');
final int lastSyncTime = _prefs.getInt(_lastEntitySyncTime) ?? 0;
_logger.info("Current sync is " + lastSyncTime.toString());
const int fetchLimit = 500;
final List<AuthEntity> result =
await _gateway.getDiff(lastSyncTime, limit: fetchLimit);
_logger.info(result.length.toString() + " entries fetched from remote");
if (result.isEmpty) {
return;
} else {
_logger.info(result.length.toString() + " entries fetched from remote");
}
final maxSyncTime = result.map((e) => e.updatedAt).reduce(max);
List<String> deletedIDs =
result.where((element) => element.isDeleted).map((e) => e.id).toList();
_logger.info(deletedIDs.length.toString() + " entries deleted");
result.removeWhere((element) => element.isDeleted);
await _db.insertOrReplace(result);
if (deletedIDs.isNotEmpty) {
await _db.deleteByIDs(ids: deletedIDs);
}
_prefs.setInt(_lastEntitySyncTime, maxSyncTime);
_logger.info("Setting synctime to " + maxSyncTime.toString());
if (result.length == fetchLimit) {
_logger.info("Diff limit reached, pulling again");
await _remoteToLocalSync();
}
}
@@ -178,9 +246,16 @@ class AuthenticatorService {
await _db.updateLocalEntity(entity.copyWith(shouldSync: false));
}
}
if (pendingUpdate.isNotEmpty) {
_logger.info("Initiating remote sync since local entries were pushed");
await _remoteToLocalSync();
}
}
Future<Uint8List> getOrCreateAuthDataKey() async {
Future<Uint8List> getOrCreateAuthDataKey(AccountMode mode) async {
if(mode.isOffline) {
return _config.getOfflineSecretKey()!;
}
if (_config.getAuthSecretKey() != null) {
return _config.getAuthSecretKey()!;
}
@@ -188,7 +263,7 @@ class AuthenticatorService {
final AuthKey response = await _gateway.getKey();
final authKey = CryptoUtil.decryptSync(
Sodium.base642bin(response.encryptedKey),
_config.getKey(),
_config.getKey()!,
Sodium.base642bin(response.header),
);
await _config.setAuthSecretKey(Sodium.bin2base64(authKey));
@@ -208,13 +283,4 @@ class AuthenticatorService {
rethrow;
}
}
Future<void> _printDBState() async {
_logger.info("_____");
final entities = await _db.getAll();
for (final entity in entities) {
_logger.info(entity.id);
}
_logger.info("_____");
}
}

View File

@@ -1,5 +1,3 @@
// @dart=2.9
import 'dart:io';
import 'package:dio/dio.dart';
@@ -8,7 +6,6 @@ import 'package:ente_auth/core/errors.dart';
import 'package:ente_auth/core/network.dart';
import 'package:ente_auth/models/billing_plan.dart';
import 'package:ente_auth/models/subscription.dart';
import 'package:in_app_purchase/in_app_purchase.dart';
import 'package:logging/logging.dart';
const kWebPaymentRedirectUrl = "https://payments.ente.io/frameRedirect";
@@ -33,37 +30,11 @@ class BillingService {
bool _isOnSubscriptionPage = false;
Future<BillingPlans> _future;
Subscription? _cachedSubscription;
Future<void> init() async {
if (Platform.isAndroid || Platform.isIOS) {
InAppPurchaseConnection.enablePendingPurchases();
// if (Platform.isIOS && kDebugMode) {
// await FlutterInappPurchase.instance.initConnection;
// FlutterInappPurchase.instance.clearTransactionIOS();
// }
InAppPurchaseConnection.instance.purchaseUpdatedStream
.listen((purchases) {
if (_isOnSubscriptionPage) {
return;
}
for (final purchase in purchases) {
if (purchase.status == PurchaseStatus.purchased) {
verifySubscription(
purchase.productID,
purchase.verificationData.serverVerificationData,
).then((response) {
if (response != null) {
InAppPurchaseConnection.instance.completePurchase(purchase);
}
});
} else if (Platform.isIOS && purchase.pendingCompletePurchase) {
InAppPurchaseConnection.instance.completePurchase(purchase);
}
}
});
}
}
Future<BillingPlans>? _future;
Future<void> init() async {}
void clearCache() {
_future = null;
@@ -76,7 +47,7 @@ class BillingService {
.then((response) {
return BillingPlans.fromMap(response.data);
});
return _future;
return _future!;
}
Future<Response<dynamic>> _fetchPrivateBillingPlans() {
@@ -116,7 +87,7 @@ class BillingService {
);
return Subscription.fromMap(response.data["subscription"]);
} on DioError catch (e) {
if (e.response != null && e.response.statusCode == 409) {
if (e.response != null && e.response!.statusCode == 409) {
throw SubscriptionAlreadyClaimedError();
} else {
rethrow;
@@ -127,22 +98,25 @@ class BillingService {
}
}
Future<Subscription> fetchSubscription() async {
try {
final response = await _dio.get(
_config.getHttpEndpoint() + "/billing/subscription",
options: Options(
headers: {
"X-Auth-Token": _config.getToken(),
},
),
);
final subscription = Subscription.fromMap(response.data["subscription"]);
return subscription;
} on DioError catch (e, s) {
_logger.severe(e, s);
rethrow;
Future<Subscription> getSubscription() async {
if (_cachedSubscription == null) {
try {
final response = await _dio.get(
_config.getHttpEndpoint() + "/billing/subscription",
options: Options(
headers: {
"X-Auth-Token": _config.getToken(),
},
),
);
_cachedSubscription =
Subscription.fromMap(response.data["subscription"]);
} on DioError catch (e, s) {
_logger.severe(e, s);
rethrow;
}
}
return _cachedSubscription!;
}
Future<Subscription> cancelStripeSubscription() async {

View File

@@ -1,4 +1,4 @@
// @dart=2.9
import 'package:ente_auth/core/configuration.dart';
import 'package:ente_auth/ui/tools/app_lock.dart';
@@ -18,9 +18,9 @@ class LocalAuthenticationService {
String infoMessage,
) async {
if (await _isLocalAuthSupportedOnDevice()) {
AppLock.of(context).setEnabled(false);
AppLock.of(context)!.setEnabled(false);
final result = await requestAuthentication(infoMessage);
AppLock.of(context).setEnabled(
AppLock.of(context)!.setEnabled(
Configuration.instance.shouldShowLockScreen(),
);
if (!result) {
@@ -41,17 +41,17 @@ class LocalAuthenticationService {
String errorDialogTitle = "",
]) async {
if (await LocalAuthentication().isDeviceSupported()) {
AppLock.of(context).disable();
AppLock.of(context)!.disable();
final result = await requestAuthentication(
infoMessage,
);
if (result) {
AppLock.of(context).setEnabled(shouldEnableLockScreen);
AppLock.of(context)!.setEnabled(shouldEnableLockScreen);
await Configuration.instance
.setShouldShowLockScreen(shouldEnableLockScreen);
return true;
} else {
AppLock.of(context)
AppLock.of(context)!
.setEnabled(Configuration.instance.shouldShowLockScreen());
}
} else {

Some files were not shown because too many files have changed in this diff Show More