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
{{ message }}
Repository navigation
mint_token lacks encryption/auth and is forgeable #2334
I noticed that the current mint_token implementation is unencrypted and unauthenticated. This makes the tokens easily forgeable by attackers and exposes client IPs in plaintext.
Due to these security risks, this feature essentially cannot be enabled in real-world production environments (such as Cloudflare's own live websites).
Could you share your considerations regarding this design? Are there plans to provide a secure, production-ready implementation in the future?
Furthermore, the example mint_token functions include this reinforcing text:
/// Note that this function is only an example and doesn't do any cryptographic
/// authenticate of the token. *It should not be used in production system*.
Production server need to implement their own schemes for Retry token.
Closing as answered. As LPardue noted, the example servers and their mint_token() helpers are not intended for production, per the README's disclaimer. Production servers need to issue their own authenticated and encrypted tokens.
Activity
LPardue commentedon Jan 30, 2026
Hi,
The example servers in this project are not intended to be used in production environments; no performance, security or reliability guarantees are provided, per https://github.com/cloudflare/quiche?tab=readme-ov-file#disclaimers-and-notes
Furthermore, the example mint_token functions include this reinforcing text:
Production server need to implement their own schemes for Retry token.
Finally, security-related matters should be reported in line with the policy at https://github.com/cloudflare/quiche/security/policy
ghedo commentedon Nov 25, 2026
Closing as answered. As LPardue noted, the example servers and their
mint_token()helpers are not intended for production, per the README's disclaimer. Production servers need to issue their own authenticated and encrypted tokens.