blob: 681dfb7d0d54aab8ecec392ab5257cc8e1aff765 [file] [log] [blame] [view]
[![Build Status](https://travis-ci.org/cose-wg/COSE-C.svg?branch=master)](https://travis-ci.org/cose-wg/COSE-C)
[![Coverage Status](https://coveralls.io/repos/cose-wg/COSE-C/badge.svg?branch=master&service=github)](https://coveralls.io/github/cose-wg/COSE-C?branch=master)
# COSE-C Implementation
This project is a C implementation of the IETF CBOR Encoded Mesage Syntax (COSE).
There are currently two versions of the COSE document that can be read.
The most current work in progress draft can be found on github in the [cose-wg/cose-spec](https://cose-wg.github.io/cose-spec/) project.
The IETF also keeps a copy of the spec in the [COSE WG](https://tools.ietf.org/html/draft-ietf-cose-msg).
The project is using the [CN-CBOR](https://github.com/cabo/cn-cbor) project to provide an implemenetation of the Concise Binary Object Representation or [CBOR](https://datatracker.ietf.org/doc/rfc7049/).
The project is using OpenSSL for the cryptographic primatives.
## Contributing
Go ahead, file issues, make pull requests.
## Building
The project is setup to build using *CMake.* The way that the CMake files are setup, itrequires that version 3.0 or higher is used.
The project requires the use of cn-cbor(https://github.com/cabo/cn-cbor) in order to build. The CMake configuration files will automatically pull down the correct version when run.
## Memory Model
The memory model used in this library is a mess. This is in large part because the memory model of cn-cbor is still poorly understood.
This needs to get figured out in the near future.