pub fn local_credentials() -> PeerCredentialsExpand description
Get the current process’s real credentials (PID + UID).
Used to construct the local side of the Noise prologue. Both sides of the handshake must agree on each other’s PID/UID for the prologue to match.