Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@lanetix/make-token
Advanced tools
Module to simplify interating with the auth service to get a token. Up to ~150MB of tokens are cached for slightly less than the time they take to expire (one day), at which point the least recently used are removed.
Ensure that you are are logged in as the lanetix npm user via npm login
or
use a .npmrc
file with a token for the lanetix user.
npm install --save @lanetix/make-token
To use this library,
var makeToken = require('@lanetix/make-token')(
'http://url.to.auth',
'private....key....',
'urn:issurer'
);
makeToken.forUser(1337) //user id
.then(function (token) {
//do stuff with token
});
makeToken.forSystemUser(42) //org id
.then(function (token) {
//do stuff with token
});
In order for auth to not 401, you'll need to register your service's public key here.
FAQs
make a jwt given an org or a user
The npm package @lanetix/make-token receives a total of 0 weekly downloads. As such, @lanetix/make-token popularity was classified as not popular.
We found that @lanetix/make-token demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 30 open source maintainers 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.