Separate parsing and privilege
Network parsing runs in restricted, unprivileged workers. A privileged broker retains host keys and independently verifies user authorization. A worker cannot authorize itself.
/etc/psh/security
The required cryptographic profile, process boundaries, and limits of the current implementation.
psh is a new protocol and implementation. Internal tests and reviews do not establish production readiness, an external security audit, or a formal protocol proof. Strong individual primitives do not prove the security of the whole system.
The required profile
There is no classical-only or legacy fallback. Both endpoints must implement psh/3 and use complete paired identities.
ALPN psh/3. Tickets, resumption, early data, and compression are disabled.
The mandatory hybrid group combines classical and post-quantum key agreement.
Both components are required. This is a connection-bound psh construction, not a native composite TLS signature.
The OpenSSL DTLS implementation supplies authenticated encryption and the HKDF-SHA-256 key schedule.
Cryptographic primitives come from the vendored library. psh does not implement its own encryption primitives.
Trust, in order
A possession proof identifies a key. Independently verified fingerprints or trusted provisioning establish whether that key belongs to your host.
Complete the mandatory hybrid DTLS exchange.
Validate the connection-bound host proof and accept the complete-pair pin.
The broker independently authorizes the pair and verifies both user signatures.
Run the requested shell or command as the authorized non-root account.
System boundaries
Network parsing runs in restricted, unprivileged workers. A privileged broker retains host keys and independently verifies user authorization. A worker cannot authorize itself.
A new client address is a candidate, not an immediate replacement. The worker promotes it only after an encrypted challenge and matching return-path response.
Datagrams, queues, sessions, authentication attempts, and timers are bounded. The current limits include 64 total connections and 16 pending authentications.
Paired private files require restrictive ownership and permissions. Interactive client keys can use a local passphrase. Unattended host keys are unencrypted and root-owned.
Compatibility & limitations
psh is its own protocol. It has no SSH wire compatibility and does not claim overall security equivalence to OpenSSH or whole-protocol NIST category 5 / CNSA compliance.
Current test instructions, historical results, protocol details, and implementation rationale are available in the documentation. Dated results apply to their recorded revision.