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>
This commit is contained in:
1 parent
ffb67c9135
commit
53ca01b7c3
44 files changed
+5644
-12
No files matched your search
@@ -28,7 +28,14 @@ public sealed class DependencyPolicyTests
|
||||
/// Third-party packages pulled in by an authorised one. Each must also be listed in docs/API-NOTES.md
|
||||
/// and reported to the user (checked below). Microsoft.* and System.* ids are reserved to Microsoft on nuget.org.
|
||||
/// </summary>
|
||||
private static readonly HashSet<string> _knownThirdPartyTransitive = new(StringComparer.OrdinalIgnoreCase);
|
||||
private static readonly HashSet<string> _knownThirdPartyTransitive = new(StringComparer.OrdinalIgnoreCase)
|
||||
{
|
||||
// Native SQLite library and its loader, brought by Microsoft.Data.Sqlite (phase 1).
|
||||
"SQLitePCLRaw.bundle_e_sqlite3",
|
||||
"SQLitePCLRaw.core",
|
||||
"SQLitePCLRaw.lib.e_sqlite3",
|
||||
"SQLitePCLRaw.provider.e_sqlite3",
|
||||
};
|
||||
|
||||
private static readonly string[] _packageElements = ["PackageReference", "GlobalPackageReference", "PackageDownload"];
|
||||
|
||||
|
||||
Reference in new issue
Block a user