Skip to content

Webhook destination uses different timestamp between timestamp & signature headers #412

@alexluong

Description

@alexluong

Describe the bug
In the default implementation of the webhook destination, there are 2 headers (more but 2 relevant ones in this issue):

X-Outpost-Timestamp: 1748495228931
X-Outpost-Signature: t=1748495228,v0=de1fb18031714debc5a66a615fe98e99b61c1f8c570e87eec2d95508bd926475

You can see, in the signature, the default template includes the timestamp in Unix second. The timestamp on the other hand is Unix millisecond.

Also, in the signature (v0=....), by default, the first part of the signature is the timestamp in second too. I think we should use millisecond for that as well.

Expected behavior
I think these 2 should probably be the same, and ideally they should be Unix millisecond.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions