Document completed transport installation and restricted access verification

This commit is contained in:
Nick Beckley 2026-11-25 20:25:34 +00:00
parent c93738ab00
commit d6123c6b64
6 changed files with 179 additions and 21 deletions

View File

@ -0,0 +1,62 @@
{
"tooling_source_commit": "8ee28075e920d037823dae8d29c0836ab0fc03d3",
"worker_source_commit": "15a9f96f",
"files": {
"tooling/activate.py": "7e494c7a861902ac77bd00a82eab1ed32ed80e593b4031ddf153d84dbb02a563",
"tooling/release.py": "10bff1f1c1579b5f8a3d4df8bf9c4ef8891d576f5c329fba5c169dfb77dcb8dd",
"tooling/transport.py": "66c5adf1eeaf28fa050d188e9c7607234116fa6bb5f289301a79ca58e3a3e601",
"tooling/receipt.py": "d92324e00862f773ef663332dedc0e061bb0561b5397e83728e05ce42c142d21",
"tooling/ssh_dispatch.py": "7d7f65306e3c72a332df318c5d8ad5690caa9e3d73a2cf907445d5dd4da406e3",
"tooling/deploy-plotdirector": "8c585376f0726446b9ed28bea0afa69f83c8205b1abdd63bd995a87c17fd4f02",
"worker/Microsoft.IdentityModel.Tokens.dll": "21c943ec715d8771c3a711ad78fc109adceac0e002f67a76f3bca33d195d0f5f",
"worker/Microsoft.IdentityModel.Abstractions.dll": "613fd94ff39ce6ff90666e062e93d5d5ea7fdeae93aaab2bf2cb6f5c87cea39d",
"worker/DatabaseWorker.dll": "98ff9b1454417a8dcd8fd101f49da970ae279d79817208ef881648420ffe4df5",
"worker/System.Configuration.ConfigurationManager.dll": "23a07c6bae940887065fbd1043a99edf86fea415b5f5c11b3cd0a9569c65c8ec",
"worker/System.Diagnostics.EventLog.dll": "751f99294da881633e0de535426496d8c792bc45716c3bf79d6d71c051148b57",
"worker/System.Security.Cryptography.Pkcs.dll": "6fd9ac565a32464c11b0ee1c3c0bc3d9abffcca27c31e22deac0b6f38b97be62",
"worker/Microsoft.Data.SqlClient.Internal.Logging.dll": "3663a9609f5bfb0048f55a65e0466ca019e6a770adc6600be3b8368620189c4b",
"worker/DatabaseWorker": "7d821448373664de00aee0c600a0a578ab67364ef74588bcf0896197ecd669c4",
"worker/DatabaseWorker.pdb": "9ca5a1dd98bf98f5ff81e81e487ae2205fcb0f54e2c93345b1efaf9efa4bf91c",
"worker/Microsoft.IdentityModel.Logging.dll": "b2b89896da6f307fe4c7fba033f4f629ce43b92cc6d28c7daa024a4e5cd68dbd",
"worker/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll": "f19f659e8533ad2b0d4650779231efd0e25247df72c127b57cfdbf186be8d256",
"worker/Microsoft.IdentityModel.JsonWebTokens.dll": "d1af130b42eaa6e8b5b45b0a48d286e7a282f2b67f5809aeb828aaa909d94891",
"worker/Microsoft.Bcl.Cryptography.dll": "b9b076648248645d7681f1a1b541d6534ea4a332d959df0c3b0c9e6c5c3780b2",
"worker/Microsoft.Extensions.DependencyInjection.Abstractions.dll": "7c97c4463fe0fc11d1f22f4d160b2bd2288981adf1de2717a6ff3fb993ddf294",
"worker/Microsoft.Extensions.Primitives.dll": "7090bd5f06714eb81a23389f95fe02683e6b3ec2fccb2316ff676798035bc905",
"worker/Microsoft.Data.SqlClient.dll": "5f8d9052d253f63cd3c667eb0f69d5a57141f3ede229870038ce1219f8667c37",
"worker/DatabaseWorker.runtimeconfig.json": "9950d4583cfc9a106857c0d5b8a75b53e8774852b57b80bc3823a74d44a4d87f",
"worker/DatabaseWorker.deps.json": "2d2a9f6fcf0db9061379c621c8776b728f8d6a74831938babe24b8ebd334cb6a",
"worker/Microsoft.Extensions.Caching.Memory.dll": "20582fb34b6b5f0be4f6c3f3a3ddd23a59192915b66555a6a58e25408d5e7c15",
"worker/Microsoft.IdentityModel.Protocols.dll": "647f131d0fd0a66802a80adc9cc38fe02aa2caf78d6f58796e758829541b16de",
"worker/Microsoft.SqlServer.Server.dll": "a9dca1b42bc875f966b78b2c0880e62b838f0ed6567166d7f1f07ae4b76ec4bf",
"worker/Microsoft.Extensions.Caching.Abstractions.dll": "fe351f3fa95ab8389efaf48452aed71f36484e8edbac4e9081036c9ff3b8943b",
"worker/System.Security.Cryptography.ProtectedData.dll": "2e9dc3858bab3ada3acb5565f89a724347286c6ed0b56897794de6e8216fd6c4",
"worker/Microsoft.Extensions.Options.dll": "07850a36bc3387a2e46375cc30dff0bd627f599dc5aa5f69c0e8195c5209eaff",
"worker/Microsoft.Extensions.Logging.Abstractions.dll": "a76a735b63e6ef3b0bf41ff92423cbd16103b8952e8306140a9bd650346034dc",
"worker/Microsoft.Data.SqlClient.Extensions.Abstractions.dll": "6c85afcc73a2069e8127fbe45fc2f2432c50cb9447436eba60605db0486b27d7",
"worker/System.IdentityModel.Tokens.Jwt.dll": "d6026966eb5304c2e3bdb3bc091a94d204dcb27696a61cdc89d1abf5259e24ca",
"worker/it/Microsoft.Data.SqlClient.resources.dll": "87c4f893135590079cc8679db8a3c310d9767ba7b1637a16c850c7a56244a90f",
"worker/ru/Microsoft.Data.SqlClient.resources.dll": "7511ae7ed542f171718efca0b2dcd34d67135c32b26dc0040866337cf5281c07",
"worker/ko/Microsoft.Data.SqlClient.resources.dll": "c262e5071cd59deaf344d69a4830a1e6a1e39901a513165c968433d162a43374",
"worker/zh-Hant/Microsoft.Data.SqlClient.resources.dll": "585df84c04bf6da65b683f2bf1d0f28a14c7c0ecce2a793050bede466ebaa7bd",
"worker/cs/Microsoft.Data.SqlClient.resources.dll": "9706747625000033052156701fb20db3d374d922283bbd1655c50967210db868",
"worker/zh-Hans/Microsoft.Data.SqlClient.resources.dll": "2c71dff17d55046bd9e63c4a52a013e09095181246db09a90d02a3ff1c9d1f16",
"worker/tr/Microsoft.Data.SqlClient.resources.dll": "e04031fbd3b67eb0e859f77525ffc08bd6db0753e862c25599b4bda81fdd5df4",
"worker/pt-BR/Microsoft.Data.SqlClient.resources.dll": "01d700e457eaf5ecfd9b9912f5f4e08eb1e943321c35fa6037c835328446ba24",
"worker/fr/Microsoft.Data.SqlClient.resources.dll": "03fc08a265275e16329477ab6f82279790bfb8bb1c1258cc12a173d9e6f1bcab",
"worker/es/Microsoft.Data.SqlClient.resources.dll": "bdee6375be7106415031cabc8423fdc4248061dea1be23812a0b51a712b7f2da",
"worker/ja/Microsoft.Data.SqlClient.resources.dll": "2665efc8f1975ba0b83351ced65d00d2345ed8f691279a944b6cde974aa42891",
"worker/pl/Microsoft.Data.SqlClient.resources.dll": "19e75674541f1cd02431f55811434b9388bf05a4a01a9677d5b59b5d783ffa97",
"worker/de/Microsoft.Data.SqlClient.resources.dll": "95de3b2f2a22bd5369852449354b31e24206348e551479b014fa55751fa8faa2",
"worker/runtimes/win/lib/net9.0/System.Diagnostics.EventLog.dll": "718d0bca6b6914556ca9b719904036a7bf6bac635ea97e535f44b09a67ee4972",
"worker/runtimes/win/lib/net9.0/System.Security.Cryptography.Pkcs.dll": "996b209db304f9b623a5dbae541d533401941ad6dadcd6c491e80c09aa0afe1b",
"worker/runtimes/win/lib/net9.0/System.Diagnostics.EventLog.Messages.dll": "8994b1e8a7164c8a27d6995fb79ceffbca01f3c32261486006e21eec2322d41a",
"worker/runtimes/win/lib/net9.0/Microsoft.Data.SqlClient.dll": "e863f6e12724f8445df1f5274e923f8ca60d76384a9e62bd07b1f6c2033a3bea",
"worker/runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll": "16efa76f220e23166a95873baaed43899191470c13848c944a679ff2bf5ac941",
"worker/runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll": "7e37c5bba3da06a955c122e3515b2980e2f1b8732ec0297f0a7e77e79b4de331",
"worker/runtimes/unix/lib/net9.0/Microsoft.Data.SqlClient.dll": "bc3c5df6d545fda6491f22bb628d10959e6434d3cf46ac88b3faa4dca422000c",
"worker/runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll": "73b61c3381e32613f59bbe3af7f58871c8cd486e04a9c0e71409f6a1972d6f84"
},
"application_release_must_remain": "eadda6f6",
"installation_performed": false
}

