Merge pull request #43 from arche-dev/Import_Keys

Clarify text in "Import E2E room keys" section
This commit is contained in:
Ajay Bura 2021-08-07 17:08:38 +05:30 committed by GitHub
commit 39b84a083d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -91,7 +91,7 @@ function ImportE2ERoomKeys() {
</div> </div>
)} )}
{keyFile === null && <Button onClick={() => inputRef.current.click()}>Import keys</Button>} {keyFile === null && <Button onClick={() => inputRef.current.click()}>Import keys</Button>}
<Input forwardRef={passwordRef} type="password" placeholder="password" required /> <Input forwardRef={passwordRef} type="password" placeholder="Password" required />
<Button disabled={isImporting} variant="primary" type="submit">Decrypt</Button> <Button disabled={isImporting} variant="primary" type="submit">Decrypt</Button>
</form> </form>
{ isImporting && status !== null && ( { isImporting && status !== null && (

View file

@ -54,7 +54,7 @@ function SecuritySection() {
title="Import E2E room keys" title="Import E2E room keys"
content={( content={(
<> <>
<Text variant="b3">{'To decrypt older messages, Export E2EE room keys from Element (Settings > Security & Privacy > Encryption > Cryptography) and import them here. Imported keys are also encrypted so you have to enter account password.'}</Text> <Text variant="b3">{'To decrypt older messages, Export E2EE room keys from Element (Settings > Security & Privacy > Encryption > Cryptography) and import them here. Imported keys are encrypted so you\'ll have to enter the password you set in order to decrypt it.'}</Text>
<ImportE2ERoomKeys /> <ImportE2ERoomKeys />
</> </>
)} )}