This commit is contained in:
Akshay Kumar 2024-07-10 15:24:40 +05:30
Родитель 7d55649ddd
Коммит c2532ec7f0
3 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -118,7 +118,7 @@ fido.makeCredential = async (uid, attestation) => {
authenticatorDataHex: attestationObject.authData.toString('hex').toUpperCase(),
extensionDataHex: defaultTo(authenticatorData.extensionDataHex, "No extension data"),
authenticatorData: attestation.authenticatorData,
attestationObject: attestation.attestationObject,
attestationObject: attestation.attestationObjectHex,
clientDataJSON: attestation.clientDataJSON,
publicKey2: attestation.publicKey,
publicKeyAlgorithm: attestation.publicKeyAlgorithm,

Просмотреть файл

@ -406,9 +406,9 @@
<span id="creationData_attestationStatementChainJSON"></span>
</p>
<p>
<b>Attestation Statement in Hex</b>
<b>Attestation Object</b>
<br>
<span id="creationData_attestationStatementHex"></span>
<span id="creationData_attestationObject"></span>
</p>
<p>
<b>PRF First</b>

Просмотреть файл

@ -458,6 +458,7 @@
publicKeyAlgorithm: attestation.response.getPublicKeyAlgorithm(),
clientDataJSON: arrayBufferToUTF8(attestation.response.clientDataJSON),
attestationObject: arrayBufferToBase64(attestation.response.attestationObject),
attestationObjectHex: arrayBufferToHexString(attestation.response.attestationObject),
prfEnabled: prfEnabled,
prfFirst: prfFirstHex,
prfSecond: prfSecondHex,
@ -803,7 +804,7 @@
publicKeyType += "(" + credential.creationData.publicKeyAlgorithm +") ";
}
$("#creationData_attestationStatementHex").text(credential.creationData.attestationStatementHex);
$("#creationData_attestationObject").text(credential.creationData.attestationObject);
$("#creationData_attestationStatementChainJSON").text(credential.creationData.attestationStatementChainJSON);
$("#creationData_authenticatorData").text(credential.creationData.authenticatorDataSummary);
$("#creationData_authenticatorDataHex").text(credential.creationData.authenticatorDataHex);