-
Notifications
You must be signed in to change notification settings - Fork 46
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
Lack testing of emails using PGP and S/MIME encryption. #88
Comments
Hi @dallaslu More than likely this is a PHP8.x related error, but I can't confirm how complete it may be as I haven't done any PGP testing. I don't use PGP myself. If you want to fully test before a release is done, I suggest you test against the develop branch. Also happy for you to submit any PRs around this. Cheers, |
There are some confusing aspects of these places. While I don't know the details of the technical standards involved in this section, it smells bad. The processing in this case is not in the same format as the
case 'multipart/signed': // PGP
$parts = $this->_boundarySplit($body, $content_type['other']['boundary'], true);
$return->parts['msg_body'] = $parts[0];
list($part_header, $part_body) = $this->_splitBodyHeader($parts[1]);
$return->parts['sig_hdr'] = $part_header;
$return->parts['sig_body'] = $part_body;
break; Here, the index is used instead of the key to loop through the
for ($i=0; $i < count($mparts); $i++) {
$part = $mparts[$i]; |
fixed Z-Hub#88 PGP and S/MIME encryption
Mainly derived from mimeDecode.php. it seems its not finished supporting encrypted emails.
Currently, in 2.7.3, errors are often encountered that prevent synchronization:
The text was updated successfully, but these errors were encountered: