feat: nip4e (#188)

* encryption keys

* .

* .

* move nip4e to device crate

* .

* .

* use i18n for device crate

* refactor

* refactor

* .

* add reset button

* send message with encryption keys

* clean up

* .

* choose signer

* fix

* update i18n

* fix sending
This commit is contained in:
reya
2025-10-26 18:10:40 +07:00
committed by GitHub
parent 83687e5448
commit 15bbe82a87
29 changed files with 1856 additions and 851 deletions

View File

@@ -59,6 +59,10 @@ common:
en: "Use default"
configure:
en: "Configure"
hide:
en: "Hide"
reset:
en: "Reset"
keyring_disable:
label:
@@ -74,6 +78,30 @@ keyring_disable:
body_5:
en: "By clicking continue, you agree to store your credentials as plain text."
pending_encryption:
label:
en: "Wait for Approval"
body_1:
en: "Please open %{c} and approve the request for sharing encryption keys. Without access to them, Coop cannot decrypt your messages that are encrypted with encryption keys."
body_2:
en: "Or you can click the 'Reset' button to reset the encryption keys."
body_3:
en: "By resetting the encryption keys, you will not be able to view your messages that were encrypted with the old encryption keys."
request_encryption:
label:
en: "Encryption Keys Request"
body:
en: "You've requested for the encryption keys from:"
encryption:
notice:
en: "Encryption keys are being generated"
success:
en: "Encryption keys have been successfully set up"
reinit:
en: "Encryption keys are being reinitialized"
auto_update:
updating:
en: "Installing the new update..."
@@ -381,6 +409,8 @@ chat:
en: "Sent Reports"
nip17_not_found:
en: "%{u} has not set up Messaging Relays, so they won't receive your message."
device_not_found:
en: "You're sending with an encryption key, but %{u} has not set up an encryption key yet. Try sending with your identity instead."
sidebar:
reload_menu: