v1 Copy Changes - Key Generation, Storage

Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
Serhy 2019-12-21 17:55:19 +02:00
parent 1d0ab4052d
commit 0fa6ae589b
No known key found for this signature in database
GPG Key ID: 5D7C4B9E2B6F500B
6 changed files with 45 additions and 45 deletions

View File

@ -889,7 +889,7 @@ class TestProfileMultipleDevice(MultipleDeviceTestCase):
dapp_view_1 = profile_1.ens_usernames_button.click()
dapp_view_1.element_by_text('Get started').click()
dapp_view_1.ens_name.set_value(ens_user['ens'])
expected_text = 'This user name is owned by you and connected with your Chat key.'
expected_text = 'This user name is owned by you and connected with your chat key.'
if not dapp_view_1.wait_for_element_starts_with_text(expected_text):
sign_in_1.driver.fail("No %s is shown" % expected_text)
dapp_view_1.check_ens_name.click_until_presence_of_element(dapp_view_1.element_by_text('Ok, got it'))

View File

@ -381,7 +381,7 @@ class BaseView(object):
def dismiss_alert(self):
self.driver.info("Dismiss alert")
self.driver.switch_to.alert().dismiss()
self.driver.switch_to.alert.dismiss()
@property
def logcat(self):

View File

@ -20,7 +20,7 @@ class ReencryptYourKeyButton(BaseButton):
def __init__(self, driver):
super(ReencryptYourKeyButton, self).__init__(driver)
self.locator = self.Locator.xpath_selector("//android.widget.TextView[@text='Re-encrypt your key']")
self.locator = self.Locator.xpath_selector("//android.widget.TextView[@text='Re-encrypt your keys']")
class ConfirmRecoverAccess(BaseButton):

View File

@ -82,13 +82,13 @@ class CreateMultiaccountButton(BaseButton):
class GenerateKeyButton(BaseButton):
def __init__(self, driver):
super(GenerateKeyButton, self).__init__(driver)
self.locator = self.Locator.xpath_selector("//*[@text='Generate a key']")
self.locator = self.Locator.xpath_selector("//*[@text='Generate keys']")
class GenerateNewKeyButton(BaseButton):
def __init__(self, driver):
super(GenerateNewKeyButton, self).__init__(driver)
self.locator = self.Locator.xpath_selector("//*[@text='Generate a new key']")
self.locator = self.Locator.xpath_selector("//*[@text='Generate keys']")
class IHaveMultiaccountButton(RecoverAccessButton):
@ -100,7 +100,7 @@ class IHaveMultiaccountButton(RecoverAccessButton):
class AccessKeyButton(RecoverAccessButton):
def __init__(self, driver):
super(AccessKeyButton, self).__init__(driver)
self.locator = self.Locator.xpath_selector("//*[@text='Access key']")
self.locator = self.Locator.xpath_selector("//*[@text='Access existing keys']")
class MaybeLaterButton(BaseButton):

View File

@ -291,7 +291,7 @@ class DeleteAccountButton(BaseButton):
class GenerateNewAccountButton(BaseButton):
def __init__(self, driver):
super(GenerateNewAccountButton, self).__init__(driver)
self.locator = self.Locator.text_selector('Generate a new key')
self.locator = self.Locator.text_selector('Generate keys')
class EnterYourPasswordInput(BaseEditBox):
@ -304,7 +304,7 @@ class EnterYourPasswordInput(BaseEditBox):
class GenerateAccountButton(BaseButton):
def __init__(self, driver):
super(GenerateAccountButton, self).__init__(driver)
self.locator = self.Locator.text_selector('Generate key')
self.locator = self.Locator.text_selector('Generate keys')
class AccountNameInput(BaseEditBox):

View File

