Commit graph

436 commits

Author SHA1 Message Date
Torsten Grote
7dceb98670 Add test for decrypting and reading version 0 metadata 2021-10-13 16:15:20 +05:30
Torsten Grote
b707d7f9d0 Add test for full and k/v restore of version 0 backups 2021-10-13 16:15:20 +05:30
Michael Bestas
1cae6dc60e Bump version to 11-2.3
Change-Id: I792a1b1039f2ffcf23301334914b9c1fc75244ef
2021-10-05 01:34:35 +05:30
Michael Bestas
bfdf69c2f0 Switch all translations references to github.com/seedvault-app
Change-Id: I400b831c64ca72aa07940e323885595e864b2745
2021-10-05 01:34:35 +05:30
Michael Bestas
dce3ad244d Fix translations after replacing novacrypt BIP39 library
Change-Id: Ie8fe00a8d870374ce86c3766307f954dc9d259ba
2021-10-05 01:34:35 +05:30
Chirayu Desai
88f44a9f66 Merge branch 'master' of https://github.com/seedvault-app/seedvault into android11-11-2.2-merge
* 'master' of https://github.com/seedvault-app/seedvault: (50 commits)
  Bump version to 11-2.2
  Changelog: Update till 11-2.1
  Restrict exported components
  Allow launching restore through a dialer code
  Add expert settings with an option for unlimited quota
  Prevent screenshots of recovery code
  Use clearer more generic strings
  Ask for system authentication before storing a new recovery code
  Split up validating, verifying and storing of recovery code
  Disable Nextcloud restore when not installed and no store available
  Disable spell-checker on recovery code input
  Add warning for third-party tools to README
  document potential information leakage through the long-lived SQL caches
  Provide an overview over key derivations
  Compares kotlin-bip39 library with bitcoinj library
  Link FAQ in Readme to make it more discoverable
  Move LocalContactsBackup to product partition
  Add newline at the end of all files
  Improve .editorconfig setup
  Don't backup on metered networks
  ...

Conflicts:
	app/src/main/res/values-de/strings.xml
	app/src/main/res/values-es/strings.xml
	app/src/main/res/values-pt/strings.xml
	app/src/main/res/values-zh-rCN/strings.xml

Conflicts resolved by simply checking out translations from android11,
since they are not modified in master at all.

Change-Id: I0a83c72dbc78b38985b46f9b75ce92e27acd2e03
2021-09-29 19:52:03 +05:30
Chirayu Desai
08abcb63d7 Bump version to 11-2.2
User-facing changes:
* Don't backup on metered networks
* Disable spell-checker on recovery code input
* Disable Nextcloud restore when not installed and no store available
* Ask for system authentication before storing a new recovery code
* Prevent screenshots of recovery code
* Add expert settings with an option for unlimited quota
* Allow launching restore through a dialer code
* Restrict exported components

Others:
* Improve .editorconfig setup
* Move LocalContactsBackup to product partition
* Link FAQ in Readme to make it more discoverable
* Compares kotlin-bip39 library with bitcoinj library
* Provide an overview over key derivations
* document potential information leakage through the long-lived SQL caches
* Add warning for third-party tools to README

Change-Id: I095af13d0ff010c9602bc323267c074ce7d019a2
2021-09-29 19:33:45 +05:30
flawedworld
b2cd3c76a3 Restrict exported components
Change-Id: I30e5f530b6814acd4d3940279de6100f82e68445
2021-09-29 18:57:14 +05:30
Chirayu Desai
38f01765ec Allow launching restore through a dialer code
* We don't show Restore in menu by default since it's
  not the best idea to restore a running system
* However, at the same time, it's good to have a way to do
  that for those who'd like to restore anyway, and the only
  current way is adb, which is not ideal
* Dialing "*#*#RESTORE#*#*" will launch the restore activity

