#cose

aws-nitro-enclaves-cose

This library aims to provide a safe Rust implementation of COSE, with COSE Sign1 currently implemented

4 releases (breaking)

0.4.0 Oct 29, 2021
0.3.0 Jul 28, 2021
0.2.0 Mar 24, 2021
0.1.0 Nov 12, 2020

#225 in Cryptography

Download history 386/week @ 2022-01-26 471/week @ 2022-02-02 244/week @ 2022-02-09 196/week @ 2022-02-16 218/week @ 2022-02-23 142/week @ 2022-03-02 172/week @ 2022-03-09 257/week @ 2022-03-16 191/week @ 2022-03-23 167/week @ 2022-03-30 162/week @ 2022-04-06 143/week @ 2022-04-13 263/week @ 2022-04-20 210/week @ 2022-04-27 271/week @ 2022-05-04 241/week @ 2022-05-11

1,021 downloads per month
Used in 2 crates (via aws-nitro-enclaves-attestation)

Apache-2.0

93KB
1.5K SLoC

status version docs

COSE for AWS Nitro Enclaves

This library aims to provide a safe Rust implementation of COSE. Currently, only COSE Sign1 is implemented, with the ability to sign and verify COSE Sign1 objects.

It uses openssl to provide the required crypto primitives.

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.


lib.rs:

This library aims to provide safe Rust implementations for COSE, using serde and serde_cbor as an encoding layer and OpenSSL as the base crypto library.

Currently only COSE Sign1 and COSE Encrypt0 are implemented.

Dependencies

~2.3–4MB
~93K SLoC