                oauth_sign - generate an OAuth signature

OAuth is a three-party authorization protocol described in RFC5849.
Oauth_sign generates a signature header to use when making an OAuth
request.

To use it, you supply the four cryptographic cookies and the method
and URL of the request.  If it's a POST request with extra
parameters, you have to give those too.  Oauth_sign puts all this
together and makes the signature string.  The signature is generated
using HMAC-SHA1 as specified in RFC section 3.4.2, and is returned as
an Authorization header value as specified in RFC section 3.5.1.  This
header can then be used in an HTTP request via, for example, the
-h flag in http_get(1) and http_post(1) or the -H flag in curl(1).

The signature may also be generated as query parameters, as specified
in RFC section 3.5.3, by using the -q flag.

The signature generation code is also available as a C function,
if you want to link it into your code directly.

See the manual entry for more details.

Files in this distribution:

    README		this
    Makefile		guess
    oauth_sign.c	source file
    oauth_sign.1	manual entry
    liboauthsign.h	library include file
    liboauthsign.c	library source file

To build: just do a make.

Feedback is welcome - send bug reports, enhancements, checks, money
orders, etc. to the addresses below.

    Jef Poskanzer  jef@mail.acme.com  http://www.acme.com/jef/