Change-Id: I258fead82f7e916a4de0b314e1840d7aa4b3746c
2021-09-29 18:57:14 +05:30
Torsten Grote
a5a3a85c6c Add expert settings with an option for unlimited quota
Change-Id: Iebaea41ce4e69912f7cb723bd92e94e4396aa657
2021-09-28 22:02:04 +05:30
Torsten Grote
d2a748c34a Prevent screenshots of recovery code
This is may be inconvenient for some people, but it is way more secure as screenshots can be accessed by malicious apps that look our for BIP39 codes. Better to store the code on paper.
2021-09-24 02:55:56 +05:30
Torsten Grote
3b1a4e3881 Use clearer more generic strings 2021-09-24 02:55:56 +05:30
Torsten Grote
6e838978e3 Ask for system authentication before storing a new recovery code
This will help to prevent data extraction via seedvault when somebody gets hold of an unlocked phone. However, it will not help against someone able to force you to provide fingerprints or other device secrets.
2021-09-24 02:55:56 +05:30
Torsten Grote
e0f728205d Split up validating, verifying and storing of recovery code 2021-09-24 02:55:56 +05:30
Alex
5bca365c14 Translated using Weblate (Tamil)
Currently translated at 97.7% (132 of 135 strings)

Co-authored-by: Alex <alexraj2003@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ta/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Shanavas
28e02a144a Translated using Weblate (Malayalam)
Currently translated at 12.5% (17 of 135 strings)

Co-authored-by: Shanavas <shanavas.m2@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ml/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
bruh
9fde673be6 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: bruh <quangtrung02hn16@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/vi/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Maciej Błędkowski
584c76e0af Translated using Weblate (Polish)
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: Maciej Błędkowski <mble@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pl/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
ssantos
a9f10b4749 Translated using Weblate (Portuguese)
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pt/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Kaantaja
18ce429db5 Translated using Weblate (Finnish)
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: Kaantaja <ufdbvgoljrjkrkyyub@ianvvn.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/fi/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Tymofii Lytvynenko
b4e5d1a9d3 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (135 of 135 strings)

Translated using Weblate (Ukrainian)

Currently translated at 25.9% (35 of 135 strings)

Co-authored-by: Tymofii Lytvynenko <till.svit@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/uk/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Gediminas Murauskas
ac3f996660 Translated using Weblate (Lithuanian)
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: Gediminas Murauskas <muziejusinfo@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/lt/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Óscar Fernández Díaz
f7ab10f526 Translated using Weblate (Spanish)
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: Óscar Fernández Díaz <oscfdezdz@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/es/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
František Oboňa
710a9c39bf Translated using Weblate (Slovak)
Currently translated at 99.2% (134 of 135 strings)

Translated using Weblate (Slovak)

Currently translated at 11.8% (16 of 135 strings)

Co-authored-by: František Oboňa <frantisekobona@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/sk/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
oksya8and8
d175c3f5c8 Translated using Weblate (Japanese)
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: oksya8and8 <darknessyasuko@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ja/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Taro Tanaka
f74f27bd6a Translated using Weblate (Japanese)
Currently translated at 31.8% (43 of 135 strings)

Co-authored-by: Taro Tanaka <anon_japan@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ja/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Yuya Shimbori
7f0d9a8ce2 Translated using Weblate (Japanese)
Currently translated at 29.6% (40 of 135 strings)

Co-authored-by: Yuya Shimbori <yuyaj@tutanota.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ja/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
ibukinus
fef672d875 Translated using Weblate (Japanese)
Currently translated at 20.0% (27 of 135 strings)

Co-authored-by: ibukinus <myon.ibuki@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ja/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Algustionesa Yoshi
ce3d440e3d Translated using Weblate (Indonesian)
Currently translated at 48.1% (65 of 135 strings)

Co-authored-by: Algustionesa Yoshi <algustionesa@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/id/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Noway Imtellingyouidiot
f4c6047919 Translated using Weblate (Hungarian)
Currently translated at 48.1% (65 of 135 strings)

Co-authored-by: Noway Imtellingyouidiot <johns.videos+weblate@mailbox.org>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/hu/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Shashi A
a11298c263 Translated using Weblate (Telugu)
Currently translated at 95.5% (129 of 135 strings)

