PHP script to create PGP encrypted file using gnupg_encrypt

This is for someone with good gnupg_encrypt, zip and file creation experience. It is an easy task for someone who knows how to use such functions. This could be done with shell script also.

I need a php file that when executed will take each file within a specific folder and do the following, The reason is that we create csv files of data which transfer to our client each day. But they require new encryption process to receive encrypted data with a checksum file and an end file to confirm completion. Our source files start STRC_.


Source file: /[login to view URL]


new file: /[login to view URL] (PGP encrypted version of source file)

new file: /[login to view URL] (MD5 has of source file)

new file: /transfer/[login to view URL] (The above 2 files zipped together)

new file: /transfer/[login to view URL] (0kb empty file)

renamed file: /complete/[login to view URL]


1. look for all files in our data folder starting STRC_ and ending .csv

2. for each file, create a pgp encrypted file with specific public key, using the same source filename, but ending .pgp

3. once successfully created, take the same source file and create an MD5 has of the full file and create a new file containing the only hash - named with the same source filename but ending.checksum.

4. Once stage 3 successful, create in a subfolder /transfer a ZIP file of the .checksum and .pgp files. Named with the same source filename but ending .zip

5. Once stage 4 completed, create in a subfolder /transfer an empty 0kb file with same source filename but ending .end

6. Move the source file to a subfolder /complete

I will want to see a working script and test the results before completing payment for this.

Skills: Linux, MySQL, PHP, Shell Script, Software Architecture

See more: gnupg php, install gnupg php, pgp encrypt file php, gnupg php windows, openpgp php tutorial, gnupg decrypt php, php pgp library, php pgp decrypt file, php script create href subdirectories, creating pgp encrypted file using script, php script create draw images, php script upload heavy csv file, php script update database dump file, php script create m3u links, php script create xml sql, php script create database, php script read emails text file, php script create subdomain, php script create email receive attachment folder, sql script create daily text file

About the Employer:
( 78 reviews ) london, United Kingdom

Project ID: #17567345

Awarded to:


Hello sir. I am professional PHP developer. I would like to work on your project. Lets talk more in the chat

£200 GBP in 3 days
(15 Reviews)

7 freelancers are bidding on average £169 for this job

£200 GBP in 3 days
(269 Reviews)

dear sir, i have studied your requirement and understood it properly,i can design and develop your website in wordpress with google SEO guide [login to view URL] share your detail requirement with me. i can show you my wor More

£277 GBP in 15 days
(49 Reviews)

I read your project description ……PHP script to create PGP encrypted file using gnupg_encrypt …..and we are very exited to work on it We are an group and we have an expert & qualified to accomplish your project in More

£50 GBP in 3 days
(35 Reviews)

Dear Sir, I have gone through project description and interested in taking it up. Posted bid amount is indicative and a more accurate I can give once more details are shared. Looking forward to hearing from you. Thanks

£150 GBP in 3 days
(166 Reviews)

How big will these files be? In which PHP version should be written? The script should be called with parameter or should it listen the dir? I am happy to take on this project, and the additional information will allow More

£155 GBP in 3 days
(11 Reviews)

U take it

£150 GBP in 3 days
(0 Reviews)