This fixes the error, unfortunately the value returned by $gpg->verify() is now always null! I think 1.52 is seriously borked.
While I'm certain this will continue to be an edifying experience, my immediate objective is to get my srcript running again; is there a way to go back to 1.42?