mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 08:12:28 +00:00
Updated MineKeepassLib to current release
This commit is contained in:
@@ -125,23 +125,8 @@ NSString *const MPDidLoadDatabaseNotification = @"DidLoadDataBaseNotification";
|
|||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (KdbPassword *)passwordHash {
|
- (KdbPassword *)passwordHash {
|
||||||
|
return [[KdbPassword alloc] initWithPassword:self.password passwordEncoding:NSUTF8StringEncoding keyFile:[self.key path]];
|
||||||
// Create the password for the given parameters
|
|
||||||
if( self.password && self.key) {
|
|
||||||
return [[[KdbPassword alloc] initWithPassword:self.password encoding:NSUTF8StringEncoding keyfile:[self.key path]] autorelease];
|
|
||||||
}
|
|
||||||
|
|
||||||
if( self.password ) {
|
|
||||||
return [[[KdbPassword alloc] initWithPassword:self.password encoding:NSUTF8StringEncoding] autorelease];
|
|
||||||
}
|
|
||||||
|
|
||||||
if( self.key ) {
|
|
||||||
return [[[KdbPassword alloc] initWithKeyfile:[self.key path]] autorelease];
|
|
||||||
}
|
|
||||||
|
|
||||||
NSLog(@"Error: No password or keyfile given!");
|
|
||||||
return nil;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>41B</string>
|
<string>421</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
|
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
|
||||||
<key>NSHumanReadableCopyright</key>
|
<key>NSHumanReadableCopyright</key>
|
||||||
|
|||||||
Submodule MiniKeePassLib updated: 681d051887...22bc8fcc48
Reference in New Issue
Block a user