-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extracting s
from ACDC into CESR-based protocol
#45
Comments
Is there a question? or just wondering how one might use CESR to effeciently sign measurements? |
Let me be more explicit:
|
that works. Or another alternative is as follows Hash [{measurement1}{measurement2}...{measurementN}] then the measurements can be cached or transmitted out of band to the transmission of the Hash This is how ACDCs do it. A compact ACDC is nothing but hashes and the attachments are nothing but a reference to a signature of the hashes. this way verbose schema which do not change across multiple ACDCs of the same type (recall that in ACDC type is schema) then never need to actually transmit schema just pre-provision schema as type and reference the measurement as belonging to a type given by the hash of the schema. So yes, using the same artchitecture of ACDCs but without revocation support one can have more compact messaging of measurements. Because ACDCs are schema based they can have optional fields (unlike KERI events which have fixed fields at the type level). So one can simplify an ACDC to be version Currently ACDCs assume that they are anchored in KEL of issuer but for ephemeral (non-revocable) measurements one can relax that requirements and then only an attached signature is required. Fpr example a ViRA ACDC payload is just a list of hashes. |
Hey Sam,
The digitalization of various industries is a direct consequence of vast data generation. Controllers responsible for reading the sensor data push it further to the cloud for further processing. Before the actual push, the Controller might digitally sign the data-to-be-pushed to add authenticity. Here we can employ CESR and attach the signature to the measurement effectively. When there are many measurements, it becomes more challenging because we can sign a bulk instead of signing each measurement.
Furthermore, measurements have schemas that define what is in the actual body of the measurement. In the credentials space, i.e., ACDC, you'd use
s
to provide the schema, but in the case of measurement, ACDC-like schema is debatable. To make it compact, I imagine something like this:where
CESRattachments
are about the whole bulk rather than each measurement. Furthermore, we can also distill the schema for all these measurements. Schema is like the digital signature: metadata. We could then define another protocol using CESR to add the capability to add the schema as a CESR attachment. UsingProtocol Genus Version Codes,
we can switch between protocols in one CESR stream.There are issues with this approach:
{measurement1}{measurement2}...{measurementN}CESRattachments
stream format is not supported. Bulks can occur, for example, in unstable environments where internet access is, i.e., temporary. When the controller is offline, it aggregates all the measurements and will eventually push it further as soon as it becomes online again.CESRattachments
are--AAA<KERI protocol attachments>---AAB<schema protocol attachments>
. The latter lacks authenticity because digital signature(s) are against whatever is inmeasurement1
. Thus, the attachments in the schema protocol can be forged.The text was updated successfully, but these errors were encountered: