Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
couch-proxy-auth
Advanced tools
Creates CouchDB Proxy Authentication Headers
npm install couch-proxy-auth
var xauth = require('couch-proxy-auth')
var headers = xauth('username', 'role', 'secret')
/*
{
'X-Auth-CouchDB-UserName': 'username'
'X-Auth-CouchDB-Token': '0xde7c9b8bbaab8a73f090cd4d9',
'X-Auth-CouchDB-Roles': 'role'
}
*/
The token is generated by HMAC-SHA1(secret, username) and represented as Hex.
xauth(username, roles, secret)
username
Name of the user in CouchDBroles
Array of (multiple) roles or string for a singe rolesecret
Optional, but recommended, shared secret (see documentation)For more information see the CouchDB Docs
MIT
FAQs
Creates CouchDB Proxy Authentication Headers
The npm package couch-proxy-auth receives a total of 4 weekly downloads. As such, couch-proxy-auth popularity was classified as not popular.
We found that couch-proxy-auth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.