![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@leisurelink/http-signature
Advanced tools
Reference implementation of Joyent's HTTP Signature scheme.
A fork of Joyent's HTTP Signature Scheme reference implementation with JWT as an extension.
See Joyent's repository for basic usage and up-to-date information about HTTP Signature.
For reference, you may also peek at HTTP Signature's Internet-Draft status.
HTTP Signature enables the server receiving an HTTP request to trust the identity of the sender as well as the integrity of the message itself without the need for multiple round-trips.
In plain language, this means that the server can trust that the caller is who they say they are (authentic), and that what the server received has not been tampered with in transit (message integrity).
HTTP Signature is:
From the server's point of view, HTTP Signature verifies the identity of a particular network endpoint (the caller) at a particular point in time (at message generation). The confidence this affords the server satisfies many security architectures; however, if the caller makes requests to the server on another security principal's behalf (e.g. an application level user), it is desirable to have the other principal's security related context conveyed with the request. This is where JSON Web Token (JWT) comes in to play.
JSON Web Token encodes a principal's identity claims into a security token that may be trusted across collaborating systems (a federation).
This fork leverages HTTP Signature's built-in extension method to piggy-back a JWT with an HTTP Signature, enabling API endpoints to trust not only the caller (which may be another API endpoint), but also trust an additional security context (the end user).
We endeavor to stay entirely drop-in compatible with the forked repository so that libraries that rely on Joyent's module (request
, restify
, etc.) work correctly when this module is overlaid.
As such, this module doesn't create JSON Web Tokens, it simply includes them in the signature if you provide one.
On the server side, Joyent's reference implementation's will place the provided jwt
property on the parsed options: parsed.options.jwt
.
var httpSignature = require('http-signature');
function signWithOptionalJwt(req, jwt, keyId, key) {
var options = {
key: key,
keyId: keyId
};
if (jwt) options.jwt = jwt;
httpSignature.sign(req, options);
return req;
}
Many node modules already rely on HTTP Signature, so this module is installed by overlaying/patching it in your module's package.json
file.
{
"name": UR-module,
...
"dependencies": {
...
"http-signature": "LeisureLink/node-http-signature",
...
}
}
This module is also published to npm as @leisurelink/http-signature.
MIT.
See https://github.com/LeisureLink/node-http-signature/issues.
FAQs
Reference implementation of Joyent's HTTP Signature scheme.
The npm package @leisurelink/http-signature receives a total of 3 weekly downloads. As such, @leisurelink/http-signature popularity was classified as not popular.
We found that @leisurelink/http-signature demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 24 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.