Merge pull request #43 from arche-dev/Import_Keys
Clarify text in "Import E2E room keys" section
This commit is contained in:
commit
39b84a083d
2 changed files with 2 additions and 2 deletions
|
@ -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 && (
|
||||||
|
|
|
@ -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 />
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue