pwdm

command module
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2023 License: MIT Imports: 1 Imported by: 0

README

pwdm

Simple application for encrypted password storage and quick recall.

The application uses the session key set by the set-session command to encrypt and decrypt values. On decryption it has no knowledge of what session key was used with which values, the only indicator is whether the decryption was successful or not. This means the user can use as many or as few session keys to manage different groups of data as they want as long as they can remember those keys. This is a core concept of this application and it will not change.

Usage

First set a session key to use for encryption and decryption. Once the session key is set, all operations will use this key. If you want to change it, just run the set-session command again.

$ ./pwdm set-session example

To add a value to the store, use the add command:

$ ./pwdm add some-descriptive-key password-to-store

To retrieve a value, there's a few ways to use the get command.

By default it will print the value with no trailing newline characters for piping:

$ ./pwdm get some-descriptive-key
password-to-store%

To have the application append a newline, pass the -n/--newline flag:

$ ./pwdm get -n some-descriptive-key
password-to-store

In order to copy the retrieved value straight to the clipboard, run the command with the --clipboard/-c flag.

$ ./pwdm get -c some-descriptive-key

Documentation

Overview

Copyright © 2023 Alfred Dobradi <alfreddobradi@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL