McAfee MEJCAE-AM-DA Product Guide - Page 28

Adding your key to a key server, Searching for a key on a key server

Page 28 highlights

Creating and Exchanging Keys Exchanging keys with others Adding your key to a key server You can add your key to a key server so that it is available to others. To add your key to a server, you use the --keyserver-send option. E-Business Server copies the key from the keyring and places it on the server. If you do not specify a key server URL on the command line, E-Business Server uses the default URL specified in the E-Business Server configuration file. For more information on setting the key server URL in the configuration file, see Specifying configuration values on page 86. ebs --keyserver-send [--keyserver ] For example: ebs --keyserver-send "John Lee" --keyserver ldap://keyserver.pgp.com If you want to send several keys to a key server in a single operation, then simply list all the user IDs at the end of the command line. ebs --keyserver-send [--keyserver ] ... If more than one key matches any of the specified user IDs, then you must also include --multi to send all matching keys to the key server. Removing your key from a key server You can remove your key from a key server so that it is no longer available to others. To remove your key from a server, you use the --keyserver-delete option. For more information, see Deleting your key from a key server on page 41. Searching for a key on a key server You can search a public key server to find someone's public key. To search a key server for a key, use the --keyserver-search option. ebs --keyserver-search [--keyserver ] E-Business Server displays all matching keys found. You can show more information about the keys found by including the following modifiers: • To display the additional user IDs for each matching key, add the --with-userids modifier to the command line. • To display the signatures attached to each matching key, add the --with-sigs modifier to the command line. • To display more details about keys, such as the key's fingerprint, creation date, expiration date, photo IDs and tokens present, add the --key-detail modifier to the command line. If more than one key is found during the search, and you want to display information for all matching keys, then you must also include --multi. Once you find the key you want, you can add it to your keyring using the --keyserver-fetch option. For more information, see Getting someone's public key from a key server below. Getting someone's public key from a key server You can copy a key to your keyring directly from a key server. To get someone's key from a key server and automatically add it to your keyring, you must use the --keyserver-fetch option. ebs --keyserver-fetch [--keyserver ] For example: ebs --keyserver-fetch "John Lee" In this example, E-Business Server searches keyserver.pgp.com for the key belonging to John Lee. If only one matching key is found, then E-Business Server adds it to your keyring. If more than one key matches the information you provided, then E-Business Server displays each key-one at a time-and asks if you want to add it to your keyring. E-Business Server™ 8.6 Product Guide 26

  • 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
26
Creating and Exchanging Keys
Exchanging keys with others
Adding your key to a key server
You can add your key to a key server so that it is available to others. To add your key to a server, you use
the
--keyserver-send
option. E-Business Server copies the key from the keyring and places it on the server.
If you do not specify a key server URL on the command line, E-Business Server uses the default URL
specified in the E-Business Server configuration file. For more information on setting the key server URL in
the configuration file, see
Specifying configuration values
on page 86
.
ebs --keyserver-send <keyID or userID> [--keyserver <keyserver_URL>]
For example:
ebs --keyserver-send “John Lee” --keyserver ldap://keyserver.pgp.com
If you want to send several keys to a key server in a single operation, then simply list all the user IDs at the
end of the command line.
ebs --keyserver-send [--keyserver <keyserver_URL>] <userID1> <userID2> <userID3>...
If more than one key matches any of the specified user IDs, then you must also include
--multi
to send all
matching keys to the key server.
Removing your key from a key server
You can remove your key from a key server so that it is no longer available to others. To remove your key
from a server, you use the
--keyserver-delete
option. For more information, see
Deleting your key from a
key server
on page 41
.
Searching for a key on a key server
You can search a public key server to find someone’s public key. To search a key server for a key, use the
--keyserver-search
option.
ebs --keyserver-search <keyID or userID> [--keyserver <keyserver_URL>]
E-Business Server displays all matching keys found. You can show more information about the keys found
by including the following modifiers:
To display the additional user IDs for each matching key, add the
--with-userids
modifier to the
command line.
To display the signatures attached to each matching key, add the
--with-sigs
modifier to the command
line.
To display more details about keys, such as the key’s fingerprint, creation date, expiration date, photo
IDs and tokens present, add the
--key-detail
modifier to the command line. If more than one key is found
during the search, and you want to display information for all matching keys, then you must also include
--multi
.
Once you find the key you want, you can add it to your keyring using the
--keyserver-fetch
option. For more
information, see
Getting someone’s public key from a key server
below.
Getting someone’s public key from a key server
You can copy a key to your keyring directly from a key server. To get someone’s key from a key server and
automatically add it to your keyring, you must use the
--keyserver-fetch
option.
ebs --keyserver-fetch <userID> [--keyserver <keyserver_URL>]
For example:
ebs --keyserver-fetch “John Lee”
In this example, E-Business Server searches
keyserver.pgp.com
for the key belonging to
John Lee
. If only one
matching key is found, then E-Business Server adds it to your keyring.
If more than one key matches the information you provided, then E-Business Server displays each key—one
at a time—and asks if you want to add it to your keyring.