mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-02 17:26:24 +00:00
fix(service-identity): call the dialect self-check's scrypt input inputSha256
A field named passwordSha256 next to a hex literal reads as a hard-coded password to static analysis.
This commit is contained in:
@@ -39,7 +39,7 @@ export const SELF_CHECK: DialectSelfCheck = {
|
||||
random: '000102030405060708090a0b0c0d0e0f',
|
||||
nowSeconds: 1800000000,
|
||||
nonce: 41,
|
||||
passwordSha256: '6da395852966856653d9efba4dd3230e31f0fa325558474c91ae719247cc20ac',
|
||||
inputSha256: '6da395852966856653d9efba4dd3230e31f0fa325558474c91ae719247cc20ac',
|
||||
saltSha256: '9a4f2641b36f212d95eeceb212ce3587672322074288da20da4822809816aa7b',
|
||||
scrypt: 'f3de9aab4d5d9e114d63ba51bb0c8f007a644c1e24ef7b8e4062d49e9eed5376',
|
||||
requestSha256: '840dd80c265fba34a73ff4927eaa8416aa344d32372bf4d85273bf5ce130af99',
|
||||
|
||||
@@ -64,7 +64,7 @@ export interface DialectSelfCheck {
|
||||
random: string;
|
||||
nowSeconds: number;
|
||||
nonce: number;
|
||||
passwordSha256: string;
|
||||
inputSha256: string;
|
||||
saltSha256: string;
|
||||
/** Hex. */
|
||||
scrypt: string;
|
||||
|
||||
Reference in New Issue
Block a user