httpsig

command module
v0.0.0-...-39ab72b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 16 Imported by: 0

README

httpsig

A simple HTTP client with HTTP signature support.

Usage

  • Generate an RSA key: make key

  • Add key_id header to public key:

-----BEGIN PUBLIC KEY-----
key_id: my-key

MIIEowIBAAKCAQEAwdCB5DZD0cFeJYUu1W3IlNN9y+NZC/Jqktdkn8/WHlXec07n
...
-----END PUBLIC KEY-----
  • Start Webhookd with HTTP signature support:
$ webhookd --trust-store-file ./key-pub.pem
  • Make HTTP signed request:
$ ./release/httpsig \
  --key-id my-key \
  --key-file ./key.pem \
  http://localhost:8080/echo`

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL