Support iasVersion 4

This commit is contained in:
Fedor Indutny 2022-08-08 18:09:44 -07:00 committed by GitHub
parent aa2bb68d4a
commit 62962e4950
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

View file

@ -1123,6 +1123,7 @@ export function initialize({
async putAttestation(auth, publicKey) {
const data = JSON.stringify({
clientPublic: Bytes.toBase64(publicKey),
iasVersion: 4,
});
const result = (await _outerAjax(null, {
certificateAuthority,