Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Signing fails because "-- " (signature seperator) is changed to "- --" #150

Open
gordin123 opened this issue May 2, 2014 · 3 comments
Open
Labels
Milestone

Comments

@gordin123
Copy link

When writing a new mail roundcube inserts the signature of the current identity at the bottom of the mail. Roundcube inserts "-- " as a seperator at the beginning of the signature which will automatically be altered to "- --" after pgp signing and before sending. Consequently the pgp signature can not be verified. This does not happen when pgp signing is turned off. If I remove the space char after "--" manually before sending, pgp signing works as expected.

Roundcube 1.0
rc_openpgpjs master a4984bf

@lazlolazlolazlo
Copy link
Contributor

This is fixed in an experimental version of this plugin which uses OpenPGP.js v0.5.1 and makes use of web workers for signing, encrypting and decrypting: https://github.com/lazlolazlolazlo/roundcube_openpgp

Versions of OpenPGP.js lower than v0.5.1 have critical security issues found in the security audit performed by Cure53: https://cure53.de/pentest-report_openpgpjs.pdf

@gordin123
Copy link
Author

Thanks for the info. I will try roundcube_openpgp.
Where is the difference between rc_openpgpjs and roundcube_openpgp? Is it the same code base or two seperate projects?

@lazlolazlolazlo
Copy link
Contributor

It was the same code base, but it is refactored to make it work with v0.5.1 and web workers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants