1
0
mirror of https://github.com/aziascreations/BakaShrot.git synced 2026-11-23 20:58:46 +01:00

Made bakashrot-cert write a certificate and its key both or neither, Refused a clock before 1970 at start, Noted the replication limits in the example config

- bakashrot-cert ca and issue write nothing when either file of the
  pair is there already, and remove the certificate again when its key
  can't be written.
- The server refuses to start with a clock before 1970 (pushed_at 0);
  set back that far while running isn't checked, noted in
  known-issues.md.
- The example config says to keep sync_interval under 5 min (idle links
  are closed) and what a replicated attachment can be resumed past
  (read back and hashed in 30 s). Both left as they are, why in
  known-issues.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 11:02:08 +01:00
parent 39ba7fce6c
commit 764bc3652a
7 changed files with 104 additions and 21 deletions
+4 -2
View File
@@ -106,8 +106,10 @@ bakashrot-cert show kitchen.crt
`--ca` (the folder of `ca.crt` / `ca.key`, `.` by default), `--out` (where
to write), `--days`, `--file` (the files' name when it isn't the node's:
another certificate of the same name, `--file server-1b`). Files are PEM. Nothing is ever written over an
existing certificate or key; keys are readable by their owner only on
another certificate of the same name, `--file server-1b`). Files are
PEM. Nothing is ever written over an existing certificate or key, and a
certificate and its key are written both or neither (one of them there
already: nothing written); keys are readable by their owner only on
Unix. `revoke` only takes certificates the CA issued.
## Tests