McAfee MEJCAE-AM-DA Product Guide - Page 68

Recovering the original plaintext filename, Decrypting SDAs and PGParchives

Page 68 highlights

Encrypting and Decrypting Decrypting information Recovering the original plaintext filename As stated in the previous section, when E-Business Server encrypts a plaintext file, it saves the original filename and attaches it to the plaintext before it is compressed and encrypted. Use the --preserve-name modifier to instruct E-Business Server to preserve the original plaintext filename and use it as the name of the decrypted plaintext output file. ebs --decrypt --preserve-name Decrypting SDAs and PGParchives Self-decrypting archives (SDAs) and PGParchives can be decrypted on Windows and Unix platforms using the archive reader. The PGParchive reader is freely distributable and installed automatically with the product. This is especially useful if you want to send encrypted data to someone not using E-Business Server. Simply send that person the archive reader (EBSreader.exe) along with the SDA (.sda.exe extension) or the PGParchive (.pga extension). Note: With conventional encryption, you must securely communicate the passphrase to the recipient. On Windows systems, you can double-click the SDA or the PGParchive and enter the passphrase when prompted. The file is decrypted and placed in the current directory. You can also use the command-line syntax as described below. Optionally, when working on a Windows system, you can add the --no-gui modifier to the command line if you do not want E-Business Server to display information in helpful dialog boxes. (This option is simply ignored on Unix.) On Unix and Windows systems, you can decrypt SDAs and PGParchives using the following syntax: ebsreader [] [--overwrite] [--no-gui] Where is the SDA or PGParchive created during encryption and is the path to the location where you want to save the output. Note: When you use the archive reader for the first time on a Windows system, E-Business Server searches for the file extension .pga in its list of registered extensions. If the file extension does not exist, or if it is set to something other than the archive reader, E-Business Server prompts you to set a file association with the reader. To do so, select the Always check for the .pga file association? check box, and then click OK. When E-Business Server prompts you, enter the passphrase needed to decrypt the file. On Windows, you can browse to the directory where you want to save the output (unless you've specified a different target directory on the command line). On Unix, E-Business Server uses the current directory (unless you've specified a different target directory). If --discard-paths was used during the creation of the PGParchive, then all extracted files are saved to the target directory. If this option was not specified, then the files are still saved to the target directory, but may be in sub-directories corresponding to the original input files. You must specify --overwrite if an output file (typically the same name as the encrypted file minus the .sda.exe or .pga extension) already exists in the directory and you do not want E-Business Server to prompt you for confirmation when overwriting it. To display the version number for the archive reader you have installed, enter the following on the command line: ebsreader --version The version information appears. E-Business Server™ 8.6 Product Guide 66

  • 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
66
Encrypting and Decrypting
Decrypting information
Recovering the original plaintext filename
As stated in the previous section, when E-Business Server encrypts a plaintext file, it saves the original
filename and attaches it to the plaintext before it is compressed and encrypted. Use the
--preserve-name
modifier to instruct E-Business Server to preserve the original plaintext filename and use it as the name of
the decrypted plaintext output file.
ebs --decrypt --preserve-name <ciphertext_filename>
Decrypting SDAs and PGParchives
Self-decrypting archives (SDAs) and PGParchives can be decrypted on Windows and Unix platforms using
the archive reader. The PGParchive reader is freely distributable and installed automatically with the
product. This is especially useful if you want to send encrypted data to someone not using E-Business
Server. Simply send that person the archive reader (
EBSreader.exe
) along with the SDA (
.sda.exe
extension)
or the PGParchive (
.pga
extension).
Note:
With conventional encryption, you must securely communicate the passphrase to the recipient.
On Windows systems, you can double-click the SDA or the PGParchive and enter the passphrase when
prompted. The file is decrypted and placed in the current directory. You can also use the command-line
syntax as described below.
Optionally, when working on a Windows system, you can add the
--no-gui
modifier to the command line if
you do not want E-Business Server to display information in helpful dialog boxes. (This option is simply
ignored on Unix.)
On Unix and Windows systems, you can decrypt SDAs and PGParchives using the following syntax:
ebsreader <filename> [<target_directory>] [--overwrite] [--no-gui]
Where
<filename>
is the SDA or PGParchive created during encryption and
<target_directory>
is the path to
the location where you want to save the output.
Note:
When you use the archive reader for the first time on a Windows system, E-Business Server searches for the file
extension .pga in its list of registered extensions. If the file extension does not exist, or if it is set to something other than
the archive reader, E-Business Server prompts you to set a file association with the reader. To do so, select the
Always
check for the .pga file association?
check box, and then click
OK
.
When E-Business Server prompts you, enter the passphrase needed to decrypt the file. On Windows, you
can browse to the directory where you want to save the output (unless you’ve specified a different target
directory on the command line). On Unix, E-Business Server uses the current directory (unless you’ve
specified a different target directory).
If
--discard-paths
was used during the creation of the PGParchive, then all extracted files are saved to the
target directory. If this option was not specified, then the files are still saved to the target directory, but
may be in sub-directories corresponding to the original input files.
You must specify
--overwrite
if an output file (typically the same name as the encrypted file minus the
.sda.exe or .pga extension) already exists in the directory and you do not want E-Business Server to prompt
you for confirmation when overwriting it.
To display the version number for the archive reader you have installed, enter the following on the command
line:
ebsreader --version
The version information appears.