fix: delete auth/keyParams from decrypted backup

This commit is contained in:
Baptiste Grob
2021-01-26 11:41:23 +01:00
parent f77125c499
commit f29682c4a9

View File

@@ -41,6 +41,9 @@ export class ArchiveManager {
`Standard Notes Encrypted Backup and Import File - ${this.formattedDate()}.txt`
);
} else {
/** Remove auth/keyParams as they won't be needed to decrypt the file */
delete data.auth_params;
delete data.keyParams;
/** download as zipped plain text files */
this.downloadZippedDecryptedItems(data);
}