Translated using Weblate (Telugu)

Currently translated at 65.1% (88 of 135 strings)

Co-authored-by: Shashi A <bitcoinbabu401@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/te/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Yurical
4605e2d853 Translated using Weblate (Korean)
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: Yurical <yurical1@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ko/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Allan Nordhøy
4ba0456971 Translated using Weblate (Norwegian Bokmål)
Currently translated at 69.6% (94 of 135 strings)

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/nb_NO/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Oğuz Ersen
5a7d109e11 Translated using Weblate (Turkish)
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/tr/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Artem
6e1d2f9055 Translated using Weblate (Russian)
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: Artem <Localizer_in_Russian@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ru/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Eric
087f8b726c Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: Eric <spice2wolf@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/zh_Hans/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
nautilusx
25e2ca8b7d Translated using Weblate (German)
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: nautilusx <translate@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/de/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Chirayu Desai
77b8ac9a50 Deleted translation using Weblate (Spanish (Argentina))
Deleted translation using Weblate (Uyghur)

Co-authored-by: Chirayu Desai <chirayudesai1@gmail.com>
2021-09-24 02:54:42 +05:30
Weblate
6f7c1c2000 Added translation using Weblate (Spanish (Argentina))
Added translation using Weblate (Uyghur)

Co-authored-by: Weblate <noreply@weblate.org>
2021-09-24 02:54:42 +05:30
Alexandre Brochand
da4a58810b Translated using Weblate (French)
Currently translated at 100.0% (135 of 135 strings)

Co-authored-by: Alexandre Brochand <armandleborgne@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/fr/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
ArunJRK
55d7d62624 Translated using Weblate (Tamil)
Currently translated at 1.4% (2 of 135 strings)

Co-authored-by: ArunJRK <Arun.jrk99@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ta/
Translation: CalyxOS/Seedvault
2021-09-24 02:54:42 +05:30
Michael Bestas
26516d72a2 Disable Nextcloud restore when not installed and no store available
Attempting to install Nextcloud in SetupWizard on a device
that has no app store installed results in a crash.
Disable the option and use an appropriate summary.

Change-Id: Ie3dff8d85ed68b27858fa37b3efb97eb345fa372
2021-09-24 02:53:10 +05:30
Torsten Grote
71f7fd8474 Disable spell-checker on recovery code input
to prevent potential cloud learning or otherwise leaking code
2021-09-24 02:52:06 +05:30
Torsten Grote
d6a95e40ec Compares kotlin-bip39 library with bitcoinj library
to ensure that kotlin-bip39 is not malicious and can be upgraded safely
2021-09-24 00:02:43 +05:30
Torsten Grote
b149195e7a
Merge branch 'master' into code-style 2021-09-08 05:37:02 -03:00
Michael Bestas
532ed5e3f1
Add newline at the end of all files
Change-Id: I85718a4d8254d27e36f1712e4430e82863ba721e
2021-08-25 18:25:00 +03:00
Luca Stefani
bc24c7804d Don't backup on metered networks
* We better not overuse metered networks as such connections
* are usually sensitive to heavy data usage due to monetary costs and/or data limitations.
2021-08-25 14:59:49 +02:00
Chirayu Desai
96ffcc258d Bump version to 11-2.1
* Only change here is the BIP39 dependency replacement, however
  I'm still bumping version so that it's easy to figure out in case
  there ever was a build with just 2.0 and not this due to whatever reason

Change-Id: I9783d5e038d002e871c09be6fe61174c5a5b901f
2021-07-06 00:02:14 +05:30
Torsten Grote
05640ebb63 Replace novacrypt BIP39 library with the zcash one
which is MIT licensed instead of GPLv3

Change-Id: I30041de5ab1c1f8c7d5f57d6c60e28300a285259
2021-07-05 23:50:18 +05:30
Chirayu Desai
fd4c92bd84 SeedVault 2.0: Now with storage backup!
Change-Id: Ifd639c3c9205b417d1ec37c8e7a11a2119b5cb48
2021-07-05 22:35:08 +05:30