gnupg

OpenPGP Signing

I'm reading RFC4880 in an attempt to produce an implementatdion of a subset of OpenPGP (RSA signatures) using http://phpseclib.sourceforge.net/. I have the publickey and compression-literal-signature packets parsed out. I can extract n and e and feed them to Crypt_RSA to construct a verifier. I tell it I'm using sha256. It then ne...

GnuPG + Webservice + ASP.NET

Hi! I'm exhausted. I have installed GnuPG and exported secret key, and two public keys (my own and one of my client) from another instance of GnuPG. I try to configure 'my encrypting/decrypting' method on the local machine. When I run encrypting method from a little console application it works good. When I run this (same! - with the s...

PHP/GnuPG Decryption -- Syntax error?

I'm using php to invoke gpg, but I'm getting a pipe error. I thought that if I read in the password from a file, I could then pipe it to the command itself? But, I keep getting: Syntax error: "|" unexpected Here's the code: (Note: The files are being iterated over in a foreach loop...) foreach($files as $k => $v) { $encrypted = ...

GnuPG on Wampserver

Can you please tell me how do I install and use GnuPG on wampserver ? I seriously want that. I hope this question comes under stackoverflow. If not please close this but please dont downvote me :( ...

Sendmail and gnupg

I am looking for a way to configure wordpress on my RHEL4 machine to send out email notifications using gnupg (sendmail). Can anyone point me in the right direction? ...

Decrypting a gpg file with gnupg

I'm trying to decrypt some data from gpg files that I've downloaded. Downloading the files to a directory is no problem, but I'm having trouble actually decrypting them. Here's what I'm doing right now: def extractGPGs(gpglist,path,gpgPath="\"C:\\Program Files\\GNU\\GnuPG\\gpg.exe\""): os.chdir(path) if not os.path.isdir("GPGFiles"): ...

gnupg decryption using public key provided by the vendor

i have installed gnupg on my office desktop(windows server 2008 sp2) and generated the keys and i was able to encrypt and decrypt using the keys(generated by importing third party xxx.asc file)...but few days back i had to reimage by box. so i had to install the gnupg again....i again imported those keys from the same xxx.asc file..even ...

Find out location of OpenSSL and GnuPG using PHP?

Hi, Is there a cross-platform compliant way of finding out the path to the main executables of OpenSSL and GnuPG? Obviously this would be null if the software was not installed or detected. ...

mdc error when decrypting GPG message

I have a client and server system that regularly run scheduled tasks and communicate through xml files that have been encrypted by gpg. All required public keys have been successfully exchanged between the client and server. The encryption and decryption calls are being done from a batch file. encrypt syntax gpg.exe --batch --yes --re...

Check encrypted file for empty content

I'm using gpg to decrypt files sent to me by a vendor. Everything works fine accept for when the content of the encrypted file is empty (the vendor has told me that there is no content in the files in question). If I try and decrypt one of these files I get: gpg: can't handle this ambiguous signature data Is there any way to che...