owpengram-server/internal
Astra 6435406690 account: stop rotating the SRP challenge on every getPassword read
GetPassword minted a brand-new random SRP server secret and B on every call
while only ever assigning SRPID once (when zero). Two account.getPassword
calls in a row -- e.g. a settings screen refreshing state, then the transfer-
ownership dialog's own cloudPassword().reload() moments later -- silently
invalidated each other's B with no signal the client could detect (SRPID
unchanged), so a password check built from the first response's B failed
with PASSWORD_HASH_INVALID even though the typed password was correct.

The challenge now stays stable across reads and only rotates when it's
missing entirely; UpdatePasswordSettings/RecoverPassword already mint their
own fresh challenge whenever the password actually changes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-14 12:06:46 +01:00
..
admin usernames: operator reserved-username blocklist 2026-09-14 12:04:43 +01:00
adminapi usernames: operator reserved-username blocklist 2026-09-14 12:04:43 +01:00
app account: stop rotating the SRP challenge on every getPassword read 2026-09-14 12:06:46 +01:00
botapi botapi: getChatMemberCount, getChatMember, and a fuller getChat 2026-09-14 12:00:03 +01:00
branding merged with fixes 2026-09-09 02:49:30 +03:00
compat merged with fixes 2026-09-09 02:49:30 +03:00
config merged with fixes 2026-09-09 02:49:30 +03:00
domain rpc: return PASSWORD_MISSING for channel transfer without 2FA 2026-09-14 12:05:28 +01:00
hoststats fixes for storage managament 2026-09-03 08:33:06 +03:00
identity improvements for first-time setup 2026-09-08 17:56:26 +03:00
links Merge remote-tracking branch 'upstream/main' into merge-gramsrv-9106877 2026-08-03 23:29:20 +03:00
loadharness merged with fixes 2026-09-09 02:49:30 +03:00
loadtest merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
mtprotoedge merged with fixes 2026-09-09 02:49:30 +03:00
observability merged with fixes 2026-09-09 02:49:30 +03:00
otpdelivery smtp: add Date and Message-ID headers to outgoing mail 2026-09-14 12:05:28 +01:00
postresponse fix: sync MTProto startup and egress fixes 2026-07-13 19:05:41 +08:00
procctl fixes for storage managament 2026-09-03 08:33:06 +03:00
readmodelcache merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
rpc users: never cache a deleted user's base row 2026-09-14 12:06:46 +01:00
rpcresult merged with fixes 2026-09-09 02:49:30 +03:00
seed fix for gif and emojies categories 2026-08-24 22:42:40 +03:00
sfu translated all logs to english 2026-07-25 07:31:27 +03:00
store usernames: report reserved names as taken in the check paths too 2026-09-14 12:05:28 +01:00
telegramloginhttp merged with fixes 2026-09-09 02:49:30 +03:00
transport merged with fixes 2026-09-09 02:49:30 +03:00
turnsrv translated all logs to english 2026-07-25 07:31:27 +03:00
updatecdn merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
web merged with fixes 2026-09-09 02:49:30 +03:00
webauthn merged with fixes 2026-09-09 02:49:30 +03:00