Skip to main content

Command-line Passman client

Project description

Pebble - Command-line Passman client

Pebble is a command-line client for the Passman password manager.

It supports read and write access to Passman vaults: it can list, show, create, modify or delete entries in a vault. It cannot, however, create or delete the vaults themselves.

Note that write support (creating, modifying, and deleting entries) should be considered experimental at this stage. Use it on your vaults at your own risks.

Configuration

Pebble requires a configuration file describing the vault(s) to use. The configuration file uses the INI syntax and is expected to be at $XDG_CONFIG_HOME/pebble/config by default; another location may be specified using the -c option.

A vault is described in the configuration file by a section like in the following example:

[default]
host: host.example.com
user: alice
password: mypassword
vault: MyVault

The file may contain several sections, one for each different vault. Use the -s option to specify the name of the section to use (and thus, which vault to connect to). By default, a section named default will be used.

Inside a vault section, the password field may be omitted, in which case the password will be asked interactively. Note: This is the Nextcloud password, not the vault’s password! The vault password is always asked interactively.

Use

With at least one vault configured, Pebble may then be used through the pbl command and its subcommands. Current available subcommands are:

  • list to list credentials in the vault;
  • show to display a credential’s details;
  • new to add a new credential;
  • edit to modify a credential;
  • delete to remove a credential from the vault;
  • conf to create or edit the configuration file.

In addition, calling pbl without any subcommand will start an interactive shell in which subcommands can be invoked successively without quitting the program. Note: currently, this will only work with Click < 8, because Click-shell (required for this feature) does not support Click 8 yet.

Calling pbl with the -h option will display the general help; calling a given subcommand with the -h option will display the help for that subcommand.

The program will interactively for the vault passphrase when it is needed to decrypt or encrypt a credential.

Copying

Pebble is distributed under the terms of the GNU General Public License, version 3 or higher. The full license is included in the COPYING file of the source distribution.

Homepage and repository

The project is located at https://incenp.org/dvlpt/pebble.html with the manual at https://incenp.org/dvlpt/pebble/index.html. The source code is available in a Git repository at https://git.incenp.org/damien/pebble.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

incenp.pebble-0.4.4.tar.gz (30.4 kB view hashes)

Uploaded Source

Built Distribution

incenp.pebble-0.4.4-py3-none-any.whl (25.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page