archive audit attempts

This commit is contained in:
master
2026-02-19 22:00:31 +02:00
parent c2f13fe588
commit b5829dce5c
19638 changed files with 6366 additions and 7 deletions

View File

@@ -0,0 +1,106 @@
# Audit - StellaOps.Cryptography.Plugin.Eidas
## Project
- Path: ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/StellaOps.Cryptography.Plugin.Eidas.csproj
- Module: ..
- Kind: Library
- Audit date (UTC): 2026-01-30
- Files scanned: 15
- Files with issues: 15
- 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: 12
- Namespace violations: 15
- 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.Plugin.Eidas/EidasPlugin.cs (518 lines)
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Tests/EtsiConformanceTestVectors.cs (190 lines)
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/CadesSignatureBuilder.cs (319 lines)
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/EidasTimestampingExtensions.cs (146 lines)
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/EuTrustListService.cs (406 lines)
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/ICadesSignatureBuilder.cs (211 lines)
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/IEuTrustListService.cs (182 lines)
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/IQualifiedTimestampVerifier.cs (215 lines)
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/ITimestampModeSelector.cs (104 lines)
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/QualifiedTimestampVerifier.cs (404 lines)
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/QualifiedTsaConfiguration.cs (258 lines)
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/TimestampModeSelector.cs (217 lines)
- Namespace issues:
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/EidasPlugin.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Eidas.AssemblyInfo.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Eidas.GlobalUsings.g.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Tests/EtsiConformanceTestVectors.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/CadesSignatureBuilder.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/EidasTimestampingExtensions.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/EuTrustListService.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/ICadesSignatureBuilder.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/IEuTrustListService.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/IQualifiedTimestampVerifier.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/ITimestampModeSelector.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/QualifiedTimestampVerifier.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/QualifiedTsaConfiguration.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/TimestampModeSelector.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.<Area>.
- Split files over 100 lines into smaller types or partials.
## File-Level Findings
- Status: FAIL
- Files scanned: 15
- Files with issues: 15
- See docs/implplan/audits/csproj-standards/file-audit.csv for full per-file status.
| File | Issues | Fix guidance |
| --- | --- | --- |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/EidasPlugin.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Eidas.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Eidas.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Tests/EtsiConformanceTestVectors.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/CadesSignatureBuilder.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/EidasTimestampingExtensions.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/EuTrustListService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/ICadesSignatureBuilder.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/IEuTrustListService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/IQualifiedTimestampVerifier.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/ITimestampModeSelector.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/QualifiedTimestampVerifier.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/QualifiedTsaConfiguration.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Eidas/Timestamping/TimestampModeSelector.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
## 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.

View File

@@ -0,0 +1,80 @@
# Audit - StellaOps.Cryptography.Plugin.Fips
## Project
- Path: ../src/Cryptography/StellaOps.Cryptography.Plugin.Fips/StellaOps.Cryptography.Plugin.Fips.csproj
- Module: ..
- Kind: Library
- Audit date (UTC): 2026-01-30
- Files scanned: 7
- Files with issues: 7
- 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: 1
- Namespace violations: 7
- 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.Plugin.Fips/FipsPlugin.cs (432 lines)
- Namespace issues:
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Fips/FipsPlugin.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Fips/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Fips/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Fips.AssemblyInfo.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Fips/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Fips.GlobalUsings.g.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Fips/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Fips/obj/Release/net10.0/StellaOps.Cryptography.Plugin.Fips.AssemblyInfo.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Fips/obj/Release/net10.0/StellaOps.Cryptography.Plugin.Fips.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.<Area>.
- Split files over 100 lines into smaller types or partials.
## File-Level Findings
- Status: FAIL
- Files scanned: 7
- Files with issues: 7
- See docs/implplan/audits/csproj-standards/file-audit.csv for full per-file status.
| File | Issues | Fix guidance |
| --- | --- | --- |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Fips/FipsPlugin.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Fips/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Fips/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Fips.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Fips/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Fips.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Fips/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Fips/obj/Release/net10.0/StellaOps.Cryptography.Plugin.Fips.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Fips/obj/Release/net10.0/StellaOps.Cryptography.Plugin.Fips.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
## Testing Fullness Findings
- Status: FAIL
- Expected layers (heuristic): Unit
- Detected test projects: none
- Missing layers: Unit
### 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
- Add or expand test projects to cover missing layers.
- Ensure tests use deterministic fixtures and offline harnesses.

