|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Placeholder | Type | Character Set |
---|---|---|
a |
Lower-Case Alphanumeric | abcdefghijklmnopqrstuvwxyz 0123456789 |
A |
Mixed-Case Alphanumeric | ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 |
U |
Upper-Case Alphanumeric | ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789 |
d |
Digit | 0123456789 |
h |
Lower-Case Hex Character | 0123456789 abcdef |
H |
Upper-Case Hex Character | 0123456789 ABCDEF |
l |
Lower-Case Letter | abcdefghijklmnopqrstuvwxyz |
L |
Mixed-Case Letter | ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz |
u |
Upper-Case Letter | ABCDEFGHIJKLMNOPQRSTUVWXYZ |
v |
Lower-Case Vowel | aeiou |
V |
Mixed-Case Vowel | AEIOU aeiou |
Z |
Upper-Case Vowel | AEIOU |
c |
Lower-Case Consonant | bcdfghjklmnpqrstvwxyz |
C |
Mixed-Case Consonant | BCDFGHJKLMNPQRSTVWXYZ bcdfghjklmnpqrstvwxyz |
z |
Upper-Case Consonant | BCDFGHJKLMNPQRSTVWXYZ |
p |
Punctuation | ,.;: |
b |
Bracket | ()[]{}<> |
s |
Printable 7-Bit Special Character | !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ |
S |
Printable 7-Bit ASCII | A-Z, a-z, 0-9, !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ |
x |
Latin-1 Supplement | Range [U+00A1, U+00FF] except U+00AD: ¡¢£¤¥¦§¨©ª«¬®¯ °±²³´µ¶·¸¹º»¼½¾¿ ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏ ÐÑÒÓÔÕÖרÙÚÛÜÝÞß àáâãäåæçèéêëìíîï ðñòóôõö÷øùúûüýþÿ |
\ |
Escape (Fixed Char) | Use following character as is. |
{n} |
Escape (Repeat) | Repeat the previous placeholder n times. |
[...] |
Custom Char Set | Define a custom character set. |
The \ placeholder is special: it's an escape character. The next character that follows
the \ is written directly into the generated password. If you want a \
in your
password at a specific place, you have to write \\
.
Using the {n} code you can define how many times the previous placeholder
should occur. The { } operator duplicates placeholders, not generated characters. Examples:
» d{4}
is equivalent to dddd
,
» dH{4}a
is equivalent to dHHHHa
and
» Hda{1}dH
is equivalent to HdadH
.
The [...] notation can be used to define a custom character set, from which
the password generator will pick one character randomly. All characters between the '['
and ']' brackets follow the same rules as the placeholders above.
The '^' character removes the next placeholders from the character set.
Examples:
» [dp]
generates exactly 1 random character out of the set
digits + punctuation,
» [d\m\@^\3]{5}
generates 5 characters out of the set "012456789m@",
» [u\_][u\_]
generates 2 characters out of the set upper-case + '_'.
More examples:
ddddd
Generates for example: 41922, 12733, 43960, 07660, 12390, 74680, ...
\H\e\x\:\ HHHHHH
Generates for example: 'Hex: 13567A', 'Hex: A6B99D', 'Hex: 02243C', ...
Common password patterns:
Name | Pattern |
---|---|
Hex Key - 40-Bit | H{10} |
Hex Key - 128-Bit | H{32} |
Hex Key - 256-Bit | H{64} |
MAC Address | H\2\-HH\-HH\-HH\-HH\-HH |
Below are a few examples how the pattern generation feature can be used to generate passwords that follow certain rules.
Important! For all of the following examples you must enable the 'Randomly permute characters of password' option!
Rule | Pattern |
---|---|
Must consist of 2 upper-case letters, 2 lower-case letters and 2 digits. | uulldd |
Must consist of 9 digits and 1 letter. | d{9}L |
Must consist of 10 alphanumeric characters, where at least 1 is a letter and at least 1 is a digit. | LdA{8} |
Must consist of 10 alphanumeric characters, where at least 2 are upper-case letters and at least 2 are lower-case letters. | uullA{6} |
Must consist of 9 characters of the set "ABCDEF" and an '@' symbol. | \@[\A\B\C\D\E\F]{9} |
The password generator supports several options like 'Each character must occur at most once',
'Exclude look-alike characters' (O0
, Il1|
)
and a field to explicitly specify characters that should not appear in generated passwords.
These options are reducing the security of generated passwords. You should only enable them if you are forced to follow such rules by the website/application, for which you are generating the password.
The options can be found in the 'Advanced' dialog / tab page.
Password generator options (character set, length, pattern, ...) can be saved as password generator profiles.
Creating/modifying a profile:
Using a profile:
To use a profile, simply select it from the drop-down profiles list
in the password generator window. All settings of this profile will be
restored accordingly.
Meta-profile 'Derive from previous password':
When this meta-profile is selected, a password is generated based on
a character set derived from the previous password. The new password
has the same length as the old one, and every character of the old
password turns on the character subset that contains this character.
For example, if the old password contains the letter 'R', then the character
set used for generating the new password contains the range 'A' to 'Z'.
Warning! This meta-profile should not be used blindly
(i.e. without reviewing the used character set).
The new password does not necessarily contain at least one character
from each character subset (see 'Generation
Based on Character Sets'), thus blindly generating new passwords
with this meta-profile can result in a quality degradation of the
effectively used profile.
When you create a new entry, KeePass will automatically generate a random password for it. The properties of these generated passwords can be configured in the password generator dialog.
To configure, specify the options of your choice and overwrite the '(Automatically generated passwords for new entries)' profile (see section above).
Disabling automatically generated passwords:
To disable automatically generated passwords for new entries, select
'Generate using character set' and specify 0 as password length.
Overwrite the appropriate profile (see above).