SHA256
Недоделано: канонизировать login в заголовке блокчейна
This commit is contained in:
@@ -1890,7 +1890,9 @@ export class AuthService {
|
||||
msgType: MSG_TYPE_TECH,
|
||||
msgSubType: MSG_SUBTYPE_TECH_HEADER,
|
||||
msgVersion: 1,
|
||||
bodyBytes: makeHeaderBodyBytes({ login: cleanLogin, initialBlockchainKey32 }),
|
||||
// Идентификатор цепочки и формат HEADER используют canonical login.
|
||||
// Отображаемый login может сохранять исходный регистр.
|
||||
bodyBytes: makeHeaderBodyBytes({ login: cleanLogin.toLowerCase(), initialBlockchainKey32 }),
|
||||
_skipHeaderEnsure: true,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user