Skip to content

v0.3.3

Latest

Choose a tag to compare

@mushrowan mushrowan released this 25 Feb 08:09
· 53 commits to main since this release

security fixes

  • machine key validation on all handlers - all handlers that look up nodes by node_key now verify the Noise session's machine key matches the node's stored machine key. prevents a compromised client from spoofing requests for other nodes
  • key material redacted from logs - custom Debug impls on MachineKey, NodeKey, DiscoKey show only a short prefix. removed request body logging from register error path

improvements

  • NodeName newtype for Node.given_name - enforces DNS label validity at the type level instead of sanitise-then-unwrap
  • test persona rename - alice→alicja, bob→ro, charlie→esme, eve→valerie, robert→reese
  • validate_machine_key unit tests - covers matching key, mismatched key, and absent context