|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Donate
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Placeholder | Type | Character Set |
|---|---|---|
a |
Lower-Case Alphanumeric | abcdefghijklmnopqrstuvwxyz 0123456789 |
A |
Mixed-Case Alphanumeric | ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 |
U |
Upper-Case Alphanumeric | ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789 |
c |
Lower-Case Consonants | bcdfghjklmnpqrstvwxyz |
C |
Mixed-Case Consonants | BCDFGHJKLMNPQRSTVWXYZ bcdfghjklmnpqrstvwxyz |
z |
Upper-Case Consonants | BCDFGHJKLMNPQRSTVWXYZ |
d |
Digit | 0123456789 |
h |
Lower-Case Hex Character | 0123456789 abcdef |
H |
Upper-Case Hex Character | 0123456789 ABCDEF |
l |
Lower-Case Letters | abcdefghijklmnopqrstuvwxyz |
L |
Mixed-Case Letters | ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz |
u |
Upper-Case Letters | ABCDEFGHIJKLMNOPQRSTUVWXYZ |
p |
Punctuation | ,.;: |
b |
Brackets | ()[]{}<> |
S |
Printable 7-Bit ASCII | A-Z, a-z, 0-9, !"#$%&'()*+,-./:;<=>?[\]^_{|}~ |
v |
Lower-Case Vowels | aeiou |
V |
Mixed-Case Vowels | AEIOU aeiou |
Z |
Upper-Case Vowels | AEIOU |
x |
High ANSI | From '~' to U255 (excluding U255) |
\ |
Escape (Fixed Char) | Use following character as is |
{n} |
Escape (Repeat) | Repeat the previous character 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. Examples:
» [dp] generates exactly 1 random character out of the set
digits + punctuation,
» [d\m\@]{5} generates 5 characters out of the set "0123456789m@",
» [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 |
|---|---|
| WEP Hex Key - 40 Bit | h{10} |
| WEP Hex Key - 128 Bit | h{32} |
| WEP Hex Key - 256 Bit | h{64} |
| Random MAC Address | HH\-HH\-HH\-HH\-HH\-HH |
Generating
Passwords that Follow RulesBelow 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 and 2 lower case characters, plus 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 and at least are 2 lower case characters | uullA{6} |
| Must consist of 9 characters out of the set "ABCDEF" and an '@' symbol somewhere in it | \@[\A\B\C\D\E\F]{9} |
Security-Reducing
OptionsThe password generator supports several options like 'No repeating characters'. 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.
If you enable a security-reducing option, the 'Advanced' button
If you enable a security-reducing option, an exclamation mark (!)
Configuring Settings
of Automatically Generated Passwords for New EntriesWhen you create a new password entry, KeePass will automatically generate a random password for the new entry. The properties of these generated passwords can be configured in the password generator dialog.
To configure, open the password generator dialog and select all the options you wish (character set, pattern, etc.). Then, click the leftmost button right of the profile selection dropdown box (the one that looks like a disk with a pen on it). In the dialog that opens, click the dropdown arrow of the combo box and choose '(Automatically generated passwords for new entries)', then click the [OK] button.
Disabling Automatically Generated Passwords:
To disable automatically generated passwords for new entries, open the password generator
dialog, select 'Generate using character set' and specify 0 as password length.
As above, overwrite the appropriate profile.

