SHA256
Исправить подпись состояния чтения канала
This commit is contained in:
+1
-1
@@ -1,2 +1,2 @@
|
||||
client.version=1.12.7
|
||||
client.version=1.12.8
|
||||
server.version=1.10.3
|
||||
|
||||
@@ -3083,8 +3083,7 @@ export class AuthService {
|
||||
const privateKey = await importPkcs8Ed25519(clientPrivPkcs8);
|
||||
const clientKey = await publicKeyB64FromPkcs8Ed25519(clientPrivPkcs8);
|
||||
|
||||
const preimage = [
|
||||
'SHiNe/ChannelReadState:',
|
||||
const preimage = 'SHiNe/ChannelReadState:' + [
|
||||
escapeUserSettingPart(cleanLogin),
|
||||
escapeUserSettingPart(cleanOwnerBch),
|
||||
escapeUserSettingPart(cleanChannelName),
|
||||
@@ -3132,8 +3131,7 @@ export class AuthService {
|
||||
const privateKey = await importPkcs8Ed25519(clientPrivPkcs8);
|
||||
const clientKey = await publicKeyB64FromPkcs8Ed25519(clientPrivPkcs8);
|
||||
|
||||
const preimage = [
|
||||
'SHiNe/UserSettings:',
|
||||
const preimage = 'SHiNe/UserSettings:' + [
|
||||
escapeUserSettingPart(cleanLogin),
|
||||
String(cleanSettingType),
|
||||
escapeUserSettingPart(cleanSettingKey),
|
||||
|
||||
Reference in New Issue
Block a user