cancel
Showing results for 
Search instead for 
Did you mean: 
TomMasz
New Contributor

Problem with Yubikey OTP on iPad

I cannot log into LastPass on my iPad because it won't accept the OTP from my Yubikey 5Ci. The Yubikey works fine on my iPhone (iOS 15.5), my Macs (macOS 12.4) and PCs (Windows 11). The iPad is an Air 2 with iPadOS 15.4). ThIs is what I get in the Diagnostic Log:

 

---------------

2022/06/09 10:38:20:046 <LPMultifactorViewController.swift:1358> Yubikey action sheet presented
2022/06/09 10:38:25:807 <LPMultifactorViewController.swift:1362> Yubikey plug-in mode begin
2022/06/09 10:38:25:823 <LPMultifactorViewController.swift:1367> Yubikey plug-in mode popover presented
2022/06/09 10:38:27:506 <YubikeyPortReaderViewController.swift:118> Yubikey plug-in mode started reading
2022/06/09 10:38:29:353 <YubikeyPortReaderViewController.swift:123> Yubikey plug-in mode finished reading
2022/06/09 10:38:29:408 <YubikeyPortReaderViewController.swift:66> Yubikey plug-in mode, reader will disappear
2022/06/09 10:38:29:940 <LPMultifactorViewController.swift:1487> Yubikey did receive otp
2022/06/09 10:38:29:946 <LPMultifactorViewController.swift:1174> OTP length is invalid. OTP length is: 43 chars
2022/06/09 10:38:29:950 <LPMultifactorViewController.swift:1203> Start authentication mode: legacyLogin, provider: YubiKey
2022/06/09 10:38:29:960 <LPMultifactorViewController.swift:1460> LPMultifactorViewController dismissSelf begin
2022/06/09 10:38:29:964 <LPMultifactorViewController.swift:1471> LPMultifactorViewController dismissSelf end
2022/06/09 10:38:30:417 <LPLogin.m:202> Login Failed received response: YubiKey authentication failed!
2022/06/09 10:38:30:419 <LPLogin.m:301> Login Failed cause: otprequired, attributes: {
allowmultifactortrust = true;
cause = otpfailed;
"enabled_provider_names" = YubiKey;
"enabled_providers" = yubikey;
hidedisable = false;
"is_passwordless_login" = "";
"login_method" = "mfa_login";
message = "YubiKey authentication failed!";
tempuid = 9142565;
trustexpired = 0;
trustlabel = "";
}
2022/06/09 10:38:33:244 <LastPassModel.m:1377> onLoginResponse:0 message:(null) cause:(null)
2022/06/09 10:38:33:246 <lputil.m:607> lputil lp_cleanup
2022/06/09 10:38:33:263 <lputil.m:2823> wipeState begin
2022/06/09 10:38:33:265 <lputil.m:2828> wipeState removeItemAtPath end: /private/var/mobile/Containers/Shared/AppGroup/5E72154A-1391-41BE-B270-3BEB02D49309/LastPass/restore_state
2022/06/09 10:38:33:313 <lputil.m:2832> wipeState end
2022/06/09 10:38:33:374 Missing lputil local_pwhash in UserPreferences for key: lp_survey_waiting_period_timestamp
2022/06/09 10:38:33:396 Missing lputil local_pwhash in UserPreferences for key: lp_survey_waiting_period_timestamp
2022/06/09 10:38:37:154 <AppDelegate.swift:290> applicationWillResignActive
2022/06/09 10:38:37:806 <AppDelegate.swift:321> applicationDidEnterBackground
2022/06/09 10:38:37:814 Missing lputil local_pwhash in UserPreferences for key: lp_clear_clipboard
2022/06/09 11:54:50:823 <AppDelegate.swift:352> applicationWillEnterForeground
2022/06/09 11:54:50:830 Missing lputil local_pwhash in UserPreferences for key: lp_autofill_enabled
2022/06/09 11:54:50:942 Missing lputil local_pwhash in UserPreferences for key: lp_autofill_enabled
2022/06/09 11:54:51:293 <AppDelegate.swift:424> applicationDidBecomeActive
2022/06/09 11:54:51:295 Missing lputil local_pwhash in UserPreferences for key: autofill_first_enable
2022/06/09 11:54:51:296 Missing lputil local_pwhash in UserPreferences for key: lp_enable_autofill_lets_give_it_a_try_webview_appeared
2022/06/09 11:54:52:185 <LPRemoteConfig.swift:96> Remote configuration did fetch. Status: FIRRemoteConfigFetchAndActivateStatus(rawValue: 0)
2022/06/09 11:54:52:186 <ExperimentController.swift:46> Experiment 'ios_ac_push_experiment' set up with variant: treatment1
2022/06/09 11:54:54:150 <LPMultifactorViewController.swift:1460> LPMultifactorViewController dismissSelf begin
2022/06/09 11:54:54:153 <LPMultifactorViewController.swift:1471> LPMultifactorViewController dismissSelf end

-----------------

 

This is endlessly repeatable. Again, this Yubikey works fine in every other device I use it with. Any ideas?

1 REPLY 1
Rebecca_S
LastPass Contributor

Re: Problem with Yubikey OTP on iPad

Hi TomMasz, thank you for the feedback and sharing. We'll share these logs with the development team.