Body data missing in decodedMessage call

I have a multipart message and in the MEMessageSecurityHandler.decodedMessage(forMessageData:) function call, I can access all of the headers of the email, but when I get to the body section, the actual content of the email is missing.

I've dumped the data out to a file and can see that there is an X-Apple-Content-Length header been added, but the content of the multipart email


--=-=W2HxPVXDSaWZZw=-=
X-Apple-Content-Length: 11
Content-Type: application/pgp-encrypted


--=-=W2HxPVXDSaWZZw=-=
Content-Transfer-Encoding: 7Bit
Content-Disposition: inline;
	filename=openpgp-encrypted-message.asc
Content-Type: application/octet-stream;
	name="openpgp-encrypted-message.asc"
X-Apple-Content-Length: 9608


--=-=W2HxPVXDSaWZZw=-=--

How can I access the content of these parts to decrypt the message?

Answered by discorevilo in 683626022

For anyone else who had this issue, it has been resolved in build 21A5294g

Any solution? We got the same problem.

Accepted Answer

For anyone else who had this issue, it has been resolved in build 21A5294g

Body data missing in decodedMessage call
 
 
Q