ცხოვრება მკითხველის სტატია

What password batume.li accepts, and why

The password rules here are not a random "one capital, one digit". This is how they work, for three readers: someone signing up, someone running a business, and a developer.

ავტორთა აზრი შეიძლება არ ემთხვეოდეს რედაქციის პოზიციას

YS 2 წთ საკითხავი
☰ სარჩევი · 4
  1. Signing up
  2. Running a business
  3. Developing
  4. Sources

Signing up

Passwords are not guessed by hand. Programs go through lists of leaked passwords and patterns like "Word + year + exclamation mark". What matters is how unpredictable a password is, not how complex it looks.

Good choices:

  • a long phrase of several words that is not a known quote or lyric;
  • a scattered mix of capitals, small letters, digits and symbols, not in blocks;
  • a password manager that makes one up and remembers it.

Bad choices: Password1!, qwerty123456, one letter repeated. These are tried first, however long.

Length is 8 to 64 characters, counted as you see them: a Georgian letter, a letter with an accent or an emoji is one. Any language works.

Running a business

A password leak means listings posted in your sellers' names, messages to customers from someone else's profile and hours of clean-up. People reuse passwords, so a weak spot on your site becomes a weak spot on theirs.

Good practice is cheap: accept long passwords and any characters, do not force calendar changes, check new passwords for predictability, store only a slow salted hash, and limit sign-in attempts.

Developing

VariantCondition
Aestimate ≥ 44 bits; both cases (one at least 1, the other at least 2); at least 2 symbols; a digit unless there are 3+ symbols of 2+ kinds
Bestimate ≥ 64 bits and at least two character classes
Cestimate ≥ 80 bits, anything

Any variant is enough. The shape rule applies to all: if every class (capitals, small letters, caseless letters, the rest) sits in one block, the password is refused.

The estimate is effective length × log2(the alphabet of the groups present). A repeat and the third and later steps of a run (abcd, 1234, qwerty) add nothing.

  • Length counts graphemes, at most 32 bytes each, at most 2 KB in all.
  • Georgian letters are their own caseless class.
  • The hash is Argon2id with a salt.
  • Sign-in does not apply the rules: old passwords keep working; oversized input is treated as wrong without hashing.

Sources

კომენტარები

კომენტარები ჯერ არ არის. დასვით კითხვა ან დაამატეთ წყარო.

შედით, რომ დააკომენტაროთ