mirror of
https://github.com/aziascreations/BakaShrot.git
synced 2026-11-23 20:58:46 +01:00
Added bench.ps1, Made a CRL file not there yet revoke nothing for clients too
- bench.ps1 runs the benchmarks (push_rate, replication_rate, compare_with_old) in release mode: -Only, -Sync full|normal. Plan step 13 done, every step of the plan is. - A CRL file named in client.toml that isn't there yet: nothing revoked (the tool, Python's from_file), as on the server, which now warns in its log. A path given to the DLL's SetCrl or Client(crl=...) stays a FileError. Decided in revamp.md, dropped from known-issues.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -77,9 +77,12 @@ connected, `peer_identity()` gives the other end's `Identity`.
|
||||
handshake, no new configuration needed. `Revocations::revokes()` tells
|
||||
the server which open connections to drop.
|
||||
- **Both ends check it:** `server_config()` and `client_config()` both take
|
||||
the revocations (`Revocations::none()` without a CRL). A server dialing
|
||||
its peer is the peer's client, with the same CRL: servers block each
|
||||
other, whichever end dials.
|
||||
the revocations (`Revocations::none()` without a CRL, or when the
|
||||
server's config or `client.toml` names a CRL file that isn't there
|
||||
yet: never blocking, the server warns in its log; a path given to
|
||||
the DLL is a `FileError`). A server dialing its peer is the peer's
|
||||
client, with the same CRL: servers block each other, whichever end
|
||||
dials.
|
||||
- **Revoking is by certificate, not by name:** each certificate has its own
|
||||
key and its own serial number (made from that key), so two of the same
|
||||
name (two servers named alike, a new one before the old one goes) are
|
||||
|
||||
Reference in New Issue
Block a user