In order to maximize security, Qmarkets has the ability to receive encrypted customers' Users CSV files, decrypt them and only then import to the system.


To get started:


Get from Qmarkets a public key file: xx.acs

      

     a. On the relevant server, check if PGP installed:  gpg --version

        Should get an output like:

  gpg (GnuPG) 2.0.22
libgcrypt 1.5.3
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.
 


b. Save the xx.acs provided by Qmarkets at a specific directory on the server (as well as the users' CSV file).


c. Run this command to extract the public key from the file: gpg --fingerprint 


    Response should be:

    pub   3072R/E9164359 2025-08-28 [expires: 2027-08-28]
    
Key fingerprint = 1723 ADFA A0E4 9962 8XCD D8F0 7I9S 30D5 Z916 4355
    uid                  xx-encryption <xx@qmarkets.net>
 


d. Copy the fingerprint string aside and remove the spaces, so it'll look like this:

    1723ADFAA0E499628XCDD8F07I9S30D5Z9164355


e. Encrypt the csv file using this command:

   gpg --armor --encrypt --recipient '1723ADFAA0E499628XCDD8F07I9S30D5Z9164355' --output test.csv.pgp test.csv 


g. Upload the encrypted CSV file (test.csv.pgp) to the SFTP.