Commit Graph
1 Commits
Author SHA1 Message Date
Lauri Ojansivu 611093e957 Fix CodeBleed: passwordless sign-in codes are long and short-lived enough not to be guessed.
A passwordless sign-in code was Meteor's default - 6 hex characters, 16.7
million values - valid for an hour. The account lockout counts failed
passwords, not codes, and the only limit was Meteor's per-connection rate
limit, which an attacker multiplies by opening connections: a thousand of them
gave about one chance in ten per code within its hour, for any account where
passwordless sign-in is enabled. Codes are now 10 characters (over a trillion
values) and live 15 minutes, which makes the same spray about one in three
million. The code field no longer asks for a numeric keyboard - a hex code has
letters - and takes the whole code.

Thanks to xet7 !
2026-10-02 11:12:03 +03:00