1
0
mirror of https://github.com/aziascreations/BakaShrot.git synced 2026-11-23 20:58:46 +01:00
Files
aziascreations 5b41a06d0c Merged bakashrot-cert into bakashrot as bakashrot cert, Made the programs smaller, Added a -HybridCrt switch
- `bakashrot cert ca|issue|revoke|show` (same options) replaces
  bakashrot-cert: aws-lc, the C runtime and clap once, 2.53 MB instead
  of 2.85 + 1.73 MB on Windows; guides, docs, release.py, Docker updated
- The tool built with its own profile, release-tools (panic = "abort",
  about 15% smaller); the DLL and the server keep unwind
- clap without colours and suggestions (40 KB, 9 crates fewer)
- SQLite without FTS3/FTS5, R-Tree, dbstat, STAT4, soundex(), extension
  loading and column metadata (LIBSQLITE3_FLAGS): the server 4.68 to
  4.37 MB; a storage test checks they're out
- build.ps1 / release.ps1 -HybridCrt (.cargo/hybrid-crt.toml): the UCRT
  from Windows, about 180 KB less per program, still nothing to install;
  static stays the default, README.txt says which
- revamp.md: what was weighed and left (UPX, fully dynamic CRT, nightly
  options, OMIT_* flags), aws-lc kept over Graviola (490 KB bigger) and
  ring (no ML-KEM)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 21:13:58 +01:00

27 lines
1.7 KiB
Markdown

# BakaShrot - Guides
One server, one client that pushes (`node-sensor`), one that reads (`node-viewer`).
Commands are for `cmd`, run from the release's folder (`E:\BakaShrot`).
| Step | Guide | Result |
|------|-----------------------------------|--------------------------------------------------------------|
| 1 | [Certificates](1-certificates.md) | A CA, the server's and the nodes' certificates; revoking one |
| 2 | [Server](2-server.md) | `server.toml`, the port opened, the server running |
| 3 | [Client](3-client.md) | `client.toml` for each node |
| 4 | [Pushing](4-pushing.md) | Messages and attachments stored |
| 5 | [Reading](5-reading.md) | Messages listed, read, queried |
Who gets which files:
| Machine | Files |
|---------|---------------------------------------------------------------------------------------|
| admin | `bakashrot.exe` (its `cert` commands), `ca.crt`, `ca.key` (never copied) |
| server | `bakashrot-server.exe`, `ca.crt`, `server-lan1.crt`, `server-lan1.key`, `server.toml` |
| sensor | `bakashrot.exe`, `ca.crt`, `node-sensor.crt`, `node-sensor.key`, `client.toml` |
| viewer | `bakashrot.exe`, `ca.crt`, `node-viewer.crt`, `node-viewer.key`, `viewer.toml` |
More:
* `bakashrot <command> --help`, `bakashrot cert <command> --help`.
* Two replicating servers, Python, Docker: `docs/lab.md`.
* Every setting: `docs/config.md`.