Unverified Commit ccf4dba1 authored by Hong Minhee's avatar Hong Minhee
Browse files

Document httpSignaturesKeyId as optional

The key ID is only available when HTTP signature verification was performed.

https://github.com/fedify-dev/fedify/pull/502#discussion_r2642988509
parent 4e1e573c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -518,7 +518,8 @@ Each `TraceActivityRecord` contains:
 -  `signatureDetails`: Detailed signature verification information
    (for inbound activities), containing:
     -  `httpSignaturesVerified`: Whether HTTP Signatures were verified
     -  `httpSignaturesKeyId`: The key ID used for HTTP signature verification
     -  `httpSignaturesKeyId` (optional): The key ID used for HTTP signature
        verification, if available
     -  `ldSignaturesVerified`: Whether Linked Data Signatures were verified
 -  `timestamp`: ISO 8601 timestamp
 -  `inboxUrl`: The target inbox URL (for outbound activities)