@ -2,9 +2,9 @@
"about-app": "About",
"about-key-storage-content": "Status will never access your private key. Be sure to backup your seed phrase. If you lose your phone it is the only way to access your keys.",
"about-key-storage-title": "About key storage",
"about-names-content": "Your identity is secure and private by design. You get a locally generated cryptographic keypair. The name and image are a readable version of this. They are unique. Nobody can pretend to be you. Nobody sees your real name unless you provide it.",
"about-names-title": "About the names",
"access-key": "Access key",
"about-names-content": "No one can pretend to be you! Youre anonymous by default and never have to reveal your real name. You can register a custom name for a small fee.",
"about-names-title": "Names cant be changed",
"access-key": "Access existing keys",
"account-added": "Account added",
"account-color": "Account color",
"account-name": "Account name",
@ -185,7 +185,7 @@
"create-a-pin": "Create a 6-digit passcode",
"create-group-chat": "Create group chat",
"create-multiaccount": "Create multiaccount",
"create-new-key": "Get a new key",
"create-new-key": "Get new keys",
"create-pin": "Create 6-digit passcode",
"create-pin-description": "You'll need your card + this 6-digit passcode to unlock Status and to confirm transactions",
"created-group-chat-description": "You created the group {{group-name}}",
@ -374,7 +374,7 @@
"ens-release-username": "Release username",
"ens-remove-hints": "Removing will detach the username from your key.",
"ens-remove-username": "Remove username",
"ens-saved": " is now connected with your key and can be used in Status.",
"ens-saved": " is now connected with your chat key and can be used in Status.",
"ens-saved-title": "Username added",
"ens-show-username": "Show my ENS username in chats",
"ens-terms-header": "Terms of name registration",
@ -394,7 +394,7 @@
"ens-understand": "I understand that my wallet address will be publicly connected to my username.",
"ens-username": "ENS username",
"ens-username-available": "✓ Username available!",
"ens-username-connected": "This user name is owned by you and connected with your Chat key.",
"ens-username-connected": "This user name is owned by you and connected with your chat key.",
"ens-username-connection-confirmation": "{{username}} will be connected once the transaction is complete.",
"ens-username-hints": "At least 4 characters. Latin letters, numbers, and lowercase only.",
"ens-username-invalid": "Letters and numbers only.",
@ -418,10 +418,10 @@
"ens-your-username": "Your username",
"ens-your-usernames": "Your usernames",
"ens-your-your-name": "Your ENS name",
"ens-username-already-added": "Username is already connected with your key and can be used inside Status.",
"ens-username-already-added": "Username is already connected with your chat key and can be used inside Status.",
"ens-username-connected-continue": "Continue to set `Show my ENS username in chats`.",
"ens-username-connected-with-different-key": "Continuing will require a transaction to connect the username with your current key.",
"ens-username-owned-continue": "Continuing will connect this username with your key.",
"ens-username-connected-with-different-key": "Continuing will require a transaction to connect the username with your current chat key.",
"ens-username-owned-continue": "Continuing will connect this username with your chat key.",
"ens-username-taken": "Username already taken :(",
"enter-12-words": "Enter the 12 words of your seed phrase, separated by single spaces",
"enter-contact-code": "Enter ENS username or chat key",
@ -476,11 +476,11 @@
"gas-limit": "Gas limit",
"gas-price": "Gas price",
"gas-used": "Gas used",
"generate-a-key": "Generate a key",
"generate-a-new-account": "Generate a new key",
"generate-a-new-key": "Generate a new key",
"generate-account": "Generate key",
"generate-new-key": "Generate a new key",
"generate-a-key": "Generate keys",
"generate-a-new-account": "Generate keys",
"generate-a-new-key": "Generate keys",
"generate-account": "Generate keys",
"generate-new-key": "Generate keys",
"generating-codes-for-pairing": "> Downloading product software to card\n > Generating unlocking & pairing codes",
"generating-keys": "Generating keys...",
"you-will-need-this-code": "You'll need this code to open Status and sign transactions",
@ -539,16 +539,16 @@
"intro-title1": "Private, secure communication",
"intro-title2": "Secure crypto wallet",
"intro-title3": "Decentralized apps",
"intro-wizard-text1": "Your identity is secure by design. You get a locally generated cryptographic keypair",
"intro-wizard-text2": "This name is your identity in Status. It cant be changed once you choose one.",
"intro-wizard-text3": "Your key is stored locally. There is no copy. Only you have access.",
"intro-wizard-text4": "Secure and encrypt your key",
"intro-wizard-text1": "A set of keys controls your account. Your keys live on your phone, so only you can use them",
"intro-wizard-text2": "One key is for chat. It comes with a readable name that cant be changed.",
"intro-wizard-text3": "Own a Keycard? Store your keys on it; youll need it for transactions",
"intro-wizard-text4": "Secure and encrypt your keys",
"intro-wizard-text6": "Status will notify you about new messages. You can edit your notification preferences later in settings",
"intro-wizard-title-alt4": "Create a password",
"intro-wizard-title-alt5": "Confirm your password",
"intro-wizard-title1": "Get yourself a key first",
"intro-wizard-title2": "Choose a key and name",
"intro-wizard-title3": "Select key storage",
"intro-wizard-title1": "Get your keys",
"intro-wizard-title2": "Choose a chat name",
"intro-wizard-title3": "Choose key storage",
"intro-wizard-title4": "Create a 6-digit passcode",
"intro-wizard-title5": "Confirm the passcode",
"intro-wizard-title6": "Enable notifications",
@ -573,35 +573,35 @@
"keycard-blocked": "Keycard has been blocked.\nYou need to reset card to continue using it.",
"keycard-cancel-setup-text": "This will cancel keycard setup. It's highly recommended to finish the setup in order to use keycard. Do you really want to cancel?",
"keycard-cancel-setup-title": "Dangerous operation",
"keycard-desc": "Android only. You will need to get a Keycard first",
"keycard-desc": "Own a Keycard? Store your keys on it; youll need it for transactions",
"keycard-has-multiaccount-on-it": "This card has already an multiaccount on it. If you wish to change it, login first and reset your card. If you want to import keycard multiaccount, please use \"Add existing multiaccount\"",
"keycard-existing-multiaccount": "You can't recover this multiaccount because it's already on your phone",
"keycard-onboarding-finishing-header": "Finishing up",
"keycard-onboarding-intro-header": "Store your key on Keycard",
"keycard-onboarding-intro-header": "Store your keys on Keycard",
"keycard-onboarding-intro-text": "Get ready, this might take a few minutes, but it's important to secure your account",
"keycard-onboarding-pairing-header": "Pairing the card...",
"keycard-onboarding-preparing-header": "Preparing the card...",
"keycard-onboarding-puk-code-header": "Write codes down\n and store them securely",
"keycard-onboarding-recovery-phrase-description": "With this seed phrase you can always get your key back. Write the seed phrase down. Keep it safe, offline, and separate from this device.",
"keycard-onboarding-recovery-phrase-header": "Backup “Seed” phrase",
"keycard-onboarding-recovery-phrase-text": "For your eyes only. This is the magical seed used to generate your key.",
"keycard-onboarding-recovery-phrase-text": "For your eyes only. This is the magical seed used to generate your keys.",
"keycard-onboarding-start-header": "Hold card to the back\n of your phone to start",
"keycard-onboarding-start-step1": "Create a passcode",
"keycard-onboarding-start-step1-text": "Around 1 minute. Create a 6-digit passcode to encrypt your key",
"keycard-onboarding-start-step1-text": "Around 1 minute. Create a 6-digit passcode to encrypt your keys",
"keycard-onboarding-start-step2": "Write down PUK and the pairing code",
"keycard-onboarding-start-step2-text": "Around 1 minute. You are going to need a piece of paper and a pencil for that",
"keycard-onboarding-start-step3": "Back up the seed phrase",
"keycard-onboarding-start-step3-text": "Around 1 minute. Also a piece of paper and a pencil are necessary",
"keycard-onboarding-start-text": "And maintain card to phone contact\n during the setup. The setup will take around 4 minutes",
"keycard-recovery-intro-button-text": "Begin recovery",
"keycard-recovery-intro-header": "Recover a key stored on keycard",
"keycard-recovery-intro-text": "If you generated a key using a keycard before and now want to use this key on this device",
"keycard-recovery-intro-header": "Recover keys stored on keycard",
"keycard-recovery-intro-text": "If you generated keys using a keycard before and now want to use these keys on this device",
"keycard-recovery-no-key-header": "Theres nothing to \nrecover here",
"keycard-recovery-no-key-text": "Your Keycard has no key stored on it. In order to use it, generate a new key and choose your Keycard to store the key",
"keycard-recovery-no-key-text": "Your Keycard has no keys stored on it. In order to use it, generate new keys and choose your Keycard to store the keys",
"keycard-recovery-phrase-confirm-header": "Confirm “Seed” phrase",
"keycard-recovery-phrase-confirmation-text": "You cannot do this later. Without the seed phrase you will not be able to access your key or any assets associated with it if you loose your device.",
"keycard-recovery-phrase-confirmation-title": "Written the seed phrase down?",
"keycard-recovery-success-header": "Your key has been\n successfully recovered",
"keycard-recovery-success-header": "Your keys have been\n successfully recovered",
"keycard-unauthorized-operation": "You're unauthorized to perform this operation.\n Please tap valid card and try again.",
"language": "Language",
"learn-more": "Learn\u00a0more",
@ -779,7 +779,7 @@
"pairing-please-set-a-name": "Please set a name for your device.",
"passphrase": "Passphrase",
"password": "Password",
"password-description": "At least 6 characters. You'll need this password to open Status and confirm transactions",
"password-description": "At least 6 characters. Your password protects your keys. You need it to unlock Status and transact.",
"password-placeholder": "At least 6 characters",
"password-placeholder2": "Confirm your password",
"password_error1": "Passwords don't match.",
@ -802,7 +802,7 @@
"privacy": "Privacy",
"privacy-and-security": "Privacy and security",
"privacy-policy": "Privacy Policy",
"processing": "Processing",
"processing": "Just a moment",
"product-information": "Product Information",
"profile": "Profile",
"profile-details": "Profile details",
@ -816,10 +816,10 @@
"puk-code": "PUK code",
"puk-code-explanation": "If you forget your 6-digit passcode or enter it incorrectly 3 times, you'll need this code to unlock your card.",
"puk-mismatch": "PUK code does not match",
"qr-code-public-key-hint": "Share this code to start chatting",
"qr-code-public-key-hint": "Share this key to start chatting",
"quiet-days": "{{quiet-days}} days",
"quiet-hours": "{{quiet-hours}} hours",
"re-encrypt-key": "Re-encrypt your key",
"re-encrypt-key": "Re-encrypt your keys",
"ready-to-import-keycard-multiaccount": "We are ready to import keycard multiaccount",
"receive": "Receive",
"receive-transaction": "Receive transaction",
@ -829,19 +829,19 @@
"recipient": "Recipient",
"recipient-code": "Enter recipient address",
"recover": "Recover",
"recover-key": "Access key",
"recover-key": "Access existing keys",
"recover-keycard-multiaccount-not-supported": "Recovering keycard multiaccount with password is not supported",
"recover-multiaccount-warning": "Your wallet information will be exposed by importing this multiaccount.",
"recover-password-invalid": "This multiaccount already exists but passwords do not match",
"recover-password-too-short": "Password is too short",
"recover-with-keycard": "Recover with Keycard",
"recovering-key": "Accessing key...",
"recovering-key": "Accessing keys...",
"recovery-confirm-phrase": "Confirm seed phrase",
"recovery-phrase": "Seed phrase",
"recovery-phrase-invalid": "Seed phrase is invalid",
"recovery-phrase-unknown-words": "Some words might be misspelled",
"recovery-phrase-wrong-length": "Please make sure the seed phrase you enter has 12, 15, 18, 21, or 24 words.",
"recovery-success-text": "You will have to create a new code or password to re-encrypt your key",
"recovery-success-text": "You will have to create a new code or password to re-encrypt your keys",
"recovery-typo-dialog-description": "If you enter the wrong words, you will create a new multiaccount instead of recovering an old one.",
"recovery-typo-dialog-title": "Is the seed phrase correct?",
"remaining-steps": "Remaining steps",
@ -970,7 +970,7 @@
"testnet-text": "Youre on the {{testnet}} Testnet. Do not send real ETH or SNT to your address",
"text-input-disabled": "Please wait a moment...",
"this-device": "This device",
"this-device-desc": "Your key will be encrypted and securely stored",
"this-device-desc": "Your keys will be encrypted and securely stored on your device",
"this-is-you-signing": "This is your signing phrase",
"this-will-take-few-seconds": "This will take a few seconds",
"three-words-description": "You should see these 3 words before signing each transaction",