/etc/cpmrc is in cpm 0.28-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | # ##############################################################################
# resource file for the Console Password Manager (cpm)
# ##############################################################################
# set this option to no if you do not want cpm to ask on exit
AskToQuit yes
# set this if you want to enter the passphrase only once at the start;
# this only works if you use one of your own private keys for signing; as soon
# as there is more than one, caching is disabled
# WARNING: if you use this feature, please keep in mind that your passphrase
# stays in memory during program runtime!
KeepPassphrase yes
# we want to create backup files
CreateBackup yes
# define the character used to hide the typing of the passphrase
# if you don't want anything to be seen, set it to "_"
HideCharacter "*"
# define the default compression level of the XML data in the encrypted file;
# 0 - no compression
# 1 - best speed
# ...
# 9 - best compression
# WARNING: turning compression off reduces the quality of the encryption since
# much more text is known in the encrypted file;
# a 'known plaintext attack' might be more successful if no
# compression is used!
Compression 9
# define the height of the infobox; the value must be [5..25]
InfoboxHeight 5
# overwrite the default database filename
# it defaults to $HOME/.cpmdb
# DatabaseFile /tmp/testdb
# default encoding keys
# these keys are only used as default for new database files; after a file
# exists, the actually used keys are used instead.
# EncryptionKey "harry_b@mm.st"
# password creation configuration
PasswordLength 10
PasswordAlphabet "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-=@#$%_;:,."
# set if passwords should be checked via cracklib and display a warning if the
# password is bad
CrackLibCheck yes
# default template names
# these template names are only used as long as nothing else is defined in
# the database file.
# if you specify "password" as a second argument, this template is considered
# to hold passwords and is - if enabled - checked via cracklib
TemplateName "host"
TemplateName "service"
TemplateName "user"
TemplateName "password" "password"
# if TemplateLock is set to yes, it's not possible to extend the depth of
# existing templates.
TemplateLock yes
# search patterns for the commandline call and their response
# WARNING: please keep in mind that the result pattern must also be fully
# resolvable for each hit, the searchpattern matches!
SearchPattern "host <host>" "<host>"
SearchPattern "service <service>" "<service>"
SearchPattern "user <user>" "<user>"
SearchPattern "<service> <user>@<host>" "<service> <user>@<host> <password>"
SearchPattern "<service>@<host>" "<service> <user>@<host> <password>"
SearchPattern "<user>@<host>" "<service> <user>@<host> <password>"
# default search type on the commandline interface
# possible values are "regex" or "regular"
SearchType regex
# default type of case matching for the commandline interface
# if set to yes, the search runs case sensitive, otherwise not
MatchCaseSensitive yes
# ##############################################################################
|