I'm using Crypt GPG PHP package to encrypt data.
so, I encrypt data using two keys:
$gpg->addEncryptKey('rafaelsereno@gmail.com');
$gpg->addEncryptKey('tmachado3@gmail.com');
//just do to a test
$gpg->addDecryptKey('tmachado3@gmail.com','1234');
And I have my data decrypted (in server side) using just one key to decrypt it.
But If I want do decrypt by clients side using FireGPG, and if I try use the private key '1234' (the one it sure works from previous test), I have the information "bad passphrase", and I can only decrypt using the first encrypt key I added (the one from rafaelsereno@gmail.com).
I think thats a bug from FireGPG because decrypt works properly on server side, using the private key that dont work with FireGPG.
EDIT: I've done several tests and the BUG is EXACTLY the following: when you have data encrypted with two keys, and you have the two keys in your key manager, FireGPG automatically choose the first private key, and then you cant decrypt with the second. I have the option "always ask for private key", but does nothing.
So in my, after the encryptation process, if I want to choose the private key I want to use, I have the delete it the other from the key manager.