338 "The security key is locked because the wrong PIN was entered too" |
338 "The security key is locked because the wrong PIN was entered too" |
339 " many times. You will need to reset the security key." |
339 " many times. You will need to reset the security key." |
340 ) |
340 ) |
341 elif ( |
341 elif ( |
342 requestFailureReason |
342 requestFailureReason |
343 == QWebEngineWebAuthUxRequest.RequestFailureReason.AuthenticatorRemovedDuringPinEntry # noqa: E501 |
343 == QWebEngineWebAuthUxRequest.RequestFailureReason.AuthenticatorRemovedDuringPinEntry # noqa: E-501 |
344 ): |
344 ): |
345 errorMsg = self.tr( |
345 errorMsg = self.tr( |
346 "Security key removed during verification. Please reinsert and try" |
346 "Security key removed during verification. Please reinsert and try" |
347 " again." |
347 " again." |
348 ) |
348 ) |
349 elif ( |
349 elif ( |
350 requestFailureReason |
350 requestFailureReason |
351 == QWebEngineWebAuthUxRequest.RequestFailureReason.AuthenticatorMissingResidentKeys # noqa: E501 |
351 == QWebEngineWebAuthUxRequest.RequestFailureReason.AuthenticatorMissingResidentKeys # noqa: E-501 |
352 ): |
352 ): |
353 errorMsg = self.tr("Security key does not have resident key support.") |
353 errorMsg = self.tr("Security key does not have resident key support.") |
354 elif ( |
354 elif ( |
355 requestFailureReason |
355 requestFailureReason |
356 == QWebEngineWebAuthUxRequest.RequestFailureReason.AuthenticatorMissingUserVerification # noqa: E501 |
356 == QWebEngineWebAuthUxRequest.RequestFailureReason.AuthenticatorMissingUserVerification # noqa: E-501 |
357 ): |
357 ): |
358 errorMsg = self.tr("Security key is missing user verification.") |
358 errorMsg = self.tr("Security key is missing user verification.") |
359 elif ( |
359 elif ( |
360 requestFailureReason |
360 requestFailureReason |
361 == QWebEngineWebAuthUxRequest.RequestFailureReason.AuthenticatorMissingLargeBlob # noqa: E501 |
361 == QWebEngineWebAuthUxRequest.RequestFailureReason.AuthenticatorMissingLargeBlob # noqa: E-501 |
362 ): |
362 ): |
363 errorMsg = self.tr("Security key is missing Large Blob support.") |
363 errorMsg = self.tr("Security key is missing Large Blob support.") |
364 elif ( |
364 elif ( |
365 requestFailureReason |
365 requestFailureReason |
366 == QWebEngineWebAuthUxRequest.RequestFailureReason.NoCommonAlgorithms |
366 == QWebEngineWebAuthUxRequest.RequestFailureReason.NoCommonAlgorithms |