View File

@ -0,0 +1,10 @@
{
"temporary_atlas_key_removed": true,
"existing_administrator_keys_preserved": [
"SHA256:M+dfv1rvqPUaT9551dV+zFPQzddCE80+8c5Q4CU0ta4",
"SHA256:B+TZgbPAFcKcDpqT6cISYbT92VUtKD8muQmDjMJpiWQ"
],
"other_lines_preserved_byte_for_byte": true,
"administrator_reconnection_rejected": true,
"restricted_receipt_access_after_removal": "passed"
}

View File

@ -0,0 +1 @@
validated: plotdirector-production-eadda6f6-20261125-r1 v1.0.0 source=eadda6f674ac total=92.77s; backup=not-performed; migrations-executed=None; public-https=passed; receipt=local

View File

@ -0,0 +1,48 @@
{
"status": "verified-tooling-only",
"current": "/srv/plotdirector/releases/plotdirector-production-9b1770d9-20261125-r1/app",
"pid_before": "26493",
"pid_after": "26493",
"dll_sha256": "ed76eb4cd0c7b071c9f576b7857548ebb9b6b86b0752bc950e6689f45798f156",
"configuration_files_unchanged": 67,
"active_marker_unchanged": true,
"history_unchanged": true,
"migration_history": {
"expected": 320,
"recorded": 320,
"baselined": 210,
"executed": 110,
"successful_release_count": 3,
"latest_successful_release": {
"recorded": true,
"deployment_identifier": "20261125T200432Z-3c965a19faba",
"release_identifier": "plotdirector-production-9b1770d9-20261125-r1",
"application_version": "1.0.0",
"source_commit": "9b1770d96d17b7b2cc4f42efb936d822d20fe31e",
"package_sha256": "6364085972d74003410fc4cc0c008364e346bb18f832fdc1b282301f1089cbd3",
"manifest_sha256": "91feeace1299f356504ea83d33eb03c6084c9dfc20d727183ae573a405a4949f",
"activated_utc": "2026-11-25T20:04:45.5542194Z",
"activation_kind": "Deploy"
}
},
"receipt_id": "20261125T202311Z-621fb47a47f8",
"receipt_permissions": "root:plotdirector-deploy 0640; directory 0750",
"restricted_receipt_read": "passed",
"runtime_and_other_user_denial": "passed",
"unrestricted_sudo_denied": true,
"decoder_only_seconds_web1": 1.2085552829958033,
"original_tar_checksum_verified": true,
"https": {
"plotdirector": {
"status": 200,
"tls_verified": true
},
"catherine": {
"status": 200,
"tls_verified": true
}
},
"application_restart_performed": false,
"migrations_executed": 0,
"new_application_activation": false
}

