digitalbazaar / http-signature-header

BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Add sign #9

Closed aljones15 closed 5 years ago

aljones15 commented 5 years ago

Adds a sign function to the binary.

Basic Example Command:

cat ../http-signatures-test-suite/test/latest/input/default-test.httpMessage | ./bin/http-signature-header-js-sign --headers "Digest" --private-key ../../../keys/ed25519.private --keyId ./node_modules/mock_keys/ed-mock-pub.json

Passes: