gkrizek on Nostr: We were using the Rust Nostr SDK and it had an issue where it would remove the ...
We were using the Rust Nostr SDK and it had an issue where it would remove the trialing slash from a relay in a 9734 event. This would then fail verification because the signatures wouldn’t match.
w3irdrobot (npub17q5…6f2y) fixed either the SDK or the version we were using to not modify the values and now everything works!
Published at
2023-04-12 23:27:49Event JSON
{
"id": "f0d43497ee0df6792583817e46343e9cb98c0184b96f24d921428942eaf479a9",
"pubkey": "59831d35d475f26c806cc9603ef21012700f45874c4cff2c422791e4476373eb",
"created_at": 1681342069,
"kind": 1,
"tags": [
[
"e",
"3b71966c466a899d50645d8086a5b558263b11c46683c1dc494fe28d6f56e51e"
],
[
"e",
"b6f1decc856d2fb2ee093e46362587d356be662b998bad3a1b4e13dbbf1e84b7"
],
[
"p",
"30e1774aa44bc179740144eda42e93a844df96930eef547c89710f5758c71e9a"
],
[
"p",
"f0293508f3eb9e6fe99c2fd8ba69ff446216872a2d9f67979bfa4db8b3155806"
]
],
"content": "We were using the Rust Nostr SDK and it had an issue where it would remove the trialing slash from a relay in a 9734 event. This would then fail verification because the signatures wouldn’t match. #[3] fixed either the SDK or the version we were using to not modify the values and now everything works!",
"sig": "19630117d59cca35a49ab58d73262a65c478127d426a1f458c330e548e4454ce2c71ac1f9eb133c73256d513c0c6b328c03f36a6a312c6791fcab9d0dd64e739"
}