New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Engima plugin won't accept key passphrase for sending a new email signed or encrypted-CONTINUED #5215
Comments
If you updated also Roundcube to git-master you could enable enigma_debug option to get some debug info from gnupg. |
thanks. i've merged the rc git-master branch. strange issue now; when i try creating a new key in RC, i receive error: Unable to import key(s)! Internal error. in the webui. my rc error log states: tu9bljrs> PHP Error: Enigma plugin: Unknown error importing GPG key. Please use the 'debug' option when creating the Crypt_GPG object, and file a bug report at http://pear.php.net/bugs/report.php?package=Crypt_GPG in /var/www/roundcubemail-1.1.1/plugins/enigma/lib/enigma_engine.php on line 1069 (POST /mail/?_task=settings&_framed=1&_action=plugin.enigmakeys) i do have in my enigma config as well: $config['enigma_debug'] = true; what can i try next? Thanks for your help. |
You should have logs/enigma file then. |
i do not. sendmail and errors is all. |
Strange. Are you really on git-master? Your directory path shows 1.1.1 version. |
that's just my folder name from my original install, i've since updated without bothering to rename it. i've set my git branch to origin/master: git branch --set-upstream-to=origin/master and running git pull produces: Already up-to-date. |
i got it to finally create a new key but still won't accept my passphrase....same as before. |
You need to use composer to update Crypt_GPG, did you do this? Did you try with some simple password e.g. "12345" (make sure there are only digits/letters). |
i did use composer for the crypt_gpg library and have v1.4.1 installed now and i have also tried simple password key creation with only lower case alpha / numerics. i have also tried other more complex or longer passwords but again, no special characters at the very least. |
Please, verify that your /vendor/bin/crypt-gpg-pinentry looks like this https://github.com/pear/Crypt_GPG/blob/master/scripts/crypt-gpg-pinentry. Use gpg in command line to verify that the key/passphrase works there. Provide enigma_debug log. |
I got same issue. Enigma doesn't accept my password. I also update to git master and enable enigma_debug, I see debug message in browser, but i want to see them in log file. |
if you have debug in browser, that would mean you didn't update Crypt_GPG to version 1.4.1. |
Upgrade to Crypt_GPG, now I have enigma log file. And now I see error: GPG: ERROR: gpg: problem with the agent: No pinentry |
In my case, the problem was that there was no variable php in the env. |
@fsantiago07044, how about you? Maybe that's the same issue? |
still doesn't work but i tried pinentry from the command line and received this: PHP Fatal error: XML definition file "/var/www/roundcubemail-1.1.1/vendor/pear-pear.php.net/Console_CommandLine/Console/CommandLine/../../data/xmlschema.rng" does not exists or is not readable in /var/www/roundcubemail-1.1.1/vendor/pear-pear.php.net/Console_CommandLine/Console/CommandLine.php on line 855 |
but the file exists under here: /var/www/roundcubemail-1.1.1/vendor/pear-pear.php.net/Console_CommandLine/data/Console_CommandLine/data/xmlschema.rng |
Looks like another issue with installing pear package with composer. I see how that could be a problem when you used /vendor dir from Roundcube official package, but if you installed deps using composer it should work. The problem is with a path in validate() method in /vendor/pear-pear.php.net/Console_CommandLine/Console/CommandLine/XmlParser.php. |
can i fix with a symlink or do i need to run / re-run composer after doing something with packages? |
i did initially use the official package but have since been updating from git and then follow up with composer |
I also had this issue, I corrected it by symlink and forgot to tell. |
Driim, where do i symlink the file to? the error msg's path isn't clear as far as where it's looking for it...... |
when it says /../../data/xmlschema.rng, where is this pointing to? |
vendor/pear-pear.php.net/Console_CommandLine/data/xmlschema.rng should point to |
all fixed now that i've up'd to rc 1.2.0 official release and updated my composer dependencies. case closed. works fine now. |
It works in our official release because we patched Console_CommandLine. It also works if you use composer on your destination system. However, my PR has not been aplied yet, so I'll leave the ticket open until we have a new Console_CommandLine package that we can depend on. |
@alecpl - fixed in Console_CommandLine 1.2.2 |
I've updated to crypt_gpg v1.4.1 and still same issue. now what?
The text was updated successfully, but these errors were encountered: