About
spw is an application that stores and retrieves passwords in a secure manner. spw is designed to be quick, light on resources/dependencies, and command line/script driven.
Passwords are stored in an encrypted format using PKCS1_OAEP encryption. This means you use a public and private key to encrypt and decrypt items stored within the store. This is a secure method of password storage and there is virtually no chance someone (including yourself) can view decrypted passwords without the private key.
spw is intended to provide a secure mechanism to store (and more importantly retrieve) passwords. spw's command-line interface allows easy integration into openbox's keyboard shortcut functionality (or similar tools). spw provides an easy mechanism for copying a password to the clipboard (e.g. C+A+j will copy the gmail junk account's password to your clipboard).
Latest Changes
- minor cleanup of --version
- update copyright date
Requiremnts
- python3
Install
We recommend using pipx. To install:
- with pipx:
pipx install spw - with pip:
pip install --user spw
Configure
cryptik uses a config file to store your setup. This file contains information where your secure database is stored and the private key to use as well as other configuration items. You can grab the sample config file from spw/example/spw.ini.template and place it at ~/.config/spw/spw.ini.
Refer to the example spw.ini.template file for details on each config item. The default (e.g. spw.ini.template) should suffice for most usage; however, you can change where your keys are located, logging level, and more in the file.
Usage
After spw has been installed and setup you can use it as follows:
- add a key:
spw --add-key="abc" --value="123" - get a key:
spw --get-key="abc"- note that the password retrieved is not show but rather placed on your clipboard so you can easily paste it somewhere ;-)
You can find more on the usage by calling help: spw --help
Notes
- to avoid special character issues in keys/values, surround them with single (') or double (") quotes. If your password has single quotes in it, surround it with double quotes. If your password has double quotes in it, surround it with single quotes.
- you can use spw to store any string for quick retrieval, a commonly used URL, a base64 encoded picture, a snippet of code, etc.
More Info
Metadata
Release files for spw 1.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spw-1.12.0.tar.gz | 17.9 kB | Without provenance | Details for spw-1.12.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spw-1.12.0-py3-none-any.whl | Python 3 | none | any | Details for spw-1.12.0-py3-none-any.whl |
Total release size: 36.7 kB
Release files / spw-1.12.0.tar.gz
| Download URL | spw-1.12.0.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e6bf118a62fb3c95727912ad4a7cdac76f0305d4e4767bc96127e24180c0895b
|
|
BLAKE2b-256 checksum How to use checksums |
0da0839a7a88833e1c8ae8e2bcbe63bc9800e57f465d5b8ab348124474ad5f7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.7 Linux/6.6.61-1-lts
|
Release files / spw-1.12.0-py3-none-any.whl
| Download URL | spw-1.12.0-py3-none-any.whl |
|---|---|
| Size | 18.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6910ea79b9543332f005a467c03e58bad060dfc125ef0a4f656f7a9221ca03d
|
|
BLAKE2b-256 checksum How to use checksums |
b8805564750e09b72c4ab4f656a24df1b9bf5bb73df0d2371ff877ef8c6ee7e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.7 Linux/6.6.61-1-lts
|
Security for spw 1.12.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.