Files
git.stella-ops.org/docs/implplan-blocked/audits/csproj-standards/Cryptography/StellaOps.Cryptography/StellaOps.Cryptography.md

2.6 KiB

Audit - StellaOps.Cryptography

Project

  • Path: src/Cryptography/StellaOps.Cryptography/StellaOps.Cryptography.csproj
  • Module: Cryptography
  • Kind: Service
  • SDK: Microsoft.NET.Sdk
  • TargetFramework: net10.0
  • Audit date (UTC): 2026-01-30

Coding Standards Findings

  • Status: FAIL
  • Nullable: enable
  • TreatWarningsAsErrors: explicit true
  • Deterministic: inherited true
  • 100-line rule violations: 8
  • Service locator usage (BuildServiceProvider/GetService): 0
  • Analyzer enforcement: missing repo-wide (see summary).

Details

  • 100-line files:
    • src/Cryptography/StellaOps.Cryptography/KeyEscrow/KeyEscrowService.cs (505 lines)
    • src/Cryptography/StellaOps.Cryptography/KeyEscrow/CeremonyAuthorizedRecoveryService.cs (384 lines)
    • src/Cryptography/StellaOps.Cryptography/KeyEscrow/GaloisField256.cs (260 lines)
    • src/Cryptography/StellaOps.Cryptography/KeyEscrow/KeyEscrowModels.cs (254 lines)
    • src/Cryptography/StellaOps.Cryptography/KeyEscrow/IEscrowAgentStore.cs (241 lines)
    • src/Cryptography/StellaOps.Cryptography/KeyEscrow/ShamirSecretSharing.cs (237 lines)
    • src/Cryptography/StellaOps.Cryptography/KeyEscrow/IKeyEscrowService.cs (207 lines)
    • src/Cryptography/StellaOps.Cryptography/MultiProfileSigner.cs (152 lines)
  • Service locator matches:
    • none

Fix Guidance

  • Split files over 100 lines into smaller types or partials.

Testing Fullness Findings

  • Status: PASS
  • Expected layers: Unit
  • Detected test projects: src/__Libraries/__Tests/StellaOps.Cryptography.Tests/StellaOps.Cryptography.Tests.csproj [Unit], src/__Libraries/__Tests/StellaOps.Cryptography.Plugin.OfflineVerification.Tests/StellaOps.Cryptography.Plugin.OfflineVerification.Tests.csproj [Offline], src/__Libraries/__Tests/StellaOps.Cryptography.Kms.Tests/StellaOps.Cryptography.Kms.Tests.csproj [Unit], src/Cryptography/__Tests/StellaOps.Cryptography.Tests/StellaOps.Cryptography.Tests.csproj [Unit], src/__Libraries/StellaOps.Cryptography.Tests/StellaOps.Cryptography.Tests.csproj [Unit], src/__Libraries/StellaOps.Cryptography.PluginLoader.Tests/StellaOps.Cryptography.PluginLoader.Tests.csproj [Unit], src/__Libraries/StellaOps.Cryptography.Plugin.SmSoft.Tests/StellaOps.Cryptography.Plugin.SmSoft.Tests.csproj [Unit], src/__Libraries/StellaOps.Cryptography.Plugin.SmRemote.Tests/StellaOps.Cryptography.Plugin.SmRemote.Tests.csproj [Unit], src/__Libraries/StellaOps.Cryptography.Plugin.EIDAS.Tests/StellaOps.Cryptography.Plugin.EIDAS.Tests.csproj [Unit]
  • Missing layers: none

Manual checks required

  • Observability contract tests for WebService/Worker.
  • Offline execution (tests must run without network access).

Fix Guidance

  • None.