Phase 1 foundations in the Anubis library: - Platform: startup configuration from environment variables (Docker) or config.toml (desktop, in-house TOML subset), data folder layout, secret key custody (ANUBIS_SECRET_KEY, DPAPI on Windows, restricted file elsewhere), installation identity and database fingerprint. - Db: ADO.NET with Npgsql and Microsoft.Data.Sqlite, money as NUMERIC(38,18) or canonical text rounded to 18 decimals, UTC moments, UUIDv7 ids; numbered SQL migrations with type tokens and a version table; engine-independent export/import with count and accounting-total checks; backups keeping 14. - Core: injectable clock, channel event bus, scheduler with fixed, interval and market-relative times, settings with change log, AES-GCM secrets, log redaction, Italian formats. - Access: PBKDF2-SHA512 hashes, RFC 6238 TOTP, hashed session tokens, sign-in attempt limit. SQLitePCLRaw (Apache-2.0) arrives with Microsoft.Data.Sqlite and is declared in DependencyPolicyTests and API-NOTES. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
939 B
XML
20 lines
939 B
XML
<Project>
|
|
<!--
|
|
The only NuGet packages Anubis may use (ADR 0004). Adding a line here needs the user's
|
|
permission first and a new ADR. DependencyPolicyTests fails on anything not allowed.
|
|
-->
|
|
<ItemGroup>
|
|
<!-- MSTest through its base packages, without the coverage extension (ADR 0006). -->
|
|
<PackageVersion Include="MSTest.TestFramework" Version="4.5.2" />
|
|
<PackageVersion Include="MSTest.TestAdapter" Version="4.5.2" />
|
|
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.11.0" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<!-- Databases (ADR 0003): ADO.NET drivers for PostgreSQL and SQLite. -->
|
|
<PackageVersion Include="Npgsql" Version="10.0.3" />
|
|
<PackageVersion Include="Microsoft.Data.Sqlite" Version="10.0.14" />
|
|
<!-- Desktop secret key on Windows (DPAPI, SPEC 15.6). -->
|
|
<PackageVersion Include="System.Security.Cryptography.ProtectedData" Version="10.0.14" />
|
|
</ItemGroup>
|
|
</Project>
|