Scroll to navigation

cpm(1) User Commands cpm(1)

NAME

cpm - Console Password Manager

SYNOPSIS

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

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

DESCRIPTION

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]
--environment
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
turn off file encryption WARNING: THIS IS FOR DEVELOPMENT AND TESTING ONLY!
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

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

SEE ALSO

gpg(1), ncurses(3)

REPORTING BUGS

Report bugs to <harry_b@mm.st>.

COPYRIGHT

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 <harry_b@mm.st> Muenchener Strasse 12a 85253 Kleinberghofen Germany

21 November 2024 cpm 0.32