Configuring Appearance

Configuring Tooltips

In the main certificate list, Kleopatra can show details about a certificate in a tooltip. The information displayed is the same as in the Overview tab of the Certificate Details dialog. Tooltips, however, can be restricted to show only a subset of information for a less verbose experience.

Note

The Key-ID is always shown. This is to ensure that tooltips for different certificates do, in fact, differ (this is especially important if only Show validity has been selected).

You can independently enable or disable the following information sets:

Show validity

Shows information about the validity of a certificate: its current status, issuer-DN (S/MIME only), expiry dates (if any) and certificate usage flags.

Example:

This certificate is currently valid.
Issuer:            CN=Test-ZS 7,O=Intevation GmbH,C=DE
Validity:          from 25.08.2009 10:42 through 19.10.2010 10:42
Certificate usage: Signing EMails and Files, Encrypting EMails and Files
Key-ID:            DC9D9E43

Show owner information

Shows information about the owner of the certificate: subject-DN (S/MIME only), user-IDs (including emails addresses) and ownertrust (OpenPGP only).

OpenPGP example:

User-ID:           Gpg4winUserA <gpg4winusera@test.hq>
Key-ID:            C6BF6664
Ownertrust:        ultimate

S/MIME example:

Subject:           CN=Gpg4winTestuserA,OU=Testlab,O=Gpg4win Project,C=DE
a.k.a.:            Gpg4winUserA@test.hq
Key-ID:            DC9D9E43

Show technical details

Shows technical information about the certificate: serial number (S/MIME only), type, fingerprint and storage location.

Example:

Serial Number:     27
Certificate type:  1,024-bit RSA (secret certificate available)
Key-ID:            DC9D9E43
Fingerprint:       854F62EEEBB41BFDD3BE05D124971E09DC9D9E43
Stored:            on this computer

Configuring Certificate Categories

Kleopatra allows you to customize the appearance of certificates in the list view. This includes showing a small icon, but you can also influence the foreground (text) and background colors, as well as the font.

Each certificate category in the list is assigned a set of colors, an icon (optional) and a font in which certificates from that category are displayed. The category list also acts as a preview of the settings. Categories can be freely defined by the administrator or the power user, see the section called “Creating and Editing Key Categories” in Chapter 6, Administrator's Guide.

To set or change the icon of a category, select it in the list, and press the Set Icon... button. The standard KDE icon selection dialog will appear where you can select an existing icon from the KDE collection, or load a custom one.

To remove an icon again, you need to press the Default Appearance button.

To change the text (i.e. foreground) color of a category, select it in the list, and press the Set Text Color... button. The standard KDE color selection dialog will appear where you can select an existing color or create a new one.

Changing the background color is done in the same way, just press Set Background Color... instead.

To change the font, you basically have two options:

  1. Modify the standard font, used for all list views in KDE.

  2. Use a custom font.

The first option has the advantage that the font will follow whichever style you choose KDE-wide, whereas the latter gives you full control over the font to use. The choice is yours.

To use the modified standard font, select the category in the list, and check or uncheck the font modifiers Italic, Bold, and/or Strikeout. You can immediately see the effect on the font in the category list.

To use a custom font, press the Set Font... button. The standard KDE font selection dialog will appear where you can select the new font.

Note

You can still use the font modifiers to change the custom font, just as for modifying the standard font.

To switch back to the standard font, you need to press the Default Appearance button.

Configuring DN-Attribute Order

Although DNs are hierarchical, the order of the individual components (called relative DNs (RDNs), or DN attributes) is not defined. The order in which the attributes are shown is thus a matter of personal taste or company policy, which is why it is configurable in Kleopatra.

Note

This setting does not only apply to Kleopatra, but to all applications using Kleopatra Technology. At the time of this writing, these include KMail, KAddressBook, as well as Kleopatra itself, of course.

This configuration page basically consists of two lists, one for the known attributes (Available attributes), and one describing the Current attribute order.

Both lists contain entries described by the short form of the attribute (e.g. CN) as well as the spelled-out form (Common Name).

The Available attributes list is always sorted alphabetically, while the Current attribute order list's order reflects the configured DN attribute order: the first attribute in the list is also the one displayed first.

Only attributes explicitly listed in the Current attribute order list are displayed at all. The rest is hidden by default.

However, if the placeholder entry _X_ (All others) is in the current list, all unlisted attributes (whether known or not), are inserted at the point of _X_, in their original relative order.

A small example will help to make this more clear:

Given the DN

O=KDE, C=US, CN=Dave Devel, X-BAR=foo, OU=Kleopatra, X-FOO=bar,

the default attribute order of CN, L, _X_, OU, O, C will produce the following formatted DN:

CN=Dave Devel, X-BAR=foo, X-FOO=bar, OU=Kleopatra, O=KDE, C=US

while CN, L, OU, O, C will produce

CN=Dave Devel, OU=Kleopatra, O=KDE, C=US

To add an attribute to the display order list, select it in the Available attributes list, and press the Add to current attribute order button.

To remove an attribute from the display order list, select it in the Current attribute order list, and press the Remove from current attribute order button.

To move an attribute to the beginning (end), select it in the Current attribute order list, and press the Move to top (Move to bottom) button.

To move an attribute up (down) one slot only, select it in the Current attribute order list, and press the Move one up (Move one down) button.