Fix #1377: NIP-46: It's not obvious to the end-user that optional secrets are not temporary

This commit is contained in:
Alexander Lopatin 2024-07-21 02:05:46 +08:00
parent 8b75d7be7c
commit 2e85b89bcb
No known key found for this signature in database
GPG Key ID: 44FB438EDA183EF0

2
46.md
View File

@ -28,7 +28,7 @@ The remote signer would provide a connection token in the form:
bunker://<remote-user-pubkey>?relay=<wss://relay-to-connect-on>&relay=<wss://another-relay-to-connect-on>&secret=<optional-secret-value> bunker://<remote-user-pubkey>?relay=<wss://relay-to-connect-on>&relay=<wss://another-relay-to-connect-on>&secret=<optional-secret-value>
``` ```
This token is pasted into the client by the user and the client then uses the details to connect to the remote signer via the specified relay(s). This token is pasted into the client by the user and the client then uses the details to connect to the remote signer via the specified relay(s). Optional secret can be used for single successfully established connection only, remote signer SHOULD ignore new attempts to establish connection with old secret key.
### Direct connection initiated by the client ### Direct connection initiated by the client