McAfee MEJCAE-AM-DA Product Guide - Page 163

C Understanding Key List Displays, Key List Displays, Example of --key-list option

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

  • 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
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188

E-Business Server
8.6
Product Guide
161
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 <field>
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:
Example of --key-list --with-userids option
The following example shows the additional user IDs listed under the primary user ID for each key. Each of
the additional user IDs is represented with “
uid
” in the
Type
column.
Alg
Type
Size
Flags
Key ID
User ID
RSA
pair
1024
[-----]
0x7D75EB0F
Albert Reilly <[email protected]
DSS
pub
2048/1024
[-----]
0xF5ED0CB
Corporate Key <[email protected]>
DSS
pub
2048/1024
[-----]
0xFAEBD5FC
Philip R. Zimmermann <[email protected]>
Alg
Type
Size
Flags
Key ID
User ID
RSA
pair
1024
[-----]
0x7D75EB0F
Albert Reilly <[email protected]>
uid
[-----]
Albert Reilly <[email protected]>
uid
[-----]
Albert Reilly <[email protected]>