protocol/atsam

Five layers. One security design.

ATSAM describes Raven’s pairing, private discovery, live peer confirmation, encrypted forwarding, and optional Vault Mode. This is a protocol overview; the supported terminal profile determines which parts are available.

implementation/status

Start with the build you run.

The Rust terminal path does not yet establish full post-quantum interoperability. Review the current profile, implementation limits, and conformance evidence before relying on a protocol feature.

Pair and verify from the terminal.

Peer setup and verification are performed from the Raven CLI. Use the command surface documented for the build you run.

existing Raven commands
raven contact add --help
raven contact verify --tag alice
raven status

The Alice tag must already identify a saved peer. Compare the public fingerprint through a trusted channel before pinning it. Node status does not imply that every ATSAM profile is available.

atsam/layer-01

Hybrid pairing

The ATSAM design combines X25519 with ML-KEM-768. Full post-quantum pairing is not established across the current Rust terminal path; check the implementation’s supported profile.

How to read this layer

Hybrid key agreement combines classical and post-quantum inputs through the specified derivation. Security depends on the combiner, implementation, peer authentication, randomness, and key handling. Algorithm selection alone does not establish deployment readiness.

atsam/layer-02

Private peer discovery

Paired Raven nodes can recognise authenticated discovery material without broadcasting a stable public identity. Local discovery depends on the carrier implementation.

How to read this layer

Discovery material allows a paired peer to recognise another node without advertising a permanent name or public key in every beacon. It is not a guarantee that a network observer cannot detect or correlate traffic.

atsam/layer-03

Live peer confirmation

Fresh challenge–response binds a presence check to the current exchange and helps reject replayed discovery material.

How to read this layer

A fresh exchange challenges the peer to prove possession of current authenticated state. Replay handling and freshness bounds must match the specification and the enabled transport.

atsam/layer-04

Encrypted forwarding

Routing tags and sealed envelopes let a relay forward protected payloads. Network observations, endpoint compromise, and traffic analysis remain separate concerns.

How to read this layer

The routing design uses protected payloads and rotating recipient tags. Relays forward opaque data under queue and expiry rules. The carrier can still expose timing and connectivity information.

atsam/layer-05

Optional Vault Mode

The protocol describes one-time-pad protection under strict conditions: secret random pads, sufficient length, secure distribution, and no reuse. This is not a blanket claim about the terminal build.

How to read this layer

One-time-pad secrecy requires truly random secret pad material at least as long as the message, secure distribution, and no pad reuse. Erasure, delivery, authentication, and endpoint compromise require separate controls.

protocol/evolution

Hybrid ratchet and signing work.

Post-quantum ratchet and hybrid-signature proposals have separate roles. A key agreement protects the establishment of a shared secret; a signature authenticates an assertion. A signing algorithm does not itself encrypt message content.

Hybrid ratchet profiles

Use the specified state transitions and conformance gates. A published draft or test vector does not mean a profile is enabled in the terminal release.

Identity continuity and recovery

Recovery and key rotation need explicit support in the selected implementation. A social-recovery design is not evidence that a lost terminal profile can be recovered automatically.

Transport independence

An RVN1 envelope can move through supported carriers without giving relays its decryption key. Bluetooth is one optional carrier; ATSAM is not a requirement to own Bluetooth hardware.

Keep the host under your control.

A compromised host is outside the confidentiality guarantees of endpoint encryption.

Host access control

Restrict operating-system access, protect the profile and supported credential store, apply software updates, and maintain physical custody.

Vault is a protocol capability

Vault Mode describes additional content protection under strict pad conditions. Host access control and local policy remain separate requirements; no graphical unlock workflow is implied.

source/reference

Review the exact definitions.

Use the protocol documents and implementation together. Test evidence must name the profile and path it covers.