[webauthn] Always PRF enabled:false (#1857)

kksingla has just created a new issue for https://github.com/w3c/webauthn:

== Always PRF enabled:false ==
## Problem Statement

Encrypting data using WebAuthn PRF extension, following this [blog](https://blog.millerti.me/2023/01/22/encrypting-data-in-the-browser-using-webauthn/).

Adding Snippet below:
```
async function handleRegister() {
    try {
      regCredentialResult = await window.navigator.credentials.create(cred);
      if (regCredentialResult.response != null) {
        alert("Register Success");
        console.log(regCredentialResult.getClientExtensionResults());
      } else {
        console.log("Reg: null");
      }
    } catch (e) {
      console.log(e);
    }
  }
```
Also, tried multiple settings with virtual authenticator env but always getting the PRF `enabled:false`.

<img width="391" alt="image" src="https://user-images.githubusercontent.com/18482328/220586595-f1720936-3c96-4152-a362-98a0ea3c4fe4.png">


Please view or discuss this issue at https://github.com/w3c/webauthn/issues/1857 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 22 February 2023 10:00:52 UTC