nicolasdanelon / password-manager

copy to clipboard, encrypt binary

Home Page:https://ciremun.github.io/password-manager/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

password-manager

build-console-ci build-ui-desktop build-ui-android Coverity Scan Build Status

Usage

./pm [flags]                      read or write data

sync:                             set PM_SYNC_REMOTE_URL env var

flags:

-d       --data                   data to encrypt
-df      --data-file              data to encrypt from file
-l       --label                  label data / find by label
-dl      --delete-label           delete label and its data
-gp      --generate-password [N]  put random data
-c       --copy [label]           win32: copy to clipboard, posix: pipe with clip tools
-k       --key                    key
-kf      --key-file               key file path
-i       --input                  encrypted file path
-o       --output                 decrypted file path
-b       --binary                 binary mode
-b64enc  --base64-encode [str]    base64 encode string to stdout, optional key
-b64dec  --base64-decode [str]    base64 decode string to stdout, optional key
-v       --version                display version
-h       --help                   display help

Build

sh build_console.sh

Examples

generate and copy a password

echo "secret_key" > key.txt
./pm -kf key.txt -gp -c password_name | xclip

copy saved password

./pm -kf key.txt -c pass | xclip

encrypt binary

./pm -kf key.txt -i binary -o binary.enc -b

decrypt binary

./pm -kf key.txt -i binary.enc -o binary.dec -b

print all passwords

./pm -kf key.txt

base64 encode string to stdout, optional key

./pm -b64enc "string" [-kf key.txt]

Thank

Dear ImGui
stb
Tiny AES
rawdraw
nobuild
b64.c

About

copy to clipboard, encrypt binary

https://ciremun.github.io/password-manager/

License:MIT License


Languages

Language:C++ 81.4%Language:C 18.0%Language:Makefile 0.5%Language:HTML 0.1%Language:Shell 0.0%Language:Batchfile 0.0%