Can translate simple ZPL into binary policies that the prototype visa
service can process. This comes bundled with a tool to examine the
contents of a "compiled" binary policy, zpdump.
./zplc -k path/to/rsa-key.pem path/to/policy.zpl- That RSA key in the invocation is used to sign the binary policy so must match the one that the visa service is configured with.
- By default the configuration for the ZPL policy will be found in a
file with the same name as the ZPL file but with the
zplcextension. If you want to load configuration from somewhre else, use-c path/to/config.zplcargument. - Help is available via
zplc -h
make
Work is ongoing to accept the full ZPL syntax. Note that it is one thing for the compiler to accept the syntax and process it into a policy and another for the Visa Service to be able to implement the policy.
Here are syntax bits that are not yet supported by the compiler:
- Limits.
- Conditions.