Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

HMAC Auth plugin for Joan Visionect and HTTPie.

Project Description

HMAC auth plugin for HTTPie.

HTTP requests will be signed with a shared secret key using HMAC. Differs from AWS or other HMAC strings because: JoanAssistant The string to sign format is:

<Method>\n\n
<Content-Type>\n
<Date>\n
<URL>

Example String-to-sign

GET

application/json
Sun, 18 Jun 2017 11:48:26 GMT
/api/device/

Example Authorization Header with HMAC signature

Authorization: 1b9dbaf5b1183037:Mx0Qi57rqYIbc4gDiDKqYERK8Vmzdwhqk3S+OYoXRu0=

Installation

$ pip install httpie-visionect-auth

You should now see visionect under --auth-type in $ http --help output.

Usage

$ http --auth-type=visionect --auth='client:secret' example.org

Examples

To authenticate a client request when an access key is required by the server to lookup the shared secret:

$ http --auth-type=visionect --auth="client:secret" example.org

To authenticate a client request when there is no requirement for a client to supply an access key:

$ http --auth-type=visionect --auth=":secret" example.org

License

Copyright (c) 2017 Pierre. Available under the MIT License.

Release History

Release History

This version
History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
httpie-visionect-auth-0.0.1.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256 Source Jun 18, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting