Skip to content

Latest commit

 

History

History
94 lines (54 loc) · 3.1 KB

CHANGELOG.md

File metadata and controls

94 lines (54 loc) · 3.1 KB

Changelog

0.3.1 - 2024-10-25

Changed

  • Rename KeyStateStore.get_ks to KeyStateStore.collect_key_state, adjust documentation and typespec

  • Add better handling of recovery:

    • KeyStateStore.maybe_update_key_state to return an error when a shorter KEL is supplied without recovery flag
    • add functions to KeySateCache module to handle recovery indication
  • Change AIDMonitor logic (introduction and state observer) to:

    • filter existing, already stored events at parsing stage
    • ignore shorter KELs for the associated (delegator) AIDs supplied in the witness response for the 'delegate' AIDS

Fixed

  • Handle new keys introduced in rotation events ( drt and rot) correctly.
    • Add test case based on Provenant's KEL to verify correct behavior

Added

  • Add livebook based demo for the Watcher functionality and adjust README.md accordingly.

  • Document relationship between TELs, VCs and KELs in a mermaid diagram.

0.3.0 - 2024-09-30

Changed

  • Move signature and SAID verification functions from Kerilex.KELParser to Kerilex.KELParser.Integrity module
  • Check existence of rpy endpoint messages based on url and not on its d field.

Added

  • Implement "Watcher" functionality.

    • AIDMonitor adds new AIDs to the monitoring list, based on an OOBI iurl
    • AIDMonitor.MasterSupervisor starts process tree to request new KEL and update KeyStateStore with new events and KeyState
  • Document "Watcher" design using C4-like notation

  • Implement "did:webs" did document generation functionality

    • DidWebsProducer generates JSON-encoded did:webs document based on KeyState

[0.2.1] - 2024-09-11

Changed

Added

  • Implement key state storage functionality (get_ks, maybe_update_ks)
  • Verify opts passed to LogsProcessor.process_kel

Fixed

  • Refactor LogsProcessor.process_kel for better code readability

0.2.0 - 2024-09-04

Added

  • Implement "out of order" processing of KELs. Useful for incremental KEL/events processing.

  • Add opts parameter to LogProcessor.process_kel to accept existing key states, which allows it to process KELs incrementally.

  • Implement Superseding Rotation recovery handling for rot events.

    Note: The current implementation will delete all events in the KEL that are coming after the recovery events. Need to handle ixns that might have "anchors" - either seals of ACDC credentials or delegate events (e.g. drt and dip).

  • Implement tests for LogsProcessor

Changed

  • Refactor LogsProcessor to rely on the KeyStateCache to ensure the order of the events and reduce amount of database lookups.
  • Rename %KeyState fields and add last_event.

Fixed

  • Make older tests work
  • Remove dependency on a local fork of blake3.

0.1.0 - 2024-08-09

The initial release