×

PGP encrypted data transfer

  • US 9,246,890 B2
  • Filed: 02/18/2014
  • Issued: 01/26/2016
  • Est. Priority Date: 02/18/2014
  • Status: Active Grant
First Claim
Patent Images

1. A sending processing system for Pretty Good Protection (PGP) encrypting a data file to form a PGP-encrypted data file and for on-the-fly delivering of the PGP-encrypted data file to a receiving processing system, where the sending and receiving processing systems are coupled to a network, the sending processing system comprising:

  • one or more processors;

    a transport sender initialized to open a socket channel between the sending and receiving processing systems and configured to send data from the sending processing system to the receiving processing system;

    a PGP encrypter configured to symmetrically encrypt data using a symmetric PGP session key;

    a storage unit storing a file to be encrypted;

    logic encoded in one or more non-transitory computer readable storage media for execution by the one or more processors and with the one or more processors, when executing the logic, performing the acts of;

    defining a hash variable holding a message digest/hash value;

    initializing a pipe object with a source channel assigned to an input stream of the transport sender and a sink channel assigned as an output stream of the PGP encrypter;

    generating a PGP header packet including an asymmetrically encrypted PGP session key, with the PGP session key encrypted using the public key of a PGP asymmetric public key/private key pair;

    sending the PGP header packet to the sink channel of the pipe, where the PGP header packet is sent by the transport sender to the receiving processing system;

    computing an initial message digest/hash value equal to the hash value of the PGP header packet;

    encrypting a first chunk of the data file with the PGP encrypter to form a first encrypted data file chunk;

    sending the first encrypted data file chunk to the sink channel of the pipe, where the first encrypted data file chunk is sent by the transport sender to the receiving processing system;

    recomputing the message digest/hash value based on bytes of the first encrypted data file chunk and a previously generated message digest/hash value;

    if all data in the data file has not been encrypted, encrypting a next chunk of the data file with the PGP encrypter to form a next encrypted data file chunk;

    sending the next encrypted data file chunk to the sink channel of the pipe, where the next encrypted data file chunk is sent by the transport sender to the receiving processing system;

    recomputing the message digest/hash value based on bytes of the next encrypted data file chunk and a previously generated message digest/hash value;

    if all data in the data file has been encrypted, generating a PGP footer packet including a last recomputed message digest hash value; and

    sending the PGP footer packet to the sink channel of the pipe, where the PGP footer packet is sent by the transport sender to the receiving processing system.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×