Skip to content

[feature] W3ID: Generate Rotation Log Entry #19

@sosweetham

Description

@sosweetham

Description

Implement the functionality to generate a new DID rotation log entry following the did:webvh JSON Lines format. This includes creating a new log entry with updated version details (version number and versionTime) and incorporating the pre-rotation parameters.

Reference

%%{init: {"theme": "default"}}%%
graph LR
    WI[W3ID Instance]
    RLE[Rotation Log Entry Generator]
    LE[New Log Entry]

    WI -->|Triggers rotation| RLE
    RLE -->|Creates new log entry with version info| LE
Loading

Acceptance Criteria

A log entry is generated on rotation with a new version identifier (e.g., “2-”).
The log entry includes proper JSON structure: versionTime, parameters (update keys and next key hashes), and state (DIDDoc data).
Automated tests confirm that the log entry output matches the expected format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions