McAfee MEJCAE-AM-DA Product Guide - Page 51

Specifying the type of signature you want to add to a key, Adding an expiration date to your signature

Page 51 highlights

Working with Digital Signatures Removing signatures from your key Specifying the type of signature you want to add to a key Use the --sig-type modifier with the --key-sign option to specify the type of signature you want to attach to the key you are signing. ebs --key-sign

  • 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

49
E-Business Server
8.6
Product Guide
Working with Digital Signatures
Removing signatures from your key
Specifying the type of signature you want to add to a key
Use the
--sig-type
modifier with the
--key-sign
option to specify the type of signature you want to attach to
the key you are signing.
ebs --key-sign <recipient’s_userID> --sig-type <type>
Where
<type>
is one of the following:
Local
. Local signatures are non-exportable. This signature type remains on your local keyring.
Exportable
. Exportable signatures, the default option, are attached to the key certifying that you verify
the key owner’s identity. This signature type can be exported to a file or key server so other users can
view them.
Meta
. Meta signatures (always non-exportable) bestow meta-introducer status on the key. Any key
considered trusted by the meta-introducer is considered a trusted introducer by you, and any key
considered valid by the trusted introducer is considered valid to you.
Introducer
. Introducer
signatures bestow trusted introducer status on the key. Any key considered valid
by a trusted introducer is considered valid to you.
You can add a regular expression to an ’introducer’ type signature by including
--regexp <expression>
on the
command line. This restricts the scope of the target key’s signature power. For more information about
regular expressions, see
Attaching Regular Expressions to Signatures
.
Adding an expiration date to your signature
Use the
--expires-after
modifier with the
--key-sign
option to append an expiration date to your signature
on the recipient’s key. Set
<expiration>
equal to the number of days until your signature expires or a future
date you want your signature to expire in YYYY-MM-DD format. To set the signature to never expire, set
<expiration>
equal to zero. To add an expiration date to your signature, use the following syntax:
ebs --key-sign <recipient’s_userID> --expires-after <expiration>
For example, if you want to sign Gilbert Sampson’s key and have your signature expire in two weeks (or 14
days), you would enter:
ebs --key-sign “gilbert sampson” --expires-after 14
If you do not want your signature to expire, then you would enter:
ebs --key-sign “gilbert sampson” --expires-after 0
If you want your signature to expire on July 16, 2003, then you would enter:
ebs --key-sign “gilbert sampson” --expires-after 2003-07-16
Removing signatures from your key
Use the
--remove-sig
modifier with the
--key-edit
option to remove signatures from a local copy of your key.
Bear in mind, however, that if others have signed a copy of your key that is residing on a public key server,
the signatures will reappear on your key when you synchronize your key with the one on the key server. For
more information on the
--key-edit
option, see
Editing your key
on page 33
.
To remove selected signatures from a user ID on a key:
ebs --key-edit <userID of key being edited> --remove-sig <userID or keyID of signature to remove>
For example:
ebs --key-edit “Batman” --remove-sig “The Joker”
In the above example, E-Business Server is instructed to delete The Joker’s signature from Batman’s key.