Skip to content

CBOR decoding and encoding? #227

@JetForMe

Description

@JetForMe

New API Proposal:CBOR Encoding/Decoding

Motivation:

A lot of WebAuthn and Apple attestation and passkey APIs depend on CBOR encoding of attestation. I think it makes sense to have a thorough and vetted implementation of code to encode and decode the format.

Importance:

As an example, implementing the server side of App Attestation requires decoding a CBOR: https://developer.apple.com/documentation/devicecheck/validating-apps-that-connect-to-your-server

Alternatives

At least one third-party implementation exists, but this seems to me like a reasonable addition to CryptoKit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions