# Audit - StellaOps.Cryptography ## Project - Path: ../src/Cryptography/StellaOps.Cryptography/StellaOps.Cryptography.csproj - Module: .. - Kind: Library - Audit date (UTC): 2026-01-30 - Files scanned: 18 - Files with issues: 18 - File-level report: docs/implplan/audits/csproj-standards/file-audit.csv ## Coding Standards Findings - Status: FAIL - Nullable: enable - TreatWarningsAsErrors: explicit true - Deterministic: inherited true - 100-line rule violations: 8 - Namespace violations: 18 - Using directive violations: 0 - Naming violations (interfaces/fields/const/async): 0 - Service locator usage (BuildServiceProvider/GetService): 0 - Assembly.LoadFrom usage: 0 ### Details - 100-line files: - ../src/Cryptography/StellaOps.Cryptography/MultiProfileSigner.cs (153 lines) - ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/CeremonyAuthorizedRecoveryService.cs (385 lines) - ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/GaloisField256.cs (261 lines) - ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/IEscrowAgentStore.cs (242 lines) - ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/IKeyEscrowService.cs (208 lines) - ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/KeyEscrowModels.cs (255 lines) - ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/KeyEscrowService.cs (506 lines) - ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/ShamirSecretSharing.cs (238 lines) - Namespace issues: - ../src/Cryptography/StellaOps.Cryptography/IContentSigner.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/IContentVerifier.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/MultiProfileSigner.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/SignatureProfile.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/CeremonyAuthorizedRecoveryService.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/GaloisField256.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/IEscrowAgentStore.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/IKeyEscrowService.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/KeyEscrowModels.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/KeyEscrowService.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/ShamirSecretSharing.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/Models/MultiSignatureResult.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/Models/Signature.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/Models/SignatureResult.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/Models/VerificationResult.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/obj/Debug/net10.0/StellaOps.Cryptography.AssemblyInfo.cs: missing namespace - ../src/Cryptography/StellaOps.Cryptography/obj/Debug/net10.0/StellaOps.Cryptography.GlobalUsings.g.cs: missing namespace - Using directive issues: - none - Naming issues: - none - Async issues: - none - Service locator matches: - none - Assembly.LoadFrom matches: - none ### Fix Guidance - Normalize namespaces to file-scoped StellaOps.. - Split files over 100 lines into smaller types or partials. ## File-Level Findings - Status: FAIL - Files scanned: 18 - Files with issues: 18 - See docs/implplan/audits/csproj-standards/file-audit.csv for full per-file status. | File | Issues | Fix guidance | | --- | --- | --- | | ../src/Cryptography/StellaOps.Cryptography/IContentSigner.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.; | | ../src/Cryptography/StellaOps.Cryptography/IContentVerifier.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.; | | ../src/Cryptography/StellaOps.Cryptography/MultiProfileSigner.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.;; Split file to stay <= 100 lines. | | ../src/Cryptography/StellaOps.Cryptography/SignatureProfile.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.; | | ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/CeremonyAuthorizedRecoveryService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.;; Split file to stay <= 100 lines. | | ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/GaloisField256.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.;; Split file to stay <= 100 lines. | | ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/IEscrowAgentStore.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.;; Split file to stay <= 100 lines. | | ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/IKeyEscrowService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.;; Split file to stay <= 100 lines. | | ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/KeyEscrowModels.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.;; Split file to stay <= 100 lines. | | ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/KeyEscrowService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.;; Split file to stay <= 100 lines. | | ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/ShamirSecretSharing.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.;; Split file to stay <= 100 lines. | | ../src/Cryptography/StellaOps.Cryptography/Models/MultiSignatureResult.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.; | | ../src/Cryptography/StellaOps.Cryptography/Models/Signature.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.; | | ../src/Cryptography/StellaOps.Cryptography/Models/SignatureResult.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.; | | ../src/Cryptography/StellaOps.Cryptography/Models/VerificationResult.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.; | | ../src/Cryptography/StellaOps.Cryptography/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.; | | ../src/Cryptography/StellaOps.Cryptography/obj/Debug/net10.0/StellaOps.Cryptography.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.; | | ../src/Cryptography/StellaOps.Cryptography/obj/Debug/net10.0/StellaOps.Cryptography.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.; | ## Testing Fullness Findings - Status: PASS - Expected layers (heuristic): Unit - Detected test projects: ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/StellaOps.Cryptography.Tests.csproj [Unit] - Missing layers: none ### Manual checks required - Observability contract tests for WebService/Worker. - Intent tags for regulatory modules (Policy, Authority, Signer, Attestor, EvidenceLocker). - Offline execution (tests must run without network access). - Coverage matrix alignment (docs/technical/testing/TEST_COVERAGE_MATRIX.md). ### Fix Guidance - None.