Files
git.stella-ops.org/docs/features/unchecked/cli/cli-offline-offline-poe-verification.md

1.6 KiB

CLI Offline Proof-of-Existence Verification

Module

Cli

Status

IMPLEMENTED

Description

CLI has offline proof-of-existence verification capability documented and implemented through evidence commands.

Implementation Details

  • PoE Commands: src/Cli/StellaOps.Cli/Commands/PoE/ExportCommand.cs -- proof-of-existence export
  • PoE Verify: src/Cli/StellaOps.Cli/Commands/PoE/VerifyCommand.cs -- proof-of-existence verification
  • Offline Command Group: src/Cli/StellaOps.Cli/Commands/OfflineCommandGroup.cs -- offline operations including PoE
  • Command Handlers: src/Cli/StellaOps.Cli/Commands/CommandHandlers.Offline.cs -- offline mode handlers
  • Offline Mode Guard: src/Cli/StellaOps.Cli/Services/OfflineModeGuard.cs -- enforces offline-only operations
  • Exit Codes: src/Cli/StellaOps.Cli/Commands/OfflineExitCodes.cs -- offline-specific exit codes
  • Documentation: src/Cli/OFFLINE_POE_VERIFICATION.md
  • Commands:
    • stella poe export <digest> -- export proof-of-existence bundle
    • stella poe verify <bundle> -- verify PoE bundle offline
    • stella offline verify -- offline verification mode

E2E Test Plan

  • Run stella poe export sha256:abc123 --output ./poe-bundle/ and verify bundle created with Rekor proofs
  • Run stella poe verify ./poe-bundle/ and verify offline PoE verification passes
  • Verify PoE verification works without network connectivity (air-gapped)
  • Verify tampered bundle fails verification with clear error message
  • Run stella offline verify <digest> and verify offline verification mode works
  • Verify exit codes follow OfflineExitCodes convention