Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ class ScreenLockTransportHandler(private val activity: FragmentActivity, callbac
): AuthenticatorResponseWithUser<AuthenticatorAttestationResponse> {
if (options.type != RequestOptionsType.REGISTER) throw RequestHandlingException(ErrorCode.INVALID_STATE_ERR)
val knownRegistrationInfo = database.getKnownRegistrationInfo(options.rpId)
Comment thread
adamcparsons marked this conversation as resolved.
.filter { it.transport == Transport.SCREEN_LOCK }
for (descriptor in options.registerOptions.excludeList.orEmpty()) {
val credentialBase64 = descriptor.id.toBase64(Base64.NO_WRAP or Base64.NO_PADDING or Base64.URL_SAFE)
val excluded = knownRegistrationInfo.any { it.credential == credentialBase64 }
Expand Down