Repository navigation
docs: unpack bws and bw on disk, not in /run/nodkey-setup - #161
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #107
/runis a small tmpfs (on Debian, 10 % of the RAM). On a 1 GB host the standalonebwzip and the unpackedbwdo not fit there together. The downloads hold no secret, so section 5 now unpacks them in a private directory on disk (/root/bw-setup, mode 0700) and removes it after the install. Section 3 says that/run/nodkey-setupis for secrets only.The guide does not suggest
bw --version, so the third point of the issue (remove/root/.config/Bitwarden CLI) needs no text.Progress
bwandbwsin a private directory on disk, and removes it after the install./run/nodkey-setupis for secrets only./runis limited to 100 MB.Trial (2026-11-09)
docker run --rm --tmpfs /run:size=100m debian:13, as root, with curl and unzip:unzip bw-linux-2026.9.1.zip bwin/run/nodkey-setup):bw: write error (disk full?),bw is probably truncated./root/bw-setup:sha256sumprintsOKfor the bws zip, both install in/usr/local/bin(bw 142967059 bytes, bws 12359704 bytes), and/root/bw-setupis gone at the end.Reviews
unzipandinstallright aftersha256sum, before the reader compares the hash. Not fixed here, to keep this PR to docs: the standalone bw does not fit in /run/nodkey-setup on a small host #107.