ku-sldg / am-cakeml

Delivery repo for the KU CakeML Attestation Manager
GNU General Public License v3.0
1 stars 0 forks source link

refactor hard-coded provisioning for manifest generator #43

Closed ampetz closed 7 months ago

ampetz commented 7 months ago

At current, provisioning the manifest Generator (and also Client) executables happens by uncommenting a few select lines of code. Two places in apps/ManifestGenerator/ManifestGenerator.sml and one in apps/ManifestCompiler/Client.sml: Search for "(* START: UNCOMENT FOR PROVISIONING ...".

The effect of these hard-codings is to generate JSON file configurations for things like (TermPlc) and (EvidencePlc) lists that are used as subsequent input to the Generator. Also a single Term for the client app.

This functionality should likely be moved to a dedicated command line interface to the Generator (to be run once in a "provisioning mode").