McAfee MEJCAE-AM-DA Product Guide - Page 76

Passing your passphrase from another application, Working with groups, Creating a group

Page 76 highlights

Advanced Topics Working with groups Passing your passphrase from another application Caution: You should not use this feature if working on a shared system. The passphrase may be visible to others. E-Business Server includes a command-line option, --passphrase, that you can use to pass your passphrase into E-Business Server from another application. This option is designed primarily to invoke E-Business Server from inside an email package. The passphrase in quotes follows the --passphrase option on the command line. Use this feature with caution. For example: ebs --sign --passphrase You can also use the --passphrase option to supply E-Business Server with a passphrase for conventionally encrypting a file, whether you are performing a regular conventional encryption, creating an SDA, or creating a PGParchive. However, if you need to supply your regular E-Business Server passphrase as well as a conventional passphrase in a single operation, then you must also use the --conventional-passphrase option. For example, to conventionally encrypt and sign a file in a single operation, you would use the following syntax: ebs --encrypt --conventional --sign --passphrase --conventional-passphrase Therefore, if I wanted to conventionally encrypt a file called confidential.doc to the passphrase "In a while crocodile" and digitally sign it with my key, which has a passphrase of "2BeeRnot2be", then I would enter the following: ebs --encrypt --conventional --sign confidential.doc --passphrase 2BeeRnot2be --conventional-passphrase "In a while crocodile" Use the --pin option (instead of --passphrase) when you need to supply E-Business Server with a PIN number for a smartcard when performing an operation on a smartcard. For example, you would use the following syntax when wiping your smartcard: ebs --wipe --smartcard --pin Working with groups You may find that you need to perform encryption operations to multiple people at one time. Specifying them individually is inefficient. Instead, you can create distribution lists, or groups, that include everyone to whom you want to encrypt. For example, if you want to encrypt a file to 10 people at [email protected], you would create a distribution list of that name. You would then add the keys for all 10 members of the HR department mailing list to the group. This enables you to encrypt a file to all 10 people in a single operation. The --group option displays help on all group options. Creating a group To create a group, you use the --group-add option. This option adds a group definition to the groups file (pgpgroup.pgr). You will be asked to supply a description of the group you are creating. ebs --group-add The following syntax creates a group with the name "engineers." ebs --group-add engineers E-Business Server™ 8.6 Product Guide 74

  • 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
74
Advanced Topics
Working with groups
Passing your passphrase from another application
Caution:
You should not use this feature if working on a shared system. The passphrase may be visible to others.
E-Business Server includes a command-line option,
--passphrase
, that you can use to pass your passphrase
into E-Business Server from another application. This option is designed primarily to invoke E-Business
Server from inside an email package.
The passphrase in quotes follows the
--passphrase
option on the command line. Use this feature with
caution.
For example:
ebs --sign <filename> --passphrase <quoted-passphrase>
You can also use the
--passphrase
option to supply E-Business Server with a passphrase for conventionally
encrypting a file, whether you are performing a regular conventional encryption, creating an SDA, or
creating a PGParchive. However, if you need to supply your regular E-Business Server passphrase as well
as a conventional passphrase in a single operation, then you must also use the
--conventional-passphrase
option.
For example, to conventionally encrypt and sign a file in a single operation, you would use the following
syntax:
ebs --encrypt --conventional --sign <filename> --passphrase <quoted-passphrase>
--conventional-passphrase <quoted-passphrase>
Therefore, if I wanted to conventionally encrypt a file called
confidential.doc
to the passphrase
In a while
crocodile” and digitally sign it with my key, which has a passphrase of
2BeeRnot2be”, then I would enter
the following:
ebs --encrypt --conventional --sign confidential.doc --passphrase 2BeeRnot2be
--conventional-passphrase “In a while crocodile”
Use the
--pin
option (instead of
--passphrase
) when you need to supply E-Business Server with a PIN
number for a smartcard when performing an operation on a smartcard.
For example, you would use the following syntax when wiping your smartcard:
ebs --wipe --smartcard --pin <smart card PIN>
Working with groups
You may find that you need to perform encryption operations to multiple people at one time. Specifying
them individually is inefficient. Instead, you can create distribution lists, or groups, that include everyone
to whom you want to encrypt.
For example, if you want to encrypt a file to 10 people at [email protected], you would create a
distribution list of that name. You would then add the keys for all 10 members of the HR department mailing
list to the group. This enables you to encrypt a file to all 10 people in a single operation.
The
--group
option displays help on all group options.
Creating a group
To create a group, you use the
--group-add
option. This option adds a group definition to the groups file
(
pgpgroup.pgr
). You will be asked to supply a description of the group you are creating.
ebs --group-add <groupname>
The following syntax creates a group with the name “engineers.”
ebs --group-add engineers