Jump to content

php system() and gpg


l0ve2hat3

Recommended Posts

I want to know if the following is possible:

 

a) interactive system() command.  I need to encrypt a file using "gpg -c myfile" but from command line you need to enter the pass phrase 2 times after calling that command. so something like:

system("gpg -c myfile"); system("test");system("test");

 

or

 

b) if there is an easier way to encrypt a file

 

Link to comment
https://forums.phpfreaks.com/topic/171072-php-system-and-gpg/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.