
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
PyCreds is a Python Library written in C++ to keep credentials safe by storing in platform keystores. On MacOS the passwords are managed by the Keychain, on Linux they are managed by the Secret Service API/libsecret, and on Windows they are managed by Credential Vault.
get_password
, set_password
, delete_password
, find_password
and find_credentials
.Install with pip:
$ pip install pycreds
# Or Install with cli
$ pip install pycreds[cli]
get_password(service, account)
Get the stored password for service
and account
.
service
- The string service name.
account
- The string account name.
Returns password as string
if found else raises ValueError
.
set_password(service, account, password)
Save the password
for service
and account
.
service
- The string service name.
account
- The string account name.
password
- The string password.
Returns True
if successful else raises ValueError
.
delete_password(service, account)
Delete the password
for service
and account
.
service
- The string service name.
account
- The string account name.
Returns True
if successful else raises ValueError
.
find_password(service)
Finds password
for service
.
service
- The string service name.
Returns password as string
if found else returns None
.
find_credentials(service)
Finds credentials for service
.
service
- The string service name.
Returns a list of credential dict in format {"account": "foo", "password": "bar"}
.
Usage: pycreds [OPTIONS] COMMAND [ARGS]...
PyCreds Command Line Interface.
Options:
--help Show this message and exit.
Commands:
delete Delete Password.
get Get Password.
set Set Password.
FAQs
Python Library to keep credentials safe by storing in platform keystores.
We found that pycreds demonstrated a healthy version release cadence and project activity because the last version was released less than 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.