mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
core/auth (phase 0, S2): ParseRoleFile/LoadRoleFile (sha256:<hex> role id), an Authenticator whose table swaps atomically (a failed reload keeps the previous table), and PeerIdentity: the leaf certificate the TLS handshake verified to the client CA, its fingerprint bound to a role and id, CN equal to that id, not expired on the master's clock; every failure is UNAUTHENTICATED. authtest issues test CAs and certificates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>