Julian Fietkau on Nostr: npub19lt42…6qfjk Okay, but Mastodon's signatures don't have a "created" signature ...
npub19lt4284mghqxekzm6n5njxurnxrxhqhrva2leusdsuu5ja5jeycq66qfjk (npub19lt…qfjk) Okay, but Mastodon's signatures don't have a "created" signature parameter, right? I don't remember ever seeing one. Is this one of those things where Mastodon's signatures differ from the RFC?
Looking at your code now, I see you're checking both differences: between signature date and current local time, as well as between signature date and "published" property. I think the latter will keep causing problems. Multi-hour differences are not especially rare in my experience.
Published at
2024-03-17 20:59:44Event JSON
{
"id": "481ac5c3c505326899883f1664a247afd502560719c23ff795f7f6d281d085c7",
"pubkey": "0ac8163abe84c30e16d1dde052f1e5773e962cc2211d6b5dc06e46bb3babaa8f",
"created_at": 1710709184,
"kind": 1,
"tags": [
[
"p",
"2fd7551ebb45c06cd85bd4e9391b8399866b82e36755fcf20d8739497692c930",
"wss://relay.mostr.pub"
],
[
"p",
"fddf487eea9db57a6e320f80e5cb63de50bedf539695a41c0d447be6c23643e1",
"wss://relay.mostr.pub"
],
[
"e",
"67b7476d7306674aa57546711738d44f535f13e74223653faa9e639adcabb856",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://fietkau.social/users/julian/statuses/112113037137284929",
"activitypub"
]
],
"content": "nostr:npub19lt4284mghqxekzm6n5njxurnxrxhqhrva2leusdsuu5ja5jeycq66qfjk Okay, but Mastodon's signatures don't have a \"created\" signature parameter, right? I don't remember ever seeing one. Is this one of those things where Mastodon's signatures differ from the RFC?\n\nLooking at your code now, I see you're checking both differences: between signature date and current local time, as well as between signature date and \"published\" property. I think the latter will keep causing problems. Multi-hour differences are not especially rare in my experience.",
"sig": "3484a2278bde3f42f0603e01ccd6924d8ceb826bd19354d91d70718ef31180fb1fa350bed89b396a98da20ee2a54ccaeb2d88b52995dc230ba19ed701b4b01a9"
}