
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@ddatabase/multi-key
Advanced tools
Function that takes a dDatabase and returns a new one that's signed by a new keypair but backed by the same data.
Function that takes a dDatabase and returns a new one that is signed by a new key pair but backed by the same data.
npm install @ddatabase/multi-key
Useful if you want to do one-off sharing of a dDatabase
const multiKey = require('@ddatabase/multi-key')
// returns a new feed that is identical as the one passed
// but signed by a new key pair
const newFeed = multiKey(feed)
feed.append('hello')
newFeed.get(0, console.log) // returns 'hello'
newFeed = multiKey(feed, [keyPair], [options])Create a new dDatabase that is backed by the same data as another one but signed by a new key pair.
You can replicate this new one to other people just like you would any other dDatabase.
If you want to use a specific new key pair pass it in as the 2nd arguments. Otherwise a random one is generated.
All options are passed to the dDatabase constructor.
MIT
FAQs
Function that takes a dDatabase and returns a new one that's signed by a new keypair but backed by the same data.
We found that @ddatabase/multi-key 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.