feat: allow COMMAND_PASSWORD_CLEAR in clear text

This commit is contained in:
Vlad Stan 2022-08-16 12:16:09 +03:00
parent 32bb59255d
commit 7c796f428a

View File

@ -675,7 +675,11 @@ async function serialSigner(path) {
const command = value.split(' ')[0] const command = value.split(' ')[0]
const commandData = value.substring(command.length).trim() const commandData = value.substring(command.length).trim()
if (command === COMMAND_DH_EXCHANGE || command === COMMAND_LOG) if (
command === COMMAND_DH_EXCHANGE ||
command === COMMAND_LOG ||
command === COMMAND_PASSWORD_CLEAR
)
return {command, commandData} return {command, commandData}
const decryptedValue = await this.decryptData(value) const decryptedValue = await this.decryptData(value)