mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 17:32:17 +00:00
Started Move to KeePassKit - Project compiles but does NOT work properly
Removed MiniKeePass Categories. Moved Random streams form MiniKeePass to KeePassKit Changed MacPass to use KeePassKit
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
#import "NSString+Empty.h"
|
||||
#import "NSData+Keyfile.h"
|
||||
|
||||
#import "KPKTree.h"
|
||||
|
||||
@interface MPPasswordEditWindowController () {
|
||||
MPDocument * __unsafe_unretained _document;
|
||||
}
|
||||
@@ -93,7 +95,7 @@
|
||||
}
|
||||
|
||||
- (IBAction)generateKey:(id)sender {
|
||||
NSData *data = [NSData generateKeyfiledataForVersion:(KPKVersion)(_document.version + 1)];
|
||||
NSData *data = [NSData generateKeyfiledataForVersion:_document.tree.minimumVersion];
|
||||
if(data) {
|
||||
NSSavePanel *savePanel = [NSSavePanel savePanel];
|
||||
[savePanel setAllowedFileTypes:@[@"key", @"xml"]];
|
||||
|
||||
Reference in New Issue
Block a user