View File

@ -7,9 +7,10 @@ future changes still require environment-specific authorisation and qualificatio
Latest routine release: `9b1770d9`, version `1.0.0`; see [deployment and verification](Routine-20261125-9b1770d9.md).
**Tooling update:** compressed transport/receipts are qualified on Atlas but await
the authorised web1 maintenance installation; see [qualification and status](Transport-20261125.md).
Use raw packages until that installation is verified.
**Tooling installed:** compressed transport, receipts and timing instrumentation are
installed and non-activating verified on web1; see [qualification and installation](Transport-20261125.md).
Use default Zstandard transport and the measured `deploy.py` workflow for future releases.
Legacy raw signed packages remain supported for recovery.
## Trust and environment boundaries

View File

@ -1,9 +1,10 @@
# Signed transport and receipt qualification — 25 November 2026
**Atlas implementation qualified; web1 tooling installation is pending temporary
administrator authorisation.** No Production application release was activated.
The active application remains eadda6f6; public HTTPS and Catherine HTTPS return
200, and Production CSS still exactly matches eadda6f6.
**Installed and non-activating verified on web1 on 25 November 2026.**
All 54 reviewed files match. Production remains 9b1770d9, PID 26493, with unchanged
DLL, current link, active marker and all 67 captured configuration file hashes.
No application release, restart, database backup or migration occurred. Both sites
pass normal public HTTPS validation.
The retained successful routine package is an uncompressed USTAR archive:
554260480 bytes / 528.58 MiB, SHA-256
@ -46,11 +47,13 @@ CPU consumption from 8.33 to 12.37 CPU seconds and peak RSS from 95.4 to 155.0 M
Level 3 compresses faster, but its larger output adds more transfer time overall.
Gzip also helps substantially, but is slower overall than the selected Zstandard.
Representative web1 decoder timing is **not yet measured**: the existing restricted
account intentionally cannot run arbitrary benchmark commands or install helpers,
and Atlas's temporary administrator key was removed at Phase 2 completion. No
attempt was made to circumvent this boundary. A retained staged compressed package
and installation procedure are ready for the authorised maintenance window.
Measured on web1 during installation verification: **1.209s decoder-only**, with
original tar SHA-256 verified separately; **1.520s instrumented decompression**,
including verifier integrity work. Actual compressed transfer was **79.445s at
1.988 MiB/s**. The complete existing-bundle transfer/validation/receipt/public
acceptance workflow took **92.767s**. This is not a genuine release activation.
Against the prior 280s raw transfer, observed transfer reduction is approximately
**200.6s** across separate runs.
Keeping other baseline timings unchanged, replacing transfer and bespoke reporting
suggests approximately **4.3 minutes** overall. The automated pipeline can reduce
@ -104,16 +107,49 @@ The common C# activation-record reader was checked against retained Test history
No full application/Companion suite, recovered-database restore or Production
migration was repeated. Only DatabaseWorker was published on Atlas.
## Pending installation and remaining opportunities
## Completed installation and verification
Temporary administrator authorisation for the existing dedicated Atlas key is
required solely to replace root-owned tooling/worker files and create the receipt
directory. The restricted account correctly cannot do this. Use the established
strict-host-key administrative maintenance procedure, keep other admin keys, and
remove only the temporary Atlas key after qualified installation/non-activating
checks. No permanent Atlas administrator access or expanded deployment sudo is
needed. See the standard's maintenance procedure. Do not stop/start the app, invoke
migrate/activate, or alter SQL/Nginx/SSH/Certbot/configuration during this installation.
The existing qualified worker output was reused without rebuilding the application
or repeating completed qualification. Installation held the deployment and upload
locks. Previous tooling and the raw incoming bundle are preserved root-private at
`/srv/backups/configuration/plotdirector-tooling-before-20261125T202018Z/`.
All 54 installed hashes match the reviewed inventory. Configuration, SQL permissions,
SSH/sudo rules, services and certificates were preserved.
The retained eadda6f6 signed package was compressed and uploaded without changing
its original tar/authorization/manifest bytes. Validation only passed signature,
checksum, archive, schema, immutable-history and active-work checks. The installed
verifier also accepted the retained legacy raw package. No activate/rollback/migrate
or service-control operation was invoked. Production continues running 9b1770d9.
Receipt `20261125T202311Z-621fb47a47f8` was retrieved through the restricted account.
It records unchanged 320 migration records (210 baselines / 110 historically executed),
three successful releases, latest source 9b1770d9, measured phase durations and
unattributed overhead. Unperformed backup/service/activation phases remain explicit;
their prior focused qualification stands until the next genuine release.
Receipt files are root:plotdirector-deploy 0640 in a 0750 directory. Transfer read
and read-only access passed; runtime/other-user read and transfer writes were denied.
Protected logs/migration credentials remain inaccessible to transfer, migration
credentials remain inaccessible to runtime, unrestricted sudo is denied, arbitrary
SSH commands and receipt path traversal are rejected. No privileges were expanded.
Installation checks paused on private-path traversal during the staged read-only
worker check. Staging moved to a separate root-owned traversable directory and the
worker received a non-secret manifest copy; backup permissions remained private.
An explicit receipt-directory chmod corrected umask reducing requested 0750 to 0700.
No database permissions were changed and no application operation occurred during
these pauses. Temporary staging was removed; recovery artifacts remain retained.
Only the temporary Atlas administrator key was removed after verification; both
existing administrator key lines were preserved byte-for-byte. New Atlas admin
SSH authentication is rejected; restricted receipt retrieval still works.
[Measured pipeline receipt](Evidence/Transport-20261125/Installed/web1-validation-receipt.json).
[Unchanged state and permission verification](Evidence/Transport-20261125/Installed/web1-verified.json).
The next genuine application release provides the definitive end-to-end performance
benchmark. The 3–5 minute target remains estimated, with 10 minutes the normal upper
target subject to safeguards.
Further reduction opportunity: Windows runtime directories alone occupy about
276 MiB. Other RIDs and native variants also contribute. A future qualified