{"_id":"superagent-http-signature","_rev":"26-3d8f2b1a718f4d40089b90cac0e2197c","name":"superagent-http-signature","time":{"modified":"2022-06-27T02:11:57.199Z","created":"2015-03-10T14:04:21.665Z","0.0.1":"2015-03-10T14:04:21.665Z","0.0.2":"2015-03-10T14:08:15.160Z","0.0.3":"2015-03-10T14:09:57.224Z","0.1.0":"2015-03-10T14:16:07.488Z","0.1.1":"2015-03-26T11:46:52.611Z","0.1.2":"2015-04-07T14:14:17.121Z","0.1.3":"2015-04-07T14:18:51.365Z","0.1.4":"2015-07-31T09:08:25.353Z","0.2.0":"2015-08-19T12:56:10.417Z"},"maintainers":[{"email":"tianli.zhang@bitmain.com","name":"tianli.zhang"},{"email":"team@blocktrail.com","name":"blocktrail"},{"email":"me@thomaskerin.io","name":"afk11"}],"dist-tags":{"latest":"0.2.0"},"description":"A plugin for superagent that signs requests following Joyent's HTTP Signature Scheme","readme":"# superagent-http-signature\nA plugin for superagent that signs requests using Joyent's [HTTP Signature Scheme](https://github.com/joyent/node-http-signature/blob/master/http_signing.md).\nForked from [joyent/node-http-signature](https://github.com/joyent/node-http-signature) to be used with superagent.\n\n## Supported algorithms\n - rsa-sha1\n - rsa-sha256\n - rsa-sha512\n - dsa-sha1\n - hmac-sha1\n - hmac-sha256\n - hmac-sha512\n\n## HMAC-only version\nFor usage with browserify using the `index-hmac-only.js` version is recommended because it's a lot smaller without all the other signing code included!\n\n## Installation\nInstall with [npm](http://npmjs.org):\n```\n$ npm install superagent-http-signature\n```\n\n## Usage\n```javascript\nvar superagent = require('superagent');\nvar superagentHttpSignature = require('superagent-http-signature');\n\nsuperagent\n    .get('http://www.example.com')\n    .use(superagentHttpSignature({\n         headers: ['(request-target)', 'content-md5'],\n         algorithm: 'hmac-sha256',\n         key: 'YOUR_KEY',\n         keyId: 'YOUR_SECRET'\n     }))\n    .end(function(err, res) {});\n```\n","versions":{"0.1.0":{"name":"superagent-http-signature","version":"0.1.0","author":{"name":"Ruben de Vries"},"description":"A plugin for superagent that signs requests following Joyent's HTTP Signature Scheme","main":"index.js","repository":{"type":"git","url":"https://github.com/blocktrail/superagent-http-signature.git"},"keywords":["superagent","http-signature"],"dependencies":{"assert-plus":"0.1.4","asn1":"0.1.11","ctype":"0.5.3"},"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/blocktrail/superagent-http-signature/issues"},"homepage":"https://github.com/blocktrail/superagent-http-signature","license":"MIT","gitHead":"a79fb89b893c54c4719d2d5cec104c716e12b76a","_id":"superagent-http-signature@0.1.0","scripts":{},"_shasum":"4df291bba55e630db741ddbb26e6144e718ca40a","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"blocktrail","email":"team@blocktrail.com"},"maintainers":[{"name":"blocktrail","email":"team@blocktrail.com"}],"dist":{"shasum":"4df291bba55e630db741ddbb26e6144e718ca40a","tarball":"https://registry.npmjs.org/superagent-http-signature/-/superagent-http-signature-0.1.0.tgz","integrity":"sha512-5uCbZlnNftuxoajWLoSSQytJBa0PXxllSc4Tbbyl0Ko39DeWcTw94jpe/UfQq+J0esYiXOgBAwZOjgwUnExOqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHjcIxAGZ2wfa99BzhoOYkWla06Py5BVUtIQTM160CllAiEAvSaikWq+aIfzT+q02byDf1MxdVSB5SMMWdS7MeV4iWM="}]},"directories":{}},"0.1.1":{"name":"superagent-http-signature","version":"0.1.1","author":{"name":"Ruben de Vries"},"description":"A plugin for superagent that signs requests following Joyent's HTTP Signature Scheme","main":"index.js","repository":{"type":"git","url":"https://github.com/blocktrail/superagent-http-signature.git"},"keywords":["superagent","http-signature"],"dependencies":{"browserify-sign":"^3.0.0","create-hmac":"^1.1.3"},"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/blocktrail/superagent-http-signature/issues"},"homepage":"https://github.com/blocktrail/superagent-http-signature","license":"MIT","gitHead":"db99b4fde22ac00bade83f21806f3e3d9965a7db","_id":"superagent-http-signature@0.1.1","scripts":{},"_shasum":"7f31e4177e034431ca83f30302b92c096f141c86","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"blocktrail","email":"team@blocktrail.com"},"maintainers":[{"name":"blocktrail","email":"team@blocktrail.com"}],"dist":{"shasum":"7f31e4177e034431ca83f30302b92c096f141c86","tarball":"https://registry.npmjs.org/superagent-http-signature/-/superagent-http-signature-0.1.1.tgz","integrity":"sha512-BVQ0AzLVqYPVYLWoQl8NXVcGIgoZullmMGjTaAB54wCQoxQqrCbROUcM/Zt1oFV/vVckXU7fuHTh4tc86wU44g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxnaqNRws6DHPz8aRYEM5gmknewmyrgXuHJVVhLfqzzQIhALCzNonOIavtIzU+GGPQMVnFOSUNWObA6f3WSIgjqOmk"}]},"directories":{}},"0.1.3":{"name":"superagent-http-signature","version":"0.1.3","author":{"name":"Ruben de Vries"},"description":"A plugin for superagent that signs requests following Joyent's HTTP Signature Scheme","main":"lib/index.js","repository":{"type":"git","url":"https://github.com/blocktrail/superagent-http-signature.git"},"keywords":["superagent","http-signature"],"dependencies":{"browserify-sign":"^3.0.0","create-hmac":"^1.1.3"},"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/blocktrail/superagent-http-signature/issues"},"homepage":"https://github.com/blocktrail/superagent-http-signature","license":"MIT","gitHead":"ef07a2bac354e8b22141872e6f44f453c86fd0b5","_id":"superagent-http-signature@0.1.3","scripts":{},"_shasum":"339b06f1b4556847d79fac6d6d2a641efda91110","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"blocktrail","email":"team@blocktrail.com"},"maintainers":[{"name":"blocktrail","email":"team@blocktrail.com"}],"dist":{"shasum":"339b06f1b4556847d79fac6d6d2a641efda91110","tarball":"https://registry.npmjs.org/superagent-http-signature/-/superagent-http-signature-0.1.3.tgz","integrity":"sha512-awvzOSQxts79nDIn8gbaHVcpCivnPU9xqPwE5/IoUs6kVUGyhuAi/Ydkp/v32pK8vlxZAd22ve2A7Dwf1ygdQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBq5L3xNYunOhY/nN0Iy3grarXLCIZlVOmqaqSD4TGgkAiEA3hpIybnNYBkfiwjA/j+pc9E4hbKTumVvnbEWqpOvLAg="}]},"directories":{}},"0.1.4":{"name":"superagent-http-signature","version":"0.1.4","author":{"name":"Ruben de Vries"},"description":"A plugin for superagent that signs requests following Joyent's HTTP Signature Scheme","main":"index.js","repository":{"type":"git","url":"https://github.com/blocktrail/superagent-http-signature.git"},"keywords":["superagent","http-signature"],"dependencies":{"browserify-sign":"^3.0.0","create-hmac":"^1.1.3"},"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/blocktrail/superagent-http-signature/issues"},"homepage":"https://github.com/blocktrail/superagent-http-signature","license":"MIT","gitHead":"6eb7d507512e9bf24fe69fa0387cb16e718a8181","_id":"superagent-http-signature@0.1.4","scripts":{},"_shasum":"d724f601fc809aa9840aa510d11c72fb43192ea3","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"blocktrail","email":"team@blocktrail.com"},"maintainers":[{"name":"blocktrail","email":"team@blocktrail.com"}],"dist":{"shasum":"d724f601fc809aa9840aa510d11c72fb43192ea3","tarball":"https://registry.npmjs.org/superagent-http-signature/-/superagent-http-signature-0.1.4.tgz","integrity":"sha512-HErTv+5tpu/CrFFvHVpbbBovgAOmxGPn1AqL/Uf6hSanJebaB0V0VApaHxilqrJcNlmxFWF+OKXbXUgc3GqW3Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG9EYTP/jAiMWeiG92uFklTjIUgMMVlUjb8M2Rj/l61NAiEA352Yg0OKVRmfrtsx9y5lpvSua5qJLRDDcj6RAqxkJ1M="}]},"directories":{}},"0.2.0":{"name":"superagent-http-signature","version":"0.2.0","author":{"name":"Ruben de Vries"},"description":"A plugin for superagent that signs requests following Joyent's HTTP Signature Scheme","main":"index.js","repository":{"type":"git","url":"https://github.com/blocktrail/superagent-http-signature.git"},"keywords":["superagent","http-signature"],"dependencies":{"browserify-sign":"^3.0.0","create-hash":"^1.1.1","create-hmac":"^1.1.3"},"engines":{"node":">=0.10"},"bugs":{"url":"https://github.com/blocktrail/superagent-http-signature/issues"},"homepage":"https://github.com/blocktrail/superagent-http-signature","license":"MIT","gitHead":"03c8dead6a6a73cdc8da367987be49d0ae5533ef","_id":"superagent-http-signature@0.2.0","scripts":{},"_shasum":"30185bc8eebfc8e89048ed4cd7ccf2908363569d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"blocktrail","email":"team@blocktrail.com"},"maintainers":[{"name":"blocktrail","email":"team@blocktrail.com"}],"dist":{"shasum":"30185bc8eebfc8e89048ed4cd7ccf2908363569d","tarball":"https://registry.npmjs.org/superagent-http-signature/-/superagent-http-signature-0.2.0.tgz","integrity":"sha512-DkoCwfxAidq5Jj8KEfe1JwoSToBPrY3dOhYCGTlB+kscPFhcvb5gu+RYkhCzP0A4FgHrE9fv5rHmHrkkzfYVqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGcTun8+WoGanLNm1SyY04leF7R2UTXRHy4hQwE4JeaEAiEA7ueBuUhz00DAw94DghNsgyaxwCJuNMwiQcj3uiYK11Q="}]},"directories":{}}},"homepage":"https://github.com/blocktrail/superagent-http-signature","keywords":["superagent","http-signature"],"repository":{"type":"git","url":"https://github.com/blocktrail/superagent-http-signature.git"},"author":{"name":"Ruben de Vries"},"bugs":{"url":"https://github.com/blocktrail/superagent-http-signature/issues"},"license":"MIT","readmeFilename":"README.md"}