You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue with parsing attestation fields from Android Chrome on fingerprint sign-up. cbor2commet from npm cbor-cli package handles exactly hex-encoded blob below.
Code sample:
stack ghci
import Codec.CBOR.JSON (encodeValue, decodeValue)
import Codec.CBOR.Read (deserialiseFromBytes)
import Codec.CBOR.Write (toLazyByteString, toStrictByteString)
import Data.ByteString.Base16 as HEX
import Data.ByteString.Lazy as BSL
import Prelude hiding (readFile)
:set -XOverloadedStrings
:set prompt "$ "
$ f <- BSL.readFile "cbors"
$ deserialiseFromBytes (decodeValue True) . fromStrict . fst . HEX.decode $ toStrict f
> Left (DeserialiseFailure 55 "unexpected CBOR token type for a JSON value: TypeBytes")
Hi,
I have an issue with parsing attestation fields from Android Chrome on fingerprint sign-up. cbor2commet from npm cbor-cli package handles exactly hex-encoded blob below.
Code sample:
Stack dependencies:
The blob sample. Issue is reproduced very well:
Reading through npm:
The text was updated successfully, but these errors were encountered: