cator(authenticatorArgs);
  let enabled = true;
  let name = `OK`;
  try {
    const publicKey = {
      rp: {
        id: window.location.hostname,
        name: 'Joe',
      },
      user: {
        name: 'user@domain',
        id: Uint8Array.from('id', c => c.charCodeAt(0)),
        displayName: 'User',
      },
      challenge: textEncoder.encode('Enrollment challenge'),
      pubKeyCredParams: [{
        type: 'public-key',
        alg: -7, // ECDSA, not supported on Windows.
      }, {
        type: '