On Monday, August 24, 2020 at 12:16:43 PM UTC-4 Jeffrey Walton wrote:
> > > On Friday, August 21, 2020 at 6:21:45 AM UTC-4 tog...@gmail.com wrote: > > > Any update? > > I haven't had time to loop back to it (yet). > > The underlying PEM code is failing two self tests on OS X 10.13.6. Other > platforms are OK. I've got to clear that first. > > From https://travis-ci.org/github/noloader/cryptopp/jobs/719277144: > > Load malformed key 6 > - Failed > Load malformed key 7 > - Failed > > The program producing the message is at > https://github.com/noloader/cryptopp-pem/blob/master/pem_test.cxx. > I _think_ the problem might be sed on OS X. It is an anemic version, but I am trying to do: # Uses only CR (remove LF) sed 's/\n//g' rsa-pub.pem > rsa-eol-cr.pem # Uses only LF (remove CR) sed 's/\r//g' rsa-pub.pem > rsa-eol-lf.pem # No EOL (remove CR and LF) sed 's/\r//g; s/\n//g' rsa-pub.pem > rsa-eol-none.pem rsa-eol-none.pem should be one big line, with no end-of-lines, but it is not: $ cat rsa-eol-none.pem -----BEGIN PUBLIC KEY----- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC/bfqlSZccDRZ/uspLovFggO9p +9xkFzujnqIhS0TiY0WvEEhAZPq5mty0WsolIXpmqn2g8zEkLyRH2f+o2pj1WM Jh1IZnFX38H6fbvAsUeOmBJ2fKObdytB4RhH7TZ0s2NSU7t//vjY6qOVOCTtoaJ CxdVYHs2Lk5FvPuDQIDAQAB -----END PUBLIC KEY----- I think I need to switch to Perl. Jeff -- You received this message because you are subscribed to "Crypto++ Users". More information about Crypto++ and this group is available at http://www.cryptopp.com and http://groups.google.com/forum/#!forum/cryptopp-users. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to cryptopp-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/a1bd2251-3df8-454a-ac32-27033eafb7acn%40googlegroups.com.