dave on Nostr: In order to verify the NPUB1 key, you must have access to the corresponding NSEC1 ...
In order to verify the NPUB1 key, you must have access to the corresponding NSEC1 key. You can then use the Diffie–Hellman Key Exchange equation to generate a new NPUB1 key using both the NPUB1 and NSEC1 keys. If the newly generated NPUB1 key matches the original, then the key is verified.
Published at
2023-02-10 10:07:56Event JSON
{
"id": "96b7ab984f59ccd17c4493e5d6d26080207f8e1f6a5525bdde082f8639dcc3b1",
"pubkey": "5c10ed0678805156d39ef1ef6d46110fe1e7e590ae04986ccf48ba1299cb53e2",
"created_at": 1676023676,
"kind": 1,
"tags": [
[
"e",
"398fe1d0b193f309a16af4b8095dbdb4b6fb4daec1cbb0e9f5bdc2f7aee46f78",
"",
"root"
],
[
"e",
"6b3f742310947b229ac2896d6d29f54c4b2344d73c46101f7c5d64a0607d5d14",
"",
"reply"
],
[
"p",
"d261c3ffcb3531d7975f35e795380e5be9f215fe9eb29729342ac92f8d979e4b"
]
],
"content": "In order to verify the NPUB1 key, you must have access to the corresponding NSEC1 key. You can then use the Diffie–Hellman Key Exchange equation to generate a new NPUB1 key using both the NPUB1 and NSEC1 keys. If the newly generated NPUB1 key matches the original, then the key is verified.",
"sig": "ed63744e83215e61a3c7b0f96b1a8ccaa5612bafd6783bd89f34da7515e9a35a91f138d27c6826b10e73fce6bab562d5a625357f7cbff504a13baf2ecc99046b"
}