TokenScript
TokenScript copied to clipboard
Make it easier to `make` our examples
When we run make
in our examples, we get:
$ make
# Needs a target, example: $ make EntryToken.canonicalized.xml
#
# Let's say you have a TokenScript "EntryToken.xml"
#- to validate and canonicalize, add 'canonicalized' in the filename
$ make EntryToken.canonicalized.xml
# - to sign, use tsml as file extension:
$ make EntryToken.tsml
They then have to figure out to type: make iDAI.canonicalized.xml
.
Since our examples only have 1 TokenScript per directory, can we make it easier for users?
Assigning @colourful-land for ideas.
It's better to modify the Signing Tool (at this moment xmlsectool) to do the canonicalization and signing in one go. The same signing tool can be done to download the certificates from the https website if it is missing / not supplied.
@James-Sangalli said that he can deal with 3) option at low priority (meaning in a few months, I believe)