feat: container-based Bitwarden CLI using native Rust binary (no Node.js)
Replace the Node.js @bitwarden/cli dependency with the pre-compiled native Rust binary (v2026.7.0) for CMMC/ITAR/STIG audit readiness. The Node.js dependency tree was a significant attack surface that would fail security audits. Infrastructure: - docker/bw-native/Dockerfile: minimal debian-slim + native bw binary - scripts/bw-cli.sh: host wrapper handling full auth lifecycle (config, API-key login, unlock, sync) inside the container - scripts/bw-entrypoint.sh: container entrypoint for auth lifecycle - scripts/bw-install.sh: one-command installer (download, build, deploy) Root causes fixed: - ~/.config/bw/env values now single-quoted (master password has $ chars that shell expansion corrupted, truncating 32→16 chars) - Added BW_SERVER for self-hosted instance (pwvault.turnsys.com) - Entrypoint bw config server tolerates re-run (|| true) All scripts pass shellcheck with zero warnings including info-level. Verified: bw status (unlocked, coo@turnsys.com), generate, list items. 💘 Generated with Crush Assisted-by: Crush:glm-5.2
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
# WORKING.md — Active Session Tracker
|
||||
|
||||
Agent work only. User actions (deploy, review, UAT) are NOT tracked here.
|
||||
The human decides when the work is "done".
|
||||
|
||||
## Current Tasks
|
||||
|
||||
(none — all agent work is committed)
|
||||
|
||||
<!-- To track work, replace the line above with unchecked task lines
|
||||
(hyphen, space, open-bracket, space, close-bracket, space, text).
|
||||
Restore the "none" line before responding to the user. -->
|
||||
Reference in New Issue
Block a user