mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
fix: Change backup eligibility
This commit is contained in:
@@ -476,8 +476,8 @@ object PasskeyHelper {
|
|||||||
) ?: mapOf<Int, Any>()),
|
) ?: mapOf<Int, Any>()),
|
||||||
userPresent = true,
|
userPresent = true,
|
||||||
userVerified = true,
|
userVerified = true,
|
||||||
backupEligibility = false,
|
backupEligibility = BACKUP_ELIGIBILITY,
|
||||||
backupState = false,
|
backupState = false, // TODO Setting to add a backup manually #2135
|
||||||
publicKeyTypeId = keyTypeId,
|
publicKeyTypeId = keyTypeId,
|
||||||
publicKeyCbor = Signature.convertPublicKey(keyPair.public, keyTypeId)!!,
|
publicKeyCbor = Signature.convertPublicKey(keyPair.public, keyTypeId)!!,
|
||||||
clientDataResponse = publicKeyCredentialCreationParameters.clientDataResponse
|
clientDataResponse = publicKeyCredentialCreationParameters.clientDataResponse
|
||||||
@@ -555,8 +555,8 @@ object PasskeyHelper {
|
|||||||
requestOptions = requestOptions,
|
requestOptions = requestOptions,
|
||||||
userPresent = true,
|
userPresent = true,
|
||||||
userVerified = true,
|
userVerified = true,
|
||||||
backupEligibility = false,
|
backupEligibility = BACKUP_ELIGIBILITY,
|
||||||
backupState = false,
|
backupState = false, // TODO Setting to add a backup manually #2135
|
||||||
userHandle = passkey.userHandle,
|
userHandle = passkey.userHandle,
|
||||||
privateKey = passkey.privateKeyPem,
|
privateKey = passkey.privateKeyPem,
|
||||||
clientDataResponse = clientDataResponse
|
clientDataResponse = clientDataResponse
|
||||||
@@ -587,4 +587,6 @@ object PasskeyHelper {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private const val BACKUP_ELIGIBILITY = true
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user