Updated to current KeePassKit. Fixed nil assertion when using invalid OTP parameters
This commit is contained in:
parent
8c017e65c2
commit
62032cd7d0
2
Cartfile
2
Cartfile
|
@ -1,4 +1,4 @@
|
|||
github "sparkle-project/Sparkle" ~> 1.22
|
||||
github "mattt/TransformerKit" ~> 1.1.1
|
||||
github "MacPass/KeePassKit" "e22b8f2e5b4f8bccdea7630318e42eeb6eec23b5"
|
||||
github "MacPass/KeePassKit" "53fb31cd39eb56b75a27867aa4594f73e380863c"
|
||||
github "mstarke/HNHUi" ~> 4.0
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
github "MacPass/KeePassKit" "e22b8f2e5b4f8bccdea7630318e42eeb6eec23b5"
|
||||
github "MacPass/KeePassKit" "53fb31cd39eb56b75a27867aa4594f73e380863c"
|
||||
github "mattt/TransformerKit" "1.1.1"
|
||||
github "mstarke/HNHUi" "4.0.3"
|
||||
github "robbiehanson/KissXML" "5.3.2"
|
||||
github "robbiehanson/KissXML" "5.3.3"
|
||||
github "sparkle-project/Sparkle" "1.24.0"
|
||||
|
|
|
@ -56,7 +56,8 @@
|
|||
if(showTOTP) {
|
||||
self.generator = [[KPKTimeOTPGenerator alloc] initWithEntry:entry];
|
||||
self.generator.time = NSDate.date.timeIntervalSince1970;
|
||||
self.toptValueTextField.stringValue = self.generator.string;
|
||||
NSString *stringValue = self.generator.string;
|
||||
self.toptValueTextField.stringValue = stringValue ? stringValue : @"";
|
||||
|
||||
NSString *template = NSLocalizedString(@"TOTP_REMAINING_TIME_%ld_SECONDS", @"Time in seconds remaining for a valid TOTP string, format should be %ld");
|
||||
|
||||
|
|
Loading…
Reference in New Issue