You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace PIN byte formula with lookup table (PIN_BYTES) that keeps
max per-value bias below 1% for all digit counts. Previously 7-digit
PINs had ~40% bias (some values 2x as likely); now all are <1%.
Add "pair\0" prefix to directional pair HMAC input, cryptographically
isolating it from identity-bound derivation. Previously
deriveDirectionalPair(s, "ns", ["role", ...], c) produced the same
token as deriveTokenBytes(s, "ns", c, "role").
Reject whitespace-only context strings, namespace, and roles.
Document identity collision risk in verifyToken JSDoc for low-entropy
encodings (single word + many identities).