TokenScript icon indicating copy to clipboard operation
TokenScript copied to clipboard

Make it easier to `make` our examples

Open hboon opened this issue 5 years ago • 5 comments

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?

hboon avatar Sep 06 '19 09:09 hboon

Assigning @colourful-land for ideas.

hboon avatar Sep 06 '19 09:09 hboon

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.

SmartLayer avatar Sep 11 '19 04:09 SmartLayer

@James-Sangalli said that he can deal with 3) option at low priority (meaning in a few months, I believe)

SmartLayer avatar Sep 11 '19 04:09 SmartLayer