Skip to content

Commit

Permalink
fix: delete auth/keyParams from decrypted backup
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsvg committed Jan 26, 2021
1 parent f77125c commit f29682c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/assets/javascripts/services/archiveManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f29682c

Please sign in to comment.