View File

@@ -0,0 +1,80 @@
# Audit - StellaOps.Cryptography.Plugin.Gost
## Project
- Path: ../src/Cryptography/StellaOps.Cryptography.Plugin.Gost/StellaOps.Cryptography.Plugin.Gost.csproj
- Module: ..
- Kind: Library
- Audit date (UTC): 2026-01-30
- Files scanned: 7
- Files with issues: 7
- 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: 1
- Namespace violations: 7
- 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.Plugin.Gost/GostPlugin.cs (343 lines)
- Namespace issues:
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Gost/GostPlugin.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Gost/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Gost/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Gost.AssemblyInfo.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Gost/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Gost.GlobalUsings.g.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Gost/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Gost/obj/Release/net10.0/StellaOps.Cryptography.Plugin.Gost.AssemblyInfo.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Gost/obj/Release/net10.0/StellaOps.Cryptography.Plugin.Gost.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.<Area>.
- Split files over 100 lines into smaller types or partials.
## File-Level Findings
- Status: FAIL
- Files scanned: 7
- Files with issues: 7
- See docs/implplan/audits/csproj-standards/file-audit.csv for full per-file status.
| File | Issues | Fix guidance |
| --- | --- | --- |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Gost/GostPlugin.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Gost/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Gost/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Gost.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Gost/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Gost.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Gost/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Gost/obj/Release/net10.0/StellaOps.Cryptography.Plugin.Gost.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Gost/obj/Release/net10.0/StellaOps.Cryptography.Plugin.Gost.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
## Testing Fullness Findings
- Status: FAIL
- Expected layers (heuristic): Unit
- Detected test projects: none
- Missing layers: Unit
### 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
- Add or expand test projects to cover missing layers.
- Ensure tests use deterministic fixtures and offline harnesses.

View File

@@ -0,0 +1,82 @@
# Audit - StellaOps.Cryptography.Plugin.Hsm
## Project
- Path: ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/StellaOps.Cryptography.Plugin.Hsm.csproj
- Module: ..
- Kind: Library
- Audit date (UTC): 2026-01-30
- Files scanned: 8
- Files with issues: 8
- 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: 2
- Namespace violations: 8
- 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.Plugin.Hsm/HsmPlugin.cs (478 lines)
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/Pkcs11HsmClientImpl.cs (718 lines)
- Namespace issues:
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/HsmPlugin.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/Pkcs11HsmClientImpl.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Hsm.AssemblyInfo.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Hsm.GlobalUsings.g.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/obj/Release/net10.0/StellaOps.Cryptography.Plugin.Hsm.AssemblyInfo.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/obj/Release/net10.0/StellaOps.Cryptography.Plugin.Hsm.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.<Area>.
- Split files over 100 lines into smaller types or partials.
## File-Level Findings
- Status: FAIL
- Files scanned: 8
- Files with issues: 8
- See docs/implplan/audits/csproj-standards/file-audit.csv for full per-file status.
| File | Issues | Fix guidance |
| --- | --- | --- |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/HsmPlugin.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/Pkcs11HsmClientImpl.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Hsm.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Hsm.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/obj/Release/net10.0/StellaOps.Cryptography.Plugin.Hsm.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Hsm/obj/Release/net10.0/StellaOps.Cryptography.Plugin.Hsm.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
## 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.

View File

