Update mediaName derivation to hex encoding

This commit is contained in:
trevor-signal
2024-08-01 02:13:38 -04:00
committed by GitHub
parent 5173b3d01a
commit 0433264eed
5 changed files with 44 additions and 24 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ export function deriveMediaIdFromMediaName(
BACKUP_MEDIA_ID_LEN,
Buffer.from(backupKey),
Buffer.from(BACKUP_MEDIA_ID_INFO),
Buffer.from(Bytes.fromBase64(mediaName))
Buffer.from(mediaName, 'utf8')
);
}