
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
hypercore-signing-request
Advanced tools
Generate shareable signing requests for Hypercore
npm install hypercore-signing-request
Useful for manual multisig
const { generate, decode, signable } = require('hypercore-signing-request')
requestBuffer = await generate(coreOrDrive, { length = core.length })Generate a signing request, returned as a buffer so it can be shared. Only works for non-compat cores (ie manifest backed).
Alternatvely a Hyperdrive can be passed and a joint request for signing both metadata and blob cores will be generated. Only works for v1 manifest backed Hyperdrives.
req = decode(requestBuffer)Decode the signing request. Looks like this:
{
version, // request version
id, // hypercore id
key, // the key as well
manifest, // core manifest
treeHash, // the tree hash
length, // the core length
fork // the core fork id
}
responseBuffer = encodeResponse(response)Encode the signing response. Looks like this:
{
version, // request version
publicKey, // signer public key
requestHash, // request hash
signatures // array of signatures
}
res = encodeResponse(responseBuffer)Decode the signing response.
buffer = signable(publicKey, req)Get the buffer to sign. Pass your public key and it validates that you can sign it.
Apache-2.0
FAQs
Generate shareable signing requests for Hypercore
The npm package hypercore-signing-request receives a total of 568 weekly downloads. As such, hypercore-signing-request popularity was classified as not popular.
We found that hypercore-signing-request demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.