Hey all! I just published a Connect middleware module we're using for authenticating requests with the HTTP Signature Scheme. It's basically just a wrapper around Joyent's reference implementation, with some convenience factors for configuration and asynchronous public-key fetching.
The skinny: * npm install connect-http-signature * https://github.com/jmar777/connect-http-signature The fat: >From the README: "The connect-http-signature module exports two middleware components: verify and gateway. These components separate the logic of verifying a request's signature, and the decision of accepting or rejecting a request based on that verification. This separation provides a simple but flexible solution to enforcing request authentication." Basic usage: // signature verification app.use(httpSignature.verify({ pub: fs.readFileSync(__dirname + '/rsa_public.pem', 'ascii') })); // securing routes var gateway = httpSignature.gateway(); app.get('/secured', gateway, function(req, res, next) { res.json({ data: 'WAHOO' }); }); More info and examples on the GitHub page. This is my first public module on GitHub or npm, so feedback of any sort is appreciated! -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
