Expand description
The paired-device side of the viewer: an HTTPS client that accepts exactly
one certificate, by the fingerprint the pairing link carried
(cert::fingerprint), the way a paired phone does. Used by Tower to read
another AgentMux machine’s processes (backend::tower::peers).
Nothing about the certificate is trusted but its fingerprint: no chain, no name, no expiry. The TLS handshake signatures are still verified, so the peer must hold the certificate’s private key.
Structs§
- Pinned
- Accepts the one certificate whose fingerprint is
.0.
Functions§
- pinned_
client - An HTTPS client that talks only to the server holding the certificate
with
fingerprint. - pinned_
stream_ client - The same, for a stream that stays open (a conversation feed): no limit on the whole request, but on connecting
and on each wait for more of the stream (
read, longer than the host’s heartbeat).