McAfee MEJCAE-AM-DA Product Guide - Page 33

Removing a key pair from your keyring, Removing all keys from your smart card - 31

Page 33 highlights

Managing Keys Managing your keyring Note: If you specify a user ID that matches more than one key, and did not specify --multi on the command line, an error message appears. To remove someone's public key from your keyring: 1 Enter the following command at the command line: ebs --key-remove For example, suppose you want to remove Gina Marala's key from your public keyring. ebs --key-remove "Gina Marala" E-Business Server prompts you to confirm you want to remove the key. 2 Enter y to delete the key. E-Business Server removes the key from your keyring. Removing a key pair from your keyring If the key that you want to delete is part of your key pair, add the --with-private modifier to the --key-remove option. To remove a key pair from your keyring: 1 Enter the following command at the command line: ebs --key-remove --with-private For example, suppose you want to remove a test key pair from your keyring. ebs --key-remove "Test 1" --with-private E-Business Server prompts you to confirm you want to remove the private key. 2 Enter y to delete the key. E-Business Server deletes the private portion from the private keyring as well as the public portion from the public keyring. Removing all keys from your smart card Note: The smart card must be in your smart card reader. Removing your smart card from the smart card reader while wiping it, may result in unpredictable behavior. Before you generate a E-Business Server key pair on a smart card, you should specify the smart card type in the configuration file, pgp.cfg. If you do not specify the smart card type in the configuration file using the SMARTCARD-TYPE parameter, then you must add the --smartcard-type modifier to the command line each time you perform an operation on a smart card. For more information, see SMARTCARD-TYPE on page 105. To wipe the contents of your smart card, use the --smartcard modifier with the --wipe option. This deletes all keys and data from your smart card. Optionally, you can specify your smart card PIN number on the command line. ebs --wipe --smartcard [--pin ] For information on how to view the contents of your smart card, see Viewing your keys on page 28. For more information on various ways to supply E-Business Server with your passphrase, see Alternative ways to work with passphrases on page 72. Removing a specific key pair from your smart card Note: The smart card must be in your smart card reader. To delete specific key pair from your smart card, use the --smartcard modifier with the --key-remove option. This deletes only the matching keys from your smart card. Optionally, you can specify your smart card PIN number on the command line. ebs --key-remove ... --smartcard [--pin ] 31 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

31
E-Business Server
8.6
Product Guide
Managing Keys
Managing your keyring
Note:
If you specify a user ID that matches more than one key, and did not specify
--multi
on the command line, an
error message appears.
To remove someone’s public key from your keyring:
1
Enter the following command at the command line:
ebs --key-remove <userID or keyID>
For example, suppose you want to remove Gina Marala’s key from your public keyring.
ebs --key-remove “Gina Marala”
E-Business Server prompts you to confirm you want to remove the key.
2
Enter
y
to delete the key.
E-Business Server removes the key from your keyring.
Removing a key pair from your keyring
If the key that you want to delete is part of your key pair, add the
--with-private
modifier to the
--key-remove
option.
To remove a key pair from your keyring:
1
Enter the following command at the command line:
ebs --key-remove <userID or keyID> --with-private
For example, suppose you want to remove a test
key pair
from your keyring.
ebs --key-remove “Test 1” --with-private
E-Business Server prompts you to confirm you want to remove the private key.
2
Enter
y
to delete the key.
E-Business Server deletes the private portion from the private keyring as well as the public portion from
the public keyring.
Removing all keys from your smart card
Note:
The smart card must be in your smart card reader. Removing your smart card from the smart card reader while
wiping it, may result in unpredictable behavior.
Before you generate a E-Business Server key pair on a smart card, you should specify the smart card type
in the configuration file,
pgp.cfg
.
If you do not specify the smart card type in the configuration file using the
SMARTCARD-TYPE
parameter, then
you must add the
--smartcard-type
modifier to the command line each time you perform an operation on a
smart card. For more information, see
SMARTCARD-TYPE
on page 105
.
To wipe the contents of your smart card, use the
--smartcard
modifier with the
--wipe
option. This deletes
all keys and data from your smart card. Optionally, you can specify your smart card PIN number on the
command line.
ebs --wipe --smartcard [--pin <smart card PIN>]
For information on how to view the contents of your smart card, see
Viewing your keys
on page 28
. For more
information on various ways to supply E-Business Server with your passphrase, see
Alternative ways to work
with passphrases
on page 72
.
Removing a specific key pair from your smart card
Note:
The smart card must be in your smart card reader.
To delete specific key pair from your smart card, use the
--smartcard
modifier with the
--key-remove
option.
This deletes only the matching keys from your smart card. Optionally, you can specify your smart card PIN
number on the command line.
ebs --key-remove <userID1> <userID2> <userID3>... --smartcard [--pin <smart card PIN>]