sketching for new KeyDerivation and Cipher selection

This commit is contained in:
michael starke
2016-11-11 19:20:48 +01:00
parent cfd559b759
commit 331236af4d
10 changed files with 209 additions and 182 deletions

View File

@@ -199,7 +199,7 @@ typedef void (^MPPasswordChangedBlock)(BOOL didChangePassword);
NSString *fileType = document.fileType;
/* we did open as legacy */
if([fileType isEqualToString:MPKdbDocumentUTI]) {
if(document.tree.minimumType != KPKDatabaseFormatKdb) {
if(document.tree.minimumFormat != KPKDatabaseFormatKdb) {
NSAlert *alert = [[NSAlert alloc] init];
alert.alertStyle = NSWarningAlertStyle;
alert.messageText = NSLocalizedString(@"WARNING_ON_LOSSY_SAVE", "");