@@ -0,0 +1,80 @@
# Audit - StellaOps.Cryptography.Plugin.Sm
## Project
- Path: ../src/Cryptography/StellaOps.Cryptography.Plugin.Sm/StellaOps.Cryptography.Plugin.Sm.csproj
- Module: ..
- Kind: Library
- Audit date (UTC): 2026-01-30
- Files scanned: 7
- Files with issues: 7
- 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: 1
- Namespace violations: 7
- 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.Plugin.Sm/SmPlugin.cs (365 lines)
- Namespace issues:
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Sm/SmPlugin.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Sm/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Sm/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Sm.AssemblyInfo.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Sm/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Sm.GlobalUsings.g.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Sm/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Sm/obj/Release/net10.0/StellaOps.Cryptography.Plugin.Sm.AssemblyInfo.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin.Sm/obj/Release/net10.0/StellaOps.Cryptography.Plugin.Sm.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.<Area>.
- Split files over 100 lines into smaller types or partials.
## File-Level Findings
- Status: FAIL
- Files scanned: 7
- Files with issues: 7
- See docs/implplan/audits/csproj-standards/file-audit.csv for full per-file status.
| File | Issues | Fix guidance |
| --- | --- | --- |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Sm/SmPlugin.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Sm/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Sm/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Sm.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Sm/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.Sm.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Sm/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Sm/obj/Release/net10.0/StellaOps.Cryptography.Plugin.Sm.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin.Sm/obj/Release/net10.0/StellaOps.Cryptography.Plugin.Sm.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
## Testing Fullness Findings
- Status: FAIL
- Expected layers (heuristic): Unit
- Detected test projects: none
- Missing layers: Unit
### 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
- Add or expand test projects to cover missing layers.
- Ensure tests use deterministic fixtures and offline harnesses.

View File

@@ -0,0 +1,80 @@
# Audit - StellaOps.Cryptography.Plugin
## Project
- Path: ../src/Cryptography/StellaOps.Cryptography.Plugin/StellaOps.Cryptography.Plugin.csproj
- Module: ..
- Kind: Library
- Audit date (UTC): 2026-01-30
- Files scanned: 7
- Files with issues: 7
- 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: 1
- Namespace violations: 7
- 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.Plugin/CryptoPluginBase.cs (168 lines)
- Namespace issues:
- ../src/Cryptography/StellaOps.Cryptography.Plugin/CryptoPluginBase.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.AssemblyInfo.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.GlobalUsings.g.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin/obj/Release/net10.0/StellaOps.Cryptography.Plugin.AssemblyInfo.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Plugin/obj/Release/net10.0/StellaOps.Cryptography.Plugin.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.<Area>.
- Split files over 100 lines into smaller types or partials.
## File-Level Findings
- Status: FAIL
- Files scanned: 7
- Files with issues: 7
- See docs/implplan/audits/csproj-standards/file-audit.csv for full per-file status.
| File | Issues | Fix guidance |
| --- | --- | --- |
| ../src/Cryptography/StellaOps.Cryptography.Plugin/CryptoPluginBase.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography.Plugin/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin/obj/Debug/net10.0/StellaOps.Cryptography.Plugin.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin/obj/Release/net10.0/StellaOps.Cryptography.Plugin.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Plugin/obj/Release/net10.0/StellaOps.Cryptography.Plugin.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
## Testing Fullness Findings
- Status: FAIL
- Expected layers (heuristic): Unit
- Detected test projects: none
- Missing layers: Unit
### 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
- Add or expand test projects to cover missing layers.
- Ensure tests use deterministic fixtures and offline harnesses.

View File

