Julian Fietkau on Nostr: npub19lt42…6qfjk Wait, you're comparing the Date header to the activity's ...
npub19lt4284mghqxekzm6n5njxurnxrxhqhrva2leusdsuu5ja5jeycq66qfjk (npub19lt…qfjk) Wait, you're comparing the Date header to the activity's "published" property? Is that recommended? I don't think there are restrictions on that duration, I've received hours old messages from congested servers.
What I compare (and what I believe Mastodon compares) is the difference between the signed message's Date header and my own server's time. The goal is to ensure the signature itself is current. There's less room for valid time differences there.
Published at
2024-03-17 20:44:01Event JSON
{
"id": "dd45cefb661c84811019b1fda9de4c9a293ea53fa81101d65e963d0ea52276a3",
"pubkey": "0ac8163abe84c30e16d1dde052f1e5773e962cc2211d6b5dc06e46bb3babaa8f",
"created_at": 1710708241,
"kind": 1,
"tags": [
[
"p",
"2fd7551ebb45c06cd85bd4e9391b8399866b82e36755fcf20d8739497692c930",
"wss://relay.mostr.pub"
],
[
"p",
"fddf487eea9db57a6e320f80e5cb63de50bedf539695a41c0d447be6c23643e1",
"wss://relay.mostr.pub"
],
[
"e",
"ec54e9092210732a4222c1fb54e2092bb72095b78f0db7aa6526b9d093121e5b",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://fietkau.social/users/julian/statuses/112112975285954039",
"activitypub"
]
],
"content": "nostr:npub19lt4284mghqxekzm6n5njxurnxrxhqhrva2leusdsuu5ja5jeycq66qfjk Wait, you're comparing the Date header to the activity's \"published\" property? Is that recommended? I don't think there are restrictions on that duration, I've received hours old messages from congested servers.\n\nWhat I compare (and what I believe Mastodon compares) is the difference between the signed message's Date header and my own server's time. The goal is to ensure the signature itself is current. There's less room for valid time differences there.",
"sig": "301c5235abe0b6ffc0df2dcf089674b137b4af3af4bc0c3a6ddd2128bfdd2c8a205a5af05a32c6b51f07ccd8145a91f0da110f9d9e42eeb11ac5540060dce13a"
}