diff --git a/webauthn/helpers/decode_credential_public_key.py b/webauthn/helpers/decode_credential_public_key.py index 077a856..030c68e 100644 --- a/webauthn/helpers/decode_credential_public_key.py +++ b/webauthn/helpers/decode_credential_public_key.py @@ -41,7 +41,7 @@ def decode_credential_public_key( Supports OKP, EC2, and RSA public keys """ - # Occassionally we might be given a public key in an "uncompressed" format, + # Occasionally we might be given a public key in an "uncompressed" format, # typically from older U2F security keys. As per the FIDO spec this is indicated by # a leading 0x04 "uncompressed point compression method" format byte. In that case # we need to fill in some blanks to turn it into a full EC2 key for signature diff --git a/webauthn/helpers/structs.py b/webauthn/helpers/structs.py index c685220..75bb9cb 100644 --- a/webauthn/helpers/structs.py +++ b/webauthn/helpers/structs.py @@ -260,7 +260,7 @@ class CollectedClientData: `type`: Either `"webauthn.create"` or `"webauthn.get"`, for registration and authentication ceremonies respectively `challenge`: The challenge passed to the authenticator within the options `origin`: The base domain with protocol on which the registration or authentication ceremony took place (e.g. "https://foo.bar") - (optional) `cross_origin`: Whether or not the the registration or authentication ceremony took place on a different origin (think within an