paulyasi/encryption_helper
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
encryption helper for php provides functions to encrypt, decrypt, and sign data using gpg or pgp commands. encrypt_command, sends data to encrypt to stdin, returns result code encrypt_command expects a gpg command like /usr/bin/gpg --homedir /home/www-data/.gnupg --armor --batch -e -r 'USERNAME' decrypt_command, sends passphrase to stdin, returns decrypted data decrypt_command expects a gpg command like: /usr/bin/gpg --homedir /home/www-data/.gnupg --passphrase-fd 0 --yes --no-tty --skip-verify --decrypt file.gpg sign_command, sends passphrase to stdin for a file signature, returns nothing on success sign_command expects a gpg command like: /usr/bin/gpg --homedir /home/www-data/.gnupg --passphrase-fd 0 --yes --no-tty --clearsign file.tmp
About
helper functions to encrypt, decrypt, and sign with gpg or pgp commands
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published