DOKK / manpages / debian 12 / cpm / cpm.1.en
cpm(1) User Commands cpm(1)

cpm - Console Password Manager

cpm [--config FILE] [--configtest] [--encoding] [--file FILE] [--help]

[--key KEY] [--noencryption] [--readonly] [--security] [--testrun TYPE]
[--version] [PATH]

Keep a password database safe and encrypted.

configuration file to use [~/.cpmrc]
verify the configuration file and exit
debuglevel (0=off, 1 - 99)
the encoding in which keyboard input arrives [ISO-8859-1]
list the environment after cleanup
database file to use [~/.cpmdb]
display this help
overwrite the default encryption keys and use this key instead; repeat for several keys
open the database in read-only mode
run a security check and show the current security status
run one of the testmodes
run test on the backupfile creation
run compression test 1-6
run test on the decryption code
run test on the encryption code
run test on the environment validation
run test on garbage input files
run test on the search patterns This only works when the application has been compiled with the compiler flag -DTEST_OPTION.
display the version and exit
path to display the password for

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.

The following environment variables are used by the application:

If set directory used instead of "~/.gnupg".
Used to locate the gpg-agent
Used to locate the default home directory.
Used to determine the user's language.
Used to size some displays to the full size of the screen.
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).
Terminal settings of the currently used terminal.
Terminal settings of the currently used terminal.

All other variables are discarded at program startup.

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

  • csv
  • passwordsafe
  • pms

gpg(1), ncurses(3)

Report bugs to <>.

Copyright (C) 2005-2009 Harry Brueckner

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.

Contact: Harry Brueckner <> Muenchener Strasse 12a 85253 Kleinberghofen Germany

10 December 2022 cpm 0.32