Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@buttercup/credentials
Advanced tools
Encrypted credentials handler for Buttercup
This library provides the Credentials
implementation used throughout the Buttercup suite. Credentials is a toolkit to handle account/login data in a secure manner by providing easy encryption/decryption of user details.
Simply run npm install @buttercup/credentials --save
to install.
This library requires @buttercup/app-env
for environment and low-level functionality initialisation. This is usually performed alongside buttercup
core.
Credentials can be created in a variety of ways:
const Credentials = require("@buttercup/credentials");
// ---
const c1 = new Credentials();
c1.username = "bob";
c1.password = "test123";
const c2 = new Credentials({ type: "example", username: "alice", password: "123test" });
const c3 = Credentials.fromPassword("amazingPass");
Credentials
.fromSecureString(encryptedString, "myPass")
.then(creds => { /* ... */ });
For more details on what methods are available, check the API documentation.
Note: The type
field is used internally by Buttercup, but is not required for external usage.
v2.0.0
2020-01-03
app-env
used for core crypto functionalityFAQs
Encrypted credentials handler for Buttercup
The npm package @buttercup/credentials receives a total of 10 weekly downloads. As such, @buttercup/credentials popularity was classified as not popular.
We found that @buttercup/credentials 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.