TokenScript icon indicating copy to clipboard operation
TokenScript copied to clipboard

Create GUI for signing the XML file

Open JamesANZ opened this issue 6 years ago • 3 comments

Currently, Makefile serves 3 functions.

  1. Validate the XML file against the schema.
  2. If invalid, use xmllint to highlight the problem. xmllint only works with canonicalized version thanks to the lack of support of entitty references.
  3. If valid, sign it.

All should be done in one tool.

JamesANZ avatar May 21 '19 20:05 JamesANZ

How about a cli instead?

It's easier to add commands to it to do things like validation and lower effort to build. Easier for users to integrate into their processes/tools too.

Or is this specifically for XML signing only (with key management etc) by design? Which makes sense too.

hboon avatar May 22 '19 03:05 hboon

@hboon this is supposed to be for the case that you don't have make installed, i.e. if you use windows. I am wondering if it is simply easier to just install Make if you don't have it, what do you think @colourful-land?

JamesANZ avatar May 22 '19 03:05 JamesANZ

@hboon is suggesting a commandline tool to replace Makefile. Makefile is what we can get with shortest development time. Now, we need something that signs like xmlsectool and debugs like xmllint, which doesn't exist yet (but more or less satisfied with Makefile). In the short future, we need something that can link up Ethereum to show if a TokenScript is trusted, that's the time we can't continue Makefile any more (or by Makfile itself any more).

We need to build the cli tool before building the GUI.

SmartLayer avatar May 22 '19 04:05 SmartLayer