mirror of
https://git.um-react.app/um/cli.git
synced 2025-11-28 03:33:02 +00:00
feat: adapt for qmc key v2
This commit is contained in:
@@ -131,6 +131,9 @@ func (d *Decoder) readRawKey(rawKeyLen int64) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// clean suffix NULs
|
||||
rawKeyData = bytes.TrimRight(rawKeyData, "\x00")
|
||||
|
||||
d.decodedKey, err = DecryptKey(rawKeyData)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user