Skip to content

Go Library for draft-poirier-rats-eat-da

This Go library provides types and utilities for working with Device Attestation (DA) tokens as specified in draft-poirier-rats-eat-da.

Features

  • DA token type and helpers
  • CBOR serialization/deserialization
  • Utilities for parsing and validating DA tokens
  • Unit tests with example vectors

Installation

go get github.com/veraison/da

Usage

import "github.com/veraison/da"

// Unmarshal a DA token from CBOR
var token da.Token
err := token.FromCBOR(cborBytes)

// Marshal a DA token to CBOR
cborBytes, err := token.ToCBOR()

Running Tests

go test -v ./...

References

License

Apache-2.0. See LICENSE for details.

About

Go implementation of draft-poirier-rats-eat-da

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages