View Code? Open in Web Editor
NEW
An (eventually) comprehensive set of tokens for testing EAT, CWT and PSA Token implementations. Both valid and invalid inputs are included.
License: BSD 3-Clause "New" or "Revised" License
Shell 33.61%
Dockerfile 3.30%
Makefile 63.09%
eat-test-vectors's People
Contributors
Stargazers
eat-test-vectors's Issues
There's a variety of possible CBOR tags possible with CWT, COSE and EAT. There should be test cases for all of them.
The PSA profile seems like it will prohibit use of indefinite-length CBOR.
Clearly it would be a test failure if an encoder produced indefinite length CBOR, but should be be a failure if a decoder accepted it?
Include a variety of invalid test cases like integer locations, bad data items...
Could be a lot of these, but probably just the basics
- signature doesn't validate
- One for of a syntax error in The CBOR
- key identification isn't right
- unknown algorithm
- maybe a few more
Probably just ECDSA 256, 384 and 512 to start with
Need to generate some test key material
Think about how to handle key identification for test cases...