McAfee MEJCAE-AM-DA Product Guide - Page 74

Alternative ways to work with passphrases, Specifying a file descriptor number, PGPPASSFD

Page 74 highlights

Advanced Topics Alternative ways to work with passphrases 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 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 information on the various ways you can supply your PIN to E-Business Server, see Alternative ways to work with passphrases on page 72. Alternative ways to work with passphrases E-Business Server generally prompts you for your passphrase. If you want to streamline your interaction with E-Business Server, you can use one of the following methods for supplying E-Business Server with your passphrase. • Specify a file descriptor number • Set the PGPPASS environment variable • Specify your passphrase on the command line The recommended method for supplying E-Business Server with your passphrase is by setting the passphrase file descriptor options in the E-Business Server configuration file (or on the command line). If working on a shared system, you should never store your passphrase with the PGPPASS environment variable or enter your passphrase directly on the command line using one of the --passphrase options. Your passphrase may be visible to others putting the security of your data at risk. The --passphrase options are safe when using the E-Business Server API. Specifying a file descriptor number The most secure method for supplying E-Business Server with your passphrase is by supplying E-Business Server with the file descriptor number to which your passphrase will be passed. You can specify the file descriptor number using the environment variable PGPPASSFD, or one of the following configuration file parameters: • PASSPHRASE-FD • CONVENTIONAL-PASSPHRASE-FD • PIN-FD • CHALLENGE-FD Note: You can use the PASSPHRASE-FD option to supply a passphrase, conventional passphrase, or even a smartcard PIN number, but if you ever need to supply more than one type of passphrase on the command line for a single operation, then you must use the appropriate options. PGPPASSFD Use the PGPPASSFD (passphrase file descriptor) environment variable to supply E-Business Server with the file descriptor to which the passphrase will be passed. This is most useful when writing scripts. This parameter cannot be used if more than one passphrase must be supplied. SET PGPPASSFD= If this environment variable is set to zero (0), the passphrase is read from standard input (STDIN). E-Business Server uses the first text line from the specified filename as the password. Note: A PASSPHRASE-FD value specified in the configuration file supersedes a value set in the PGPPASSFD environment variable. For more information on setting the PASSPHRASE-FD value, see Specifying configuration values on page 86. E-Business Server™ 8.6 Product Guide 72

  • 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
72
Advanced Topics
Alternative ways to work with passphrases
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 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
information on the various ways you can supply your PIN to E-Business Server, see
Alternative ways to work
with passphrases
on page 72
.
Alternative ways to work with passphrases
E-Business Server generally prompts you for your passphrase. If you want to streamline your interaction
with E-Business Server, you can use one of the following methods for supplying E-Business Server with your
passphrase.
Specify a file descriptor number
Set the
PGPPASS
environment variable
Specify your passphrase on the command line
The recommended method for supplying E-Business Server with your passphrase is by setting the
passphrase file descriptor options in the E-Business Server configuration file (or on the command line).
If working on a shared system, you should never store your passphrase with the
PGPPASS
environment
variable or enter your passphrase directly on the command line using one of the
--passphrase
options. Your
passphrase may be visible to others putting the security of your data at risk.
The
--passphrase
options are safe when using the E-Business Server API.
Specifying a file descriptor number
The most secure method for supplying E-Business Server with your passphrase is by supplying E-Business
Server with the file descriptor number to which your passphrase will be passed. You can specify the file
descriptor number using the environment variable
PGPPASSFD
, or one of the following configuration file
parameters:
• PASSPHRASE-FD
• CONVENTIONAL-PASSPHRASE-FD
• PIN-FD
• CHALLENGE-FD
Note:
You can use the
PASSPHRASE-FD
option to supply a passphrase, conventional passphrase, or even a smartcard PIN
number, but if you ever need to supply more than one type of passphrase on the command line for a single operation,
then you must use the appropriate options.
PGPPASSFD
Use the
PGPPASSFD
(passphrase file descriptor) environment variable to supply E-Business Server with the
file descriptor to which the passphrase will be passed. This is most useful when writing scripts. This
parameter cannot be used if more than one passphrase must be supplied.
SET PGPPASSFD=<file_descriptor_number>
If this environment variable is set to zero (0), the passphrase is read from standard input (STDIN).
E-Business Server uses the first text line from the specified filename as the password.
Note:
A
PASSPHRASE-FD
value specified in the configuration file supersedes a value set in the
PGPPASSFD
environment
variable. For more information on setting the
PASSPHRASE-FD
value, see
Specifying configuration values
on page 86
.