McAfee MEJCAE-AM-DA Product Guide - Page 163
C Understanding Key List Displays, Key List Displays, Example of --key-list option
View all McAfee MEJCAE-AM-DA manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 163 highlights
C Understanding Key List Displays This appendix shows examples of each of the --key-list display options, and defines the column headings and flags in a key list view. For information on viewing your keys and key management, see Managing Keys on page 28. Key List Displays There are several variations of the --key-list option. You may simply want to display all the keys on your keyring, or you may want to display more information about each key such as additional user IDs or signatures associated with them. By default, keys are unsorted on your keyring. If you want to sort the keys by a key attribute, such as the key's user ID or key ID, specify the field you want to sort by using the SORT parameter in the configuration file, or by specifying --sort on the command line. ebs --key-list --sort Your field options are: keysize, subkeysize, keyid, userid, trust, validity, creation and expiration. The information appears in ascending order (a to z). Specify --reverse to list the information in descending order (z to a). By default, the key list display is set to an unlimited number of characters. You can limit the number of characters displayed on a line by setting the WIDTH parameter in the configuration file (or --width on the command line) equal to the number of characters you want to display. If the information displayed for a key on your keyring exceeds the number of characters allowed, then the user ID is truncated and a dollar sign ($) appears at the end of the user ID indicating that there was more information. The key information is not wrapped to the next line. Note: If the width is set to less than 50 characters, then 50 is used instead. Example of --key-list option The following example shows the contents of a keyring with its contents labeled: Alg Type Size Flags Key ID User ID RSA pair 1024 [-----] 0x7D75EB0F Albert Reilly