
Security News
Federal Government Rescinds Software Supply Chain Mandates, Makes SBOMs Optional
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.
Password protected ed25519 key pairs.
await SecureKey.generate('/path/to/keyfile')
// interactive prompt for password
const keyPair = await SecureKey.open('/path/to/keyfile')
// interactive prompt for password
// key pair is locked initially
keyPair.unlock()
// use key pair
const signature = crypto.sign(message, keyPair)
// lock key pair in between usage
keyPair.lock()
// ... do some more
// clear key pair finally
keyPair.clear()
await SecureKey.generate(path, opts)Generate a new key pair and store to path.
Public key will be written to path.public
opts can be passed:
password: specify password for non-interactive modeconst keyPair = await SecureKey.open(path, opts)Open a key pair stored at path.
opts can be passed:
password: specify password for non-interactive modekeyPair.unlock()Unlock the key pair.
keyPair.lock()Lock the key pair.
Any attmept to access keyPair.secretKey will trigger a segfault.
keyPair.clear()Clear the secret key from memory.
keyPair.secretKeyThe secret key.
keyPair.publicKeyThe public key.
keyPair.lockedBoolean indicating if the key pair is locked.
Apache-2.0
FAQs
Password protected ed25519 key pairs
The npm package secure-key receives a total of 0 weekly downloads. As such, secure-key popularity was classified as not popular.
We found that secure-key demonstrated a not healthy version release cadence and project activity because the last version was released 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
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.

Research
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.