PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 04/03/2020 12:56 PM by  John Henley
Encrypt a file in IPD flow
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
HDAustin13
IT programmer
Austin ISD
Basic Member
(47 points)
Basic Member
Posts:23


Send Message:

--
04/03/2020 12:26 PM

    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
    Private
    Private
    Senior Member
    (9788 points)
    Senior Member
    Posts:3280


    Send Message:

    --
    04/03/2020 12:56 PM
    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
    You are not authorized to post a reply.