Encrypt a file in IPD flow

 1 Replies
 1 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
HDAustin13
Advanced Member
Posts: 31
Advanced Member

    Hello All,

    I need to encrypt an outgoing csv file with the PGP key the vendor provided in the IPD tool but not sure on how to start.

    Does anyone have done that before? If so, can you please share the guide or a sample flow.

    Thank you very much in advance,

    HDao

    John Henley
    Posts: 3353
      Steps:
      1. you have to create a service in Landmark to "house" the key. Typically I use PGPXXXXXX where XXXXXX is what vendor, so PGPKAISER.
      In Infor Rich Client, access the Security System Management application and then Service.
      On the Service List, select Actions > Create and then fill in the required fields. Since the service is just used for housing the PGP key, the fields are minimal.

      The next step depends on whether you are hosted or not; if you are hosted then your provider has to do this step. For Infor, you have to do it with an incident, and attach the public key to the incident.

      Using the provided public key file (e.g. KAISER.asc), import the key into Landmark.
      From a command line in the Infor Landmark system, type secadm -m and, if prompted, type the password
      Choose 26 - key management
      Choose 2 - upload PGP Public Key for a service

      Once that is done, you can use the PGP key from an encrypt node in a flow.
      The typical flow is:
      1. loop over some data and accumulate to a message builder variable
      2. encrypt the message builder variable, referencing the PGPKAISER service, and use the 'Data' option.
      3. write the output of the encryption node to a file using a fileaccess node

      Hopefully that is enough to get you started.
      Thanks for using the LawsonGuru.com forums!
      John