The crux of DSIG is:
gpgcommand and works in both Node.js and the Browser.
The private key, public key, fingerprint and signature use a fully valid OpenPGP format and hence they could even be used with GnuPG, although the DSIG signature is a clear-signed OpenPGP message carrying both the SHA-512 digest of the payload and optional meta information.
$ npm install [-g] dsig
See the Example section of the Unix manual page for an example how to prepare public/private key pair and fingerprint, and then sign and verify an application distribution archive or an application runtime license.
See Unix manual page.
Application Programming Interface (API):
See TypeScript API definition.
Copyright © 2015-2021 Dr. Ralf S. Engelschall
Licensed under LGPL 3.0