Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Secure seed during creating account #1290

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"dart.flutterSdkPath": ".flutter",
"dart.lineLength": 120,
"git.ignoreLimitWarning": true,
"explorer.autoReveal": false,
"explorer.autoReveal": true,
}
4 changes: 4 additions & 0 deletions app/assets/encointer_copy_icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion app/lib/common/components/gradient_elements.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,21 @@ class PrimaryButton extends StatelessWidget {
required this.child,
this.onPressed,
this.borderRadius = const BorderRadius.all(Radius.circular(20)),
this.backgroundGradient,
super.key,
});

final void Function()? onPressed;
final Widget child;
final BorderRadiusGeometry borderRadius;
final LinearGradient? backgroundGradient;

@override
Widget build(BuildContext context) {
return Container(
width: double.infinity,
decoration: BoxDecoration(
gradient: AppColors.primaryGradient(context),
gradient: backgroundGradient ?? AppColors.primaryGradient(context),
borderRadius: borderRadius,
),
child: ElevatedButton(
Expand Down
3 changes: 2 additions & 1 deletion app/lib/gen/assets.gen.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 54 additions & 1 deletion app/lib/l10n/arb/app_de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,61 @@
"youAreAssignedToAGatheringWithNParticipants": "Du bist einer Versammlung mit {participantsCount} Leuten zugewiesen.",
"successfullySentNAttestations": "Du hast erfolgreich Bezeugungen für {participantsCount} andere Leute eingereicht.",
"tokenSend": "{symbol} senden",
"choosYourCommunity": "Wählen Sie Ihre Community",
"secureYourAccount": "Sichern Sie Ihr Konto",
"congratulations": "Glückwunsch",
"youHaveSecuredYourAccountKeepYourSecretPhrase": "Sie haben Ihr Konto erfolgreich gesichert. Denken Sie daran, Ihren Genesungsgeheimsatz sicher aufzubewahren.",
"youAreResponsibleForThis": "Dafür sind Sie verantwortlich!",
"pleaseNoteEncointerCannotRecoverYourAccount":"Bitte beachten Sie, dass Encoinr Ihr Konto nicht wiederherstellen kann, wenn Sie gesperrt werden",
"youCanFindYourSecretPhraseInYourProfile":"Ihre geheime Wiederherstellungsphrase finden Sie in Ihrem Profil unter <Exportieren>.",
"accountCreated":"Account erstellt",
"yourAccountSuccessfullyCreated":"Ihr Konto wurde erfolgreich erstellt!",
"secureYourAccountWithSecretPhraseEnsureNotLoseIt":"Sichern Sie Ihr Konto jetzt mit einer geheimen Wiederherstellungsphrase, um sicherzustellen, dass Sie den Zugriff auf Ihr Konto nicht verlieren.",
"keepYourSecretPhraseSafe": "Bewahren Sie Ihre geheime Wiederherstellungsphrase sicher auf.",
"heresYourPhraseWriteItDownOnPaper": "Hier ist Ihr geheimer Wiederherstellungssatz. Schreiben Sie ihn auf ein Blatt Papier und bewahren Sie es an einem sicheren Ort auf.",
"successfullyCopied": "Erfolgreich kopiert!",
"copyRecoveryPhrase": "Wiederherstellungsphrase kopieren",
"iHaveWrittenDownPhraseAndUnderstandEncointerCannotAssistMe": "Ich habe den Wiederherstellungssatz aufgeschrieben und sicher aufbewahrt und verstehe, dass Encoinr mir bei einer Kontowiederherstellung nicht helfen kann",
"complete": "Abgeschlossen",
"lossOfRecoveryPhrase": "Verlust der Wiederherstellungsphrase",
"forgettingStorageLocation": "Speicherort vergessen",
"unauthorizedAccessByThirdParties": "Unautorisierter Zugriff durch Dritte",
"chooseSafeAndReliableStorageMethod": "Wählen Sie eine sichere und zuverlässige Speichermethode",
"writeDownStorageLocationsInSafePlace": "Notieren Sie sich die Speicherorte an einem sicheren Ort, für den Fall, dass Sie sie vergessen",
"neverShareRecoveryPhraseWithOthers": "Teilen Sie den Wiederherstellungssatz niemals mit anderen Personen",
"instructions": "Anweisungen",
"writeYourSecretPhraseOnPaperOrChooseSafeOption": "Schreiben Sie Ihre geheime Wiederherstellungsphrase auf ein Blatt Papier oder wählen Sie eine andere sichere Speicheroption.",
"keepRecordingInSafePlace": "Bewahren Sie die Aufnahme an einem sicheren Ort auf",
"risks": "Risiken",
"tips": "Tipps",
"showRecoveryphrase": "Wiederherstellungsphrase anzeigen",
"whenYouChangeYourPhone": "Wenn Sie Ihr Smartphone wechseln.",
"whenYourPhoneIsLost": "Wenn Ihr Smartphone verloren geht.",
"ifYouForgetYourPin": "Wenn Sie Ihre PIN vergessen haben.",
"secureYourAccountWithSecretRecoveryPhrase": "Sichern Sie Ihr Konto mit einer geheimen Wiederherstellungsphrase",
"toAvoidRiskingYourCreditBeSureToProtectBySecretPhrase": "Um Ihr Guthaben nicht zu gefährden, schützen Sie Ihr Konto unbedingt, indem Sie Ihre geheime Wiederherstellungsphrase an einem sicheren Ort aufbewahren.",
"recoveryPhraseIsTheOnlyWayToRecoverYourWallet": "Die Wiederherstellungsphrase ist die einzige Möglichkeit, Ihr Wallet wiederherzustellen.",
"examplesOfWhenYouNeedYourRecoveryPhrase": "Beispiele dafür, wann Sie Ihre Wiederherstellungsphrase benötigen",
"proceedWithoutsavingNotRecommended": "Ohne Speichern fortfahren. (Nicht empfohlen)",
"start": "Start",
"communityWithName": "{name} Gemeinschaft",
"verifyAuthTitle": "{useBioAuth, select, true{deine Identität} false{deine PIN} other{}} überprüfen, um die Transaktion abzuschließen.",
"@communityWithName": {
"placeholders": {
"name": {
"type": "String",
"example": "LEU"
}
}
},
"verifyAuthTitle": "{useBioAuth, select, true{deine Identität} false{deine PIN} other{}} überprüfen, um die Transaktion abzuschließen..",
"@verifyAuthTitle": {
"placeholders": {
"useBioAuth": {
"type": "String",
"example": "true"
}
}
},
"offersForCommunity": "Angebote für {value}",
"@offersForCommunity": {
"placeholders": {
Expand Down
37 changes: 37 additions & 0 deletions app/lib/l10n/arb/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,43 @@
}
}
},
"choosYourCommunity": "Choose your community",
"secureYourAccount": "Secure your account",
"congratulations": "Congratulations",
"youHaveSecuredYourAccountKeepYourSecretPhrase": "You have successfully secured your account. Remember to keep your recovery secret phrase safe.",
"youAreResponsibleForThis": "You are responsible for this!",
"pleaseNoteEncointerCannotRecoverYourAccount":"Please note that Encointer cannot recover your account if you get locked out.",
"youCanFindYourSecretPhraseInYourProfile":"You can find your secret recovery phrase in your profile under «export».",
"accountCreated":"Account created",
"yourAccountSuccessfullyCreated":"Your account has been successfully created!",
"secureYourAccountWithSecretPhraseEnsureNotLoseIt":"Secure your account now with a secret recovery phrase to ensure you don't lose access to your account.",
"keepYourSecretPhraseSafe":"Keep your secret recovery phrase safe.",
"heresYourPhraseWriteItDownOnPaper":"Here's your secret recovery phrase. Write them down on a piece of paper and keep it in a safe place..",
"successfullyCopied": "Successfully copied!",
"copyRecoveryPhrase":"Copy recovery phrase",
"iHaveWrittenDownPhraseAndUnderstandEncointerCannotAssistMe":"I have written down the recovery phrase and kept it safe and understand that Encointer cannot assist me with an account recovery",
"complete": "Complete",
"lossOfRecoveryPhrase":"Loss of recovery phrase",
"forgettingStorageLocation":"Forgetting the storage location",
"unauthorizedAccessByThirdParties":"Unauthorized Access by Third Parties",
"chooseSafeAndReliableStorageMethod":"Choose a safe and reliable storage method",
"writeDownStorageLocationsInSafePlace":"Write down the storage locations in a safe place in case you forget them",
"neverShareRecoveryPhraseWithOthers":"Never share the recovery phrase with other people",
"instructions": "Instructions",
"writeYourSecretPhraseOnPaperOrChooseSafeOption":"Write your secret recovery phrase on a piece of paper or choose another safe storage option.",
"keepRecordingInSafePlace": "Keep the recording in a safe place",
"risks": "Risks",
"tips": "Tips",
"showRecoveryphrase":"Show recovery phrase",
"whenYouChangeYourPhone":"When you change your smartphone.",
"whenYourPhoneIsLost":"When your smartphone is lost.",
"ifYouForgetYourPin":"If you forget your pin.",
"secureYourAccountWithSecretRecoveryPhrase":"Secure your account with a secret recovery phrase",
"toAvoidRiskingYourCreditBeSureToProtectBySecretPhrase":"To avoid risking your credit, be sure to protect your account by keeping your secret recovery phrase in a safe place.",
"recoveryPhraseIsTheOnlyWayToRecoverYourWallet":"The recovery phrase is the only way to recover your wallet.",
"examplesOfWhenYouNeedYourRecoveryPhrase":"Examples of when you need your recovery phrase",
"proceedWithoutsavingNotRecommended":"Proceed without saving. (Not recommended)",
"start":"Start",
"communityWithName": "{name} Community",
"@communityWithName": {
"placeholders": {
Expand Down
53 changes: 53 additions & 0 deletions app/lib/l10n/arb/app_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,61 @@
"youAreAssignedToAGatheringWithNParticipants": "Tu es assigné à une rencontre avec des personnes de {participantsCount}.",
"successfullySentNAttestations": "Tu as soumis avec succès des attestations pour {participantsCount} autres personnes.",
"tokenSend": "Envoyer {symbol}",
"choosYourCommunity": "Choisissez votre communauté",
"secureYourAccount": "Sécurise ton compte",
"congratulations": "Toutes nos félicitations",
"youHaveSecuredYourAccountKeepYourSecretPhrase": "Vous avez sécurisé votre compte avec succès. N'oubliez pas de conserver votre phrase secrète de récupération en lieu sûr.",
"youAreResponsibleForThis": "Vous en êtes responsable!",
"pleaseNoteEncointerCannotRecoverYourAccount":"Veuillez noter qu'Encointer ne peut pas récupérer votre compte si vous êtes bloqué",
"youCanFindYourSecretPhraseInYourProfile":"Vous pouvez trouver votre phrase de récupération secrète dans votre profil sous «exporter».",
"accountCreated":"Compte créé",
"yourAccountSuccessfullyCreated":"Votre compte à été créé avec succès!",
"secureYourAccountWithSecretPhraseEnsureNotLoseIt":"Sécurisez votre compte maintenant avec une phrase de récupération secrète pour vous assurer de ne pas perdre l'accès à votre compte.",
"keepYourSecretPhraseSafe":"Gardez votre phrase de récupération secrète en sécurité.",
"heresYourPhraseWriteItDownOnPaper":"Voici votre phrase secrète de récupération. Écrivez-la sur une feuille de papier et conservez-la en lieu sûr..",
"successfullyCopied": "Copié avec succès !",
"copyRecoveryPhrase":"Copier la phrase de récupération",
"iHaveWrittenDownPhraseAndUnderstandEncointerCannotAssistMe":"J'ai écrit la phrase de récupération et je l'ai conservée en lieu sûr et je comprends qu'Encointer ne peut pas m'aider à récupérer mon compte",
"complete": "Complet",
"lossOfRecoveryPhrase":"Perte de la phrase de récupération",
"forgettingStorageLocation":"Oubli de l'emplacement de stockage",
"unauthorizedAccessByThirdParties":"Accès non autorisé par des tiers",
"chooseSafeAndReliableStorageMethod":"Choisissez une méthode de stockage sûre et fiable",
"writeDownStorageLocationsInSafePlace":"Notez les emplacements de stockage dans un endroit sûr au cas où vous les oublieriez",
"neverShareRecoveryPhraseWithOthers":"Ne jamais partager la phrase de récupération avec d'autres personnes",
"instructions": "Instructions",
"writeYourSecretPhraseOnPaperOrChooseSafeOption":"Écrivez votre phrase de récupération secrète sur une feuille de papier ou choisissez une autre option de stockage sécurisée.",
"keepRecordingInSafePlace": "Conserver l'enregistrement dans un endroit sûr",
"risks": "Risques",
"tips": "Astuces",
"showRecoveryphrase":"Afficher la phrase de récupération",
"whenYouChangeYourPhone":"Lorsque vous changez de smartphone.",
"whenYourPhoneIsLost":"Lorsque votre smartphone est perdu.",
"ifYouForgetYourPin":"Si vous oubliez votre code PIN.",
"secureYourAccountWithSecretRecoveryPhrase":"Sécurisez votre compte avec une phrase secrète de récupération",
"toAvoidRiskingYourCreditBeSureToProtectBySecretPhrase":"Pour éviter de risquer votre crédit, assurez-vous de protéger votre compte en conservant votre phrase secrète de récupération en lieu sûr.",
"recoveryPhraseIsTheOnlyWayToRecoverYourWallet":"La phrase de récupération est le seul moyen de récupérer votre portefeuille.",
"examplesOfWhenYouNeedYourRecoveryPhrase":"Exemples où vous avez besoin de votre phrase de récupération",
"proceedWithoutsavingNotRecommended":"Poursuivre sans enregistrer. (Non recommandé)",
"start":"Démarrer",
"communityWithName": "Communauté {name}",
"@communityWithName": {
"placeholders": {
"name": {
"type": "String",
"example": "LEU"
}
}
},
"verifyAuthTitle": "Veuillez vérifier {useBioAuth, select, true{ta identité} false{le NIP} other{}} pour finaliser la transaction.",
"@verifyAuthTitle": {
"placeholders": {
"useBioAuth": {
"type": "String",
"example": "true"
}
}
},
"offersForCommunity": "Des offres pour un {value}",
"@offersForCommunity": {
"placeholders": {
Expand Down
Loading