Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
fpad-signatures
Advanced tools
Create and verify RS256 based JWT oauth-jwt-bearer client authentications.
npm install fpad-signatures
var fsig = require('fpad-signatures');
Generate a signed audit with the given headers and the client's private key. The generate
function appends a Json Web Token (JWT) to the audit's signatures
.
audit
{Object} A food safety audit per the Framework for Produce Audit Data (FPAD).
key
{PEM JWK} The key used to sign the audit. Supported key types include those supported by kjur/jsrsasign's KJUR.KEYUTIL.getKey
function. If the JWK has a kid
property it will be
included in the client assertion header.
headers
{Object} The headers
parameter is passed directly to
kjur/jsrsasign. This module will not allow the caller to override the properties required by the [jwt-bearer][jwt-bearer] RFC. You can add properties to the header and claim set with the following sub-objects:
FAQs
Generate and verify Json Web Tokens within food safety audits.
The npm package fpad-signatures receives a total of 3 weekly downloads. As such, fpad-signatures popularity was classified as not popular.
We found that fpad-signatures 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.