Crypt_GPG | Encrypt/decrypt PGP messages with PHP
kandi X-RAY | Crypt_GPG Summary
kandi X-RAY | Crypt_GPG Summary
Crypt_GPG is a PHP package to interact with the GNU Privacy Guard (GnuPG). GnuPG is a free and open-source implementation of the OpenPGP protocol, providing key management, data encryption and data signing. Crypt_GPG provides an object-oriented API for performing OpenPGP actions using GnuPG.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Process the command
- Handles the status line .
- Get the list of private keys
- Generate a password key .
- Adds a key to an array .
- Parse a command line
- Parses a GPG_GPG_Key .
- Checks if the process is running
- Get primary key
- Returns the hash algorithm name .
Crypt_GPG Key Features
Crypt_GPG Examples and Code Snippets
Community Discussions
Trending Discussions on Crypt_GPG
QUESTION
I am using Crypt_GPG for PHP and I am unable to sign a GPG document even though I am importing a sign key which I just created, which does have a passphrase.
The code is pretty simple:
...ANSWER
Answered 2017-Dec-13 at 23:46Thank you bishop. The problem seems to be a bug in gpg 2.0.22, which is the version I have in Docker. I did some testing and I noticed I had no issues on our qa and production servers. I checked the version on those boxes and it was 2.0.28. My code has been vindicated.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Crypt_GPG
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page