[Cryptech Tech] Command line interface
Fredrik Thulin
fredrik at thulin.net
Tue May 3 21:08:59 UTC 2016
On Tuesday, May 03, 2016 08:38:54 PM Peter Stuge wrote:
> Fredrik Thulin wrote:
> > > Check out the Concise Binary Object Representation CBOR in RFC 7049,
> > > I like it and would suggest to use it for structured communication
> > > on both UARTs.
> >
> > Hmm, wouldn't that just move the UI problem to the host computer,
> > in effect meaning we would have to write some kind of configuration
> > client software to use on Linux, Windows and Mac at the least?
>
> Right - and that's fairly easy. Even with UARTs (no native USB)
> there's libserialport which offers great platform abstraction.
>
> Then it's really just a command line tool. That's straightforward to
> write portably.
Straightforward maybe, but also time consuming.
> Actually -- why re-implement a shell at all, why not just create a
> simple tool with the commands that are needed?
I considered that too, and I think the answer is that managing a HSM might
easily require some kind of session, where you log in as an administrator with
a certain set of privileges and then perform whatever operations... or???
Otherwise, that might very well be the easiest way to get a simple and yet
powerful configuration mechanism. I'll think about it some more.
/Fredrik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cryptech.is/archives/tech/attachments/20160503/32973094/attachment-0001.html>
More information about the Tech
mailing list