McAfee MEJCAE-AM-DA Product Guide - Page 64

Encrypting to multiple recipients, Encrypting multiple files to one recipient

Page 64 highlights

Encrypting and Decrypting Encrypting information The following example would encrypt the file testresults.doc to the key belonging to Jennifer Quino and filter the encrypted file to an application that reads standard input. ebs --encrypt testresults.doc --user "Jennifer Quino" --output - Encrypting to multiple recipients To encrypt to several recipients at once, you can use multiple --user modifiers and specify the user IDs, as shown in the following syntax: ebs --encrypt --user --user --user ... For example, suppose you want to encrypt meeting minutes to three coworkers in a format you can send in a text email. ebs --encrypt --armor --text mtgminutes.txt --user "Carol Wong" --user "Angie Vicari" --user "Kevin Sprole" You can also create a group, which functions much like a mailing or distribution list functions in most email programs. For information on working with groups, see the section, "Working with groups" on page 74. Encrypting multiple files to one recipient To encrypt several files to a single recipient in one operation, you can manually specify the filenames as shown in the following syntax. ebs --encrypt ... --user For example, suppose you want to encrypt the following status reports to your manager in a format you can send via email. ebs --encrypt --armor status040601.doc status041301.doc status042001.doc --user "Carol Wong" All of the files are encrypted to Carol Wong's key. Encrypting information to a group To encrypt information to a predefined group of recipients, you specify the group name as you would a single recipient's name. ebs --encrypt --user For information on managing groups, see "Working with groups" on page 74. Automatically encrypting to your own key The configuration parameter ENCRYPT-TO-SELF enables you to automatically encrypt everything to your own key or some other predefined key in addition to any specified recipients. To set this up, you must set parameters in E-Business Server's configuration file, pgp.cfg: • Set the DEFAULT-KEY parameter to the key ID of the desired key (see DEFAULT-KEY on page 93) • Set ENRYPT-TO-SELF=on in the configuration file (see ENCRYPT-TO-SELF on page 94) or use --encrypt-to-self on the command line Encrypting for viewing by recipient only To specify that the recipient's decrypted plaintext be shown only on the recipient's screen and not saved to disk, add the --secure-viewer modifier to the --encrypt option: ebs --encrypt --text --secure-viewer --user

  • 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
62
Encrypting and Decrypting
Encrypting information
The following example would encrypt the file
testresults.doc
to the key belonging to Jennifer Quino and
filter the encrypted file to an application that reads
standard input
.
ebs --encrypt testresults.doc --user “Jennifer Quino” --output -
Encrypting to multiple recipients
To encrypt to several recipients at once, you can use multiple
--user
modifiers and specify the user IDs, as
shown in the following syntax:
ebs --encrypt <filename> --user <userID1> --user <userID2> --user <userID3>...
For example, suppose you want to encrypt meeting minutes to three coworkers in a format you can send in
a text email.
ebs --encrypt --armor --text mtgminutes.txt --user “Carol Wong” --user “Angie Vicari” --user “Kevin
Sprole”
You can also create a
group
, which functions much like a mailing or distribution list functions in most email
programs. For information on working with groups, see the section,
“Working with groups” on page 74
.
Encrypting multiple files to one recipient
To encrypt several files to a single recipient in one operation, you can manually specify the filenames as
shown in the following syntax.
ebs --encrypt <filename1> <filename2> <filename3>... --user <userID>
For example, suppose you want to encrypt the following status reports to your manager in a format you can
send via email.
ebs --encrypt --armor status040601.doc status041301.doc status042001.doc --user “Carol Wong”
All of the files are encrypted to Carol Wong’s key.
Encrypting information to a group
To encrypt information to a predefined group of recipients, you specify the group name as you would a single
recipient’s name.
ebs --encrypt <filename> --user <groupname>
For information on managing groups, see
“Working with groups” on page 74
.
Automatically encrypting to your own key
The configuration parameter
ENCRYPT-TO-SELF
enables you to automatically encrypt everything to your own
key or some other predefined key in addition to any specified recipients.
To set this up, you must set parameters in E-Business Server’s configuration file,
pgp.cfg
:
Set the
DEFAULT-KEY
parameter to the key ID of the desired key (see
DEFAULT-KEY
on page 93
)
• Set
ENRYPT-TO-SELF=on
in the configuration file (see
ENCRYPT-TO-SELF
on page 94
) or use
--encrypt-to-self
on the command line
Encrypting for viewing by recipient only
To specify that the recipient’s decrypted plaintext be shown only on the recipient’s screen and not saved to
disk, add the
--secure-viewer
modifier to the
--encrypt
option:
ebs --encrypt --text <message.txt> --secure-viewer --user <recipient’s_userID>
Note:
The
--secure-viewer
option is only supported on files with a size of 500K or less.