McAfee MEJCAE-AM-DA Product Guide - Page 31

On another keyring, Display all user IDs associated with each key, Getting more information about keys

Page 31 highlights

Managing Keys Managing your keyring ebs --key-list "Lisa Jameson" tschlubb "Brendan Chriss" All keys matching these user IDs appear. For an example of a basic key list display, see Example of --key-list option on page 161. On another keyring To view keys on another keyring, specify the keyring's filename. Keep in mind that E-Business Server will try to open both the public and private keyrings at once; the private portion of the keyring must be in the same directory as the public keyring and must either have the filename secring.skr, or you must specify its new name using the SECRING configuration parameter. You can set the SECRING parameter's value either in the configuration file or on the command line as shown below. ebs --secring / --pubring / For example: ebs --secring /.pgp/secring.skr --pubring /.pgp/pubring.pkr Where is your home directory. Display all user IDs associated with each key To display all user IDs associated with each key on a keyring, use the following syntax: ebs --key-list --with-userids E-Business Server sorts the key list by size. Keys of the same size are sorted alphabetically using the first letter of the key's primary user ID. Additional user IDs appear under the primary user ID for each key. Each of the additional user IDs is represented with "uid" in the Type column. A photo ID on your key is represented with "pid" in the Type column. For an example of a key list display showing additional user IDs, see Example of --key-list --with-userids option on page 161. Display all signatures associated with each key To display the signatures attached to each key on your keyring, use the following syntax: ebs --key-list --with-sigs E-Business Server lists the keys on your keyring. The signatures on each key appear below the user ID they belong to. The signatures are represented by "sig" in the Type column. For an example of a key list display showing all signatures associated with each key, see Example of --key-list --with-sigs option on page 162. Getting more information about keys To see additional information about keys-creation dates, fingerprints, expiration dates, subkeys, ADKs, Revokers, tokens, or photo IDs present-use the --key-detail option. (If more than one key matches a specified user ID, then you must also include the --multi modifier on the command line.) ebs --key-detail ... For example, if you wanted to view the properties of the key belonging to Odette Richards, then you would enter the following: ebs --key-detail "Odette Richards" E-Business Server finds the matching key on your keyring, and displays the following information about the key: 29 E-Business Server™ 8.6 Product Guide

  • 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

29
E-Business Server
8.6
Product Guide
Managing Keys
Managing your keyring
ebs --key-list “Lisa Jameson” tschlubb “Brendan Chriss”
All keys matching these user IDs appear.
For an example of a basic key list display, see
Example of --key-list option
on page 161
.
On another keyring
To view keys on another keyring, specify the keyring’s filename.
Keep in mind that E-Business Server will try to open both the public and private keyrings at once; the private
portion of the keyring must be in the same directory as the public keyring and must either have the filename
secring.skr
, or you must specify its new name using the
SECRING
configuration parameter. You can set the
SECRING
parameter’s value either in the configuration file or on the command line as shown below.
ebs --secring <path>/<secret_key_filename>
--pubring <path>/<public_key_filename>
For example:
ebs --secring <HOME>/.pgp/secring.skr --pubring <HOME>/.pgp/pubring.pkr
Where
<HOME>
is your home directory.
Display all user IDs associated with each key
To display all user IDs associated with each key on a keyring, use the following syntax:
ebs --key-list --with-userids
E-Business Server sorts the key list by size. Keys of the same size are sorted alphabetically using the first
letter of the key’s primary user ID. Additional user IDs appear under the primary user ID for each key. Each
of the additional user IDs is represented with “
uid
” in the
Type
column. A photo ID on your key is represented
with “
pid
” in the
Type
column.
For an example of a key list display showing additional user IDs, see
Example of --key-list --with-userids
option
on page 161
.
Display all signatures associated with each key
To display the signatures attached to each key on your keyring, use the following syntax:
ebs --key-list --with-sigs
E-Business Server lists the keys on your keyring. The signatures on each key appear below the user ID they
belong to. The signatures are represented by “
sig
” in the
Type
column.
For an example of a key list display showing all signatures associated with each key, see
Example of
--key-list --with-sigs option
on page 162
.
Getting more information about keys
To see additional information about keys—creation dates, fingerprints, expiration dates, subkeys, ADKs,
Revokers, tokens, or photo IDs present—use the
--key-detail
option. (If more than one key matches a
specified user ID, then you must also include the
--multi
modifier on the command line.)
ebs --key-detail <userID1> <userID2> <userID3>...
For example, if you wanted to view the properties of the key belonging to Odette Richards, then you would
enter the following:
ebs --key-detail “Odette Richards”
E-Business Server finds the matching key on your keyring, and displays the following information about the
key: