xaptum / xtt

A C implementation of the Trusted Transit protocol for securing Internet of Things (IoT) network traffic. Created to support the Xaptum Edge Network Fabric, an IoT Network Solution.
https://www.xaptum.com
Apache License 2.0
5 stars 5 forks source link

Combine basename and GPK #92

Open zanebeckwith opened 5 years ago

zanebeckwith commented 5 years ago

In the interest of consolidating files that a server or client needs to provide, I propose that we combine the basename and DAA GPK into a single file for input to the tool. This file will conceptually represent the DAA group.

I also propose that this file, by default, be named by the GroupID of the group (e.g. 1234.bin for gid 1234). A new command line flag --gid (for example) could be used to override this default.

This should also be done in our up-coming tool in the ecdaa project.

drbild commented 5 years ago

Is there an existing RFC defining ASN.1 structures for any of this DAA stuff?

zanebeckwith commented 5 years ago

No, not to my knowledge.

There's an RFC for identity-based stuff, from Dan Boneh, from 2007. That discusses encoding of ECC points used in IBE: https://tools.ietf.org/html/rfc5091

Also, the FIDO spec covers similar ground, encoding of curve points.

But those are just for the points, nothing about keys or anything.

The FIDO spec also covers the format for the signatures themselves (and it's just binary concatenation).

Also: https://crypto.stackexchange.com/questions/48853/prime-extension-field-encoding-asn-1