cpm(1)

cpm1

Console password manager

Usage

cpm [--config FILE] [--configtest] [--encoding] [--file FILE] [--help] [--key KEY] [--noencryption] [--readonly] [--security] [--testrun TYPE] [--version] [PATH]

Overview

Keep a password database safe and encrypted.

--config, -c

configuration file to use [~/.cpmrc]

--configtest

verify the configuration file and exit

--debuglevel

debuglevel (0=off, 1 - 99)

--encoding, -e

the encoding in which keyboard input arrives [ISO-8859-1]

--environment

list the environment after cleanup

--file, -f

database file to use [~/.cpmdb]

--help, -h

display this help

--key

overwrite the default encryption keys and use this key instead; repeat for several keys

--noencryption

turn off file encryption WARNING: THIS IS FOR DEVELOPMENT AND TESTING ONLY!

--readonly, -r

open the database in read-only mode

--security, -s

run a security check and show the current security status

--testrun

run one of the testmodes

backup

run test on the backupfile creation

compress[1-6]

run compression test 1-6

decrypt

run test on the decryption code

encrypt

run test on the encryption code

environment

run test on the environment validation

garbage

run test on garbage input files

searchpattern

run test on the search patterns This only works when the application has been compiled with the compiler flag -DTEST_OPTION.

--version

display the version and exit

PATH

path to display the password for

Keys

The following keys launch commands in the GUI of cpm:

* ^A

add a new node to the current node.

* ^D

delete the currently selected node and all its subnodes.

* ^E

edit the currently selected node.

* ^H

show the help screen.

* ^K

edit the currently used encryption keys.

* ^N

edit the name of the current level.

* ^O

edit the comment of the selected node.

* ^P

edit the current node and suggest a password.

* ^W

write the database to disk.

Environment

The following environment variables are used by the application:

* GNUPGHOME

If set directory used instead of "~/.gnupg".

* GPG_AGENT_INFO

Used to locate the gpg-agent

* HOME

Used to locate the default home directory.

* LANG

Used to determine the user's language.

* COLUMNS

Used to size some displays to the full size of the screen.

* LINES

Used to size some displays to the full size of the screen.

•

NCURSES_NO_UTF8_ACS Used to configure terminal behaviour with special charaters, see ncurses(3).

* TERMCAP

Terminal settings of the currently used terminal.

* TERM

Terminal settings of the currently used terminal.

All other variables are discarded at program startup.

Import

The data import utilities are installed in /usr/share/cpm and the following formats can be imported:

•

csv

•

passwordsafe

•

pms

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Reporting bugs

Report bugs to <[email protected]>.

From cpm 0.32-1.6 in Debian 13 (Trixie). Parsed by carta from the page's man source.