rtime-nts 0.14.0

Network Time Security (NTS, RFC 8915): NTS-KE handshake, AEAD_AES_SIV_CMAC_256, and cookie handling for the rTime NTP daemon
Documentation

rtime-nts

crates.io docs.rs

Network Time Security (NTS, RFC 8915) for rTime, a high-performance NTP/PTP time synchronization daemon written in Rust.

NTS adds authentication and replay protection to NTPv4 without per-packet asymmetric crypto: a TLS 1.3 handshake (NTS-KE) establishes keys and issues opaque cookies, and each subsequent NTP exchange is protected with AEAD (AEAD_AES_SIV_CMAC_256).

Contents

Module Purpose
ke NTS-KE (key establishment) record exchange over TLS
records NTS-KE record framing and parsing
aead AEAD encryption/decryption of NTP extension fields
cookie Cookie issuance, storage, and rotation

Protocol constants (algorithm ids, ports, key lengths) and the crate error type NtsError are defined at the crate root.

License

Licensed under the MIT license.