fix: delete auth/keyParams from decrypted backup
This commit is contained in:
@@ -41,6 +41,9 @@ export class ArchiveManager {
|
|||||||
`Standard Notes Encrypted Backup and Import File - ${this.formattedDate()}.txt`
|
`Standard Notes Encrypted Backup and Import File - ${this.formattedDate()}.txt`
|
||||||
);
|
);
|
||||||
} else {
|
} 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 */
|
/** download as zipped plain text files */
|
||||||
this.downloadZippedDecryptedItems(data);
|
this.downloadZippedDecryptedItems(data);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user