A quote from RFC 4880, Section 6.3: "The encoded output stream must be represented in lines of no more than 76 characters each." So I want to suggest to add a chunk_split() in the function enarmor() in openpgp.php.