
Security News
Rust RFC Proposes a Security Tab on crates.io for RustSec Advisories
Rustâs crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.
bep44-storage
Advanced tools
Bittorrent DHT style content-addressable storage for other databases. Basically a generalized version of BEP44.
Bittorrent DHT style content-addressable storage for other databases. Basically BEP 44 for other databases.
var db = require('level')('./db')
var storage = require('bep44-storage')
var store = storage(db)
store.putIm(Buffer('hello there', function(err, key){
if(err){
throw err
}
console.log(key)
})
storage(db)Creates a store using the database provided. db must contain the functions put, get, del, and createReadStream. See Level DB.
store.putIm(data, cb)Stores the buffer data as an immutable object. It then calls the function cb with any errors and the key used in store.get.
store.putM(data, keyPair, cb)Stores the buffer data as a mutable object using the keyPair. It then calls the function cb with any errors and the key used in store.get.
store.get(key, cb)Gets the data, whether it be mutable or immutable, at the key. It then calls the function cb with any errors and the data.
store.cleanup()Goes through every key-value pair and removes the ones that aren't valid.
storage.keyPair()Creates a keyPair for use with store.putM.
storage.valid(key, value)Returns whether the key-value pair is valid.
FAQs
Bittorrent DHT style content-addressable storage for other databases. Basically a generalized version of BEP44.
We found that bep44-storage 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
Rustâs crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.

Security News
/Research
Socket found a Rust typosquat (finch-rust) that loads sha-rust to steal credentials, using impersonation and an unpinned dependency to auto-deliver updates.

Research
/Security Fundamentals
A pair of typosquatted Go packages posing as Googleâs UUID library quietly turn helper functions into encrypted exfiltration channels to a paste site, putting developer and CI data at risk.