diff --git a/VERSION.properties b/VERSION.properties index 8269fbcc..d66506bb 100644 --- a/VERSION.properties +++ b/VERSION.properties @@ -1,2 +1,2 @@ -client.version=1.12.7 +client.version=1.12.8 server.version=1.10.3 diff --git a/shine-UI/js/services/auth-service.js b/shine-UI/js/services/auth-service.js index 5348ea28..f1687c1f 100644 --- a/shine-UI/js/services/auth-service.js +++ b/shine-UI/js/services/auth-service.js @@ -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),