python-fido2 icon indicating copy to clipboard operation
python-fido2 copied to clipboard

"largeBlob" crash on Windows

Open sk-keeper opened this issue 7 months ago • 2 comments

fido2 2.0.0 crashes on Windows here options.extensions does not contain largeBlob property and obj.dwCredLargeBlobStatus is not zero.

sk-keeper avatar Jun 26 '25 06:06 sk-keeper

Thank you for the report. Can you provide the options used for the request?

dainnilsson avatar Jun 26 '25 09:06 dainnilsson

This error is reported by a customer. I cannot duplicate it using personal security keys. obj.dwCredLargeBlobStatus is always zero in my setup. The options used by our app (it does not support largeBlob) have the following format

{
  "publicKeyCredentialRequestOptions" : {
    "challenge" : "boyuGSfORAEdDibXY6K3IASF5hYRF9M-DZkiI0FswAM",
    "hints" : [ ],
    "rpId" : "aaa.com",
    "allowCredentials" : [ {
      "type" : "public-key",
      "id" : "jcqfO4ek2PGTCdgWxf6wj-mhMhB8Fxd1og-I1bAh6N36CrDs6lrUtrd-ELRxhMFcgomk5zyxLHXnxRKVJpWEWA"
    } ],
    "userVerification" : "discouraged",
    "extensions" : {
      "appid" : "https://aaa.com"
    }
  },
  "username" : "[email protected]"
}

sk-keeper avatar Jun 26 '25 14:06 sk-keeper