Nextcloud Password client
Find a file
2024-11-16 23:22:21 +02:00
config Add install wrapper and config 2024-11-16 23:06:35 +02:00
nc_password_client fix help 2024-11-16 23:11:54 +02:00
.gitignore first commit 2024-11-10 12:53:00 +02:00
Dockerfile first commit 2024-11-10 12:53:00 +02:00
install.sh Add install wrapper and config 2024-11-16 23:06:35 +02:00
LICENSE first commit 2024-11-10 12:53:00 +02:00
nc_password_client.sh Use script_dir for wrapper 2024-11-16 23:10:53 +02:00
podman_build.sh first commit 2024-11-10 12:53:00 +02:00
podman_run.sh first commit 2024-11-10 12:53:00 +02:00
pyproject.toml Add encrypted file cache of passwords 2024-11-16 22:34:08 +02:00
README.md improve readme 2024-11-16 23:22:21 +02:00
requirements.txt Add encrypted file cache of passwords 2024-11-16 22:34:08 +02:00
setup.cfg Add encrypted file cache of passwords 2024-11-16 22:34:08 +02:00
setup.py Update metadata 2024-11-11 22:55:23 +02:00
wrapper.sh Add install wrapper and config 2024-11-16 23:06:35 +02:00

nc_password_client

Command line client (CLI) for the Nextcloud Passwords app. Manage your password and import them from Password Store.

Requirements

See requirements.txt

Installation

Linux

To install for example in your ~/.local/bin folder:

./install.sh --destination ~/.local/bin

To install system-wide:

sudo ./install.sh --destination /usr/local/bin

Change your configuration file in "${HOME}/.config/nc_password_client.conf" (see the example in the config folder).

Usage

Usage: nc_password_client.sh [OPTIONS] COMMAND [ARGS]...

Options:

option parameters description
-d, --debug-level [CRITICAL ERROR
-l, --log-file TEXT File to store all debug messages.
-H, --host TEXT Nextcloud host name [required]
-u, --user TEXT Nextcloud user name [required]
-a, --api-token TEXT Nextcloud user's application token [required]
-p, --cse-password TEXT Nextcloud user's end-to-end encryption password
-t, --timeout INTEGER Timeout for HTTPS requests
-c, --cache-duration INTEGER Number of seconds to hold the list of passwords
-P, --https-proxy TEXT HTTPS proxy to use to connect to the Nextcloud instance
--config FILE Read configuration from FILE.
--help Show this message and exit.

Commands:

command description
create-password Create a password
create-passwords-folder Create a password folder
delete-all-passwords Delete all passwords
delete-password Delete a password
delete-passwords-folder Delete a password folder
list-passwords-folders List all password folders
ls List all password
migrate-pass Migrate Password Store passwords to Nextcloud...
remove-duplicates Remove duplicate passwords
show Show a single password

Use --help after the command to get more details of it's options