@@ -0,0 +1,79 @@
# Audit - StellaOps.Cryptography.Profiles.Ecdsa
## Project
- Path: ../src/Cryptography/StellaOps.Cryptography.Profiles.Ecdsa/StellaOps.Cryptography.Profiles.Ecdsa.csproj
- Module: ..
- Kind: Library
- Audit date (UTC): 2026-01-30
- Files scanned: 7
- Files with issues: 7
- 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: 0
- Namespace violations: 7
- 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:
- none
- Namespace issues:
- ../src/Cryptography/StellaOps.Cryptography.Profiles.Ecdsa/EcdsaP256Signer.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Profiles.Ecdsa/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Profiles.Ecdsa/obj/Debug/net10.0/StellaOps.Cryptography.Profiles.Ecdsa.AssemblyInfo.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Profiles.Ecdsa/obj/Debug/net10.0/StellaOps.Cryptography.Profiles.Ecdsa.GlobalUsings.g.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Profiles.Ecdsa/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Profiles.Ecdsa/obj/Release/net10.0/StellaOps.Cryptography.Profiles.Ecdsa.AssemblyInfo.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Profiles.Ecdsa/obj/Release/net10.0/StellaOps.Cryptography.Profiles.Ecdsa.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.<Area>.
## File-Level Findings
- Status: FAIL
- Files scanned: 7
- Files with issues: 7
- See docs/implplan/audits/csproj-standards/file-audit.csv for full per-file status.
| File | Issues | Fix guidance |
| --- | --- | --- |
| ../src/Cryptography/StellaOps.Cryptography.Profiles.Ecdsa/EcdsaP256Signer.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Profiles.Ecdsa/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Profiles.Ecdsa/obj/Debug/net10.0/StellaOps.Cryptography.Profiles.Ecdsa.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Profiles.Ecdsa/obj/Debug/net10.0/StellaOps.Cryptography.Profiles.Ecdsa.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Profiles.Ecdsa/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Profiles.Ecdsa/obj/Release/net10.0/StellaOps.Cryptography.Profiles.Ecdsa.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Profiles.Ecdsa/obj/Release/net10.0/StellaOps.Cryptography.Profiles.Ecdsa.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
## Testing Fullness Findings
- Status: FAIL
- Expected layers (heuristic): Unit
- Detected test projects: none
- Missing layers: Unit
### 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
- Add or expand test projects to cover missing layers.
- Ensure tests use deterministic fixtures and offline harnesses.

View File

@@ -0,0 +1,81 @@
# Audit - StellaOps.Cryptography.Profiles.EdDsa
## Project
- Path: ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/StellaOps.Cryptography.Profiles.EdDsa.csproj
- Module: ..
- Kind: Library
- Audit date (UTC): 2026-01-30
- Files scanned: 8
- Files with issues: 8
- 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: 0
- Namespace violations: 8
- 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:
- none
- Namespace issues:
- ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/Ed25519Signer.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/Ed25519Verifier.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/obj/Debug/net10.0/StellaOps.Cryptography.Profiles.EdDsa.AssemblyInfo.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/obj/Debug/net10.0/StellaOps.Cryptography.Profiles.EdDsa.GlobalUsings.g.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/obj/Release/net10.0/StellaOps.Cryptography.Profiles.EdDsa.AssemblyInfo.cs: missing namespace
- ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/obj/Release/net10.0/StellaOps.Cryptography.Profiles.EdDsa.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.<Area>.
## File-Level Findings
- Status: FAIL
- Files scanned: 8
- Files with issues: 8
- See docs/implplan/audits/csproj-standards/file-audit.csv for full per-file status.
| File | Issues | Fix guidance |
| --- | --- | --- |
| ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/Ed25519Signer.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/Ed25519Verifier.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/obj/Debug/net10.0/StellaOps.Cryptography.Profiles.EdDsa.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/obj/Debug/net10.0/StellaOps.Cryptography.Profiles.EdDsa.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/obj/Release/net10.0/StellaOps.Cryptography.Profiles.EdDsa.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography.Profiles.EdDsa/obj/Release/net10.0/StellaOps.Cryptography.Profiles.EdDsa.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
## Testing Fullness Findings
- Status: FAIL
- Expected layers (heuristic): Unit
- Detected test projects: none
- Missing layers: Unit
### 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
- Add or expand test projects to cover missing layers.
- Ensure tests use deterministic fixtures and offline harnesses.

View File

