MULE-7778: PGP module is unable to decrypt signed files

(cherry picked from commit 4960914)
(cherry picked from commit 548b782)