E-Business Server:How to send an encrypted file to someone who does not have PGP

From SDS
Jump to navigation Jump to search



How to send an encrypted file to someone who does not have PGP

Technical Articles ID: SDSKB9

Environment E-Business Server 8.x and 7.x


Summary There are two ways to create an encrypted file, which can be sent to non-PGP users. One can be sent to Windows users. The other can be sent to users on Windows, Unix, and z/OS, but requires that another program be distributed. Both methods involve conventional encryption. Files may be CREATED on Windows, Unix, or z/OS using either method. This article provides examples for the following:

  • Create an SDA (Self Decrypting Archive) to send to non-PGP Windows users.
  • Create a PGP Archive file to send to non-PGP users on Windows, Unix, and z/OS.


Solution 1

Create an SDA (Self Decrypting Archive) file:
Example:
pgp --encrypt --sda filename --passphrase "passphrase"
This creates an .EXE (Executable) file that will run on any Windows-based system. NOTE: an SDA may not be larger than 4 GB. If the input file can be compressed, the input file may be larger than 4 GB as long as the resultant SDA is smaller than that.


Solution 2

Create a PGP Archive (PGA) file:
Example:
pgp --encrypt --archive filename --passphrase "passphrase"
This creates a .PGA (Archive) file that you can use pgpreader to decrypt on a Windows, UNIX, or z/OS system. The pgpreader utility can be found in the E-Business Server program directory and may be freely distributed.