@@ -0,0 +1,108 @@
# 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.<Area>.
- 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.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography/IContentVerifier.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography/MultiProfileSigner.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography/SignatureProfile.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/CeremonyAuthorizedRecoveryService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/GaloisField256.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/IEscrowAgentStore.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/IKeyEscrowService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/KeyEscrowModels.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/KeyEscrowService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography/KeyEscrow/ShamirSecretSharing.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/StellaOps.Cryptography/Models/MultiSignatureResult.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography/Models/Signature.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography/Models/SignatureResult.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography/Models/VerificationResult.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography/obj/Debug/net10.0/StellaOps.Cryptography.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/StellaOps.Cryptography/obj/Debug/net10.0/StellaOps.Cryptography.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
## 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.

View File

@@ -0,0 +1,97 @@
# Audit - StellaOps.Cryptography.Tests
## Project
- Path: ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/StellaOps.Cryptography.Tests.csproj
- Module: ..
- Kind: Library
- Audit date (UTC): 2026-01-30
- Files scanned: 13
- Files with issues: 13
- 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: 6
- Namespace violations: 13
- 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/__Tests/StellaOps.Cryptography.Tests/CryptographyModelTests.cs (318 lines)
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/ShamirSecretSharingTests.cs (385 lines)
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/Eidas/QualifiedTsaProviderTests.cs (289 lines)
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/Eidas/TimestampModeSelectorTests.cs (385 lines)
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/KeyEscrow/KeyEscrowRecoveryIntegrationTests.cs (531 lines)
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/KeyEscrow/KeyEscrowRecoveryIntegrationTests.Fixed.cs (183 lines)
- Namespace issues:
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/CryptographyModelTests.cs: missing namespace
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/ShamirSecretSharingTests.cs: missing namespace
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/Eidas/QualifiedTsaProviderTests.cs: missing namespace
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/Eidas/TimestampModeSelectorTests.cs: missing namespace
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/Hsm/Pkcs11HsmClientIntegrationTests.cs: missing namespace
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/Hsm/SoftHsmTestFixture.cs: missing namespace
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/KeyEscrow/KeyEscrowRecoveryIntegrationTests.cs: missing namespace
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/KeyEscrow/KeyEscrowRecoveryIntegrationTests.Fixed.cs: missing namespace
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/obj/Debug/net10.0/SelfRegisteredExtensions.cs: missing namespace
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/obj/Debug/net10.0/StellaOps.Cryptography.Tests.AssemblyInfo.cs: missing namespace
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/obj/Debug/net10.0/StellaOps.Cryptography.Tests.GlobalUsings.g.cs: missing namespace
- ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/obj/Debug/net10.0/XunitAutoGeneratedEntryPoint.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.<Area>.
- Split files over 100 lines into smaller types or partials.
## File-Level Findings
- Status: FAIL
- Files scanned: 13
- Files with issues: 13
- See docs/implplan/audits/csproj-standards/file-audit.csv for full per-file status.
| File | Issues | Fix guidance |
| --- | --- | --- |
| ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/CryptographyModelTests.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/ShamirSecretSharingTests.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/Eidas/QualifiedTsaProviderTests.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/Eidas/TimestampModeSelectorTests.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/Hsm/Pkcs11HsmClientIntegrationTests.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/Hsm/SoftHsmTestFixture.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/KeyEscrow/KeyEscrowRecoveryIntegrationTests.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/KeyEscrow/KeyEscrowRecoveryIntegrationTests.Fixed.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/obj/Debug/net10.0/SelfRegisteredExtensions.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/obj/Debug/net10.0/StellaOps.Cryptography.Tests.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/obj/Debug/net10.0/StellaOps.Cryptography.Tests.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Cryptography/__Tests/StellaOps.Cryptography.Tests/obj/Debug/net10.0/XunitAutoGeneratedEntryPoint.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
## Testing Fullness Findings
- Status: FAIL
- Expected layers (heuristic): Unit
- Detected test projects: none
- Missing layers: Unit
### 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
- Add or expand test projects to cover missing layers.
- Ensure tests use deterministic fixtures and offline harnesses.