My problem is simple. BSD doesn't ship with a base64 binary, so I'm using the one in openssl. Encoding works fine, but decoding does not.
This is my DNS cert record: FMIGMFRUkpXzNJA3//u+WjBiS7JJaHR0cDovL3ByaW1lLmd1c2hpLm9y Zy9kYW5tLnB1YmtleS50eHQ= base64 -d -i decodes it correctly: 00000000 14 c2 06 30 54 54 92 95 f3 34 90 37 ff fb be 5a |...0TT...4.7...Z| 00000010 30 62 4b b2 49 68 74 74 70 3a 2f 2f 70 72 69 6d |0bK.Ihttp://prim| 00000020 65 2e 67 75 73 68 69 2e 6f 72 67 2f 64 61 6e 6d |e.gushi.org/danm| 00000030 2e 70 75 62 6b 65 79 2e 74 78 74 |.pubkey.txt| 0000003b echoing the above string (even with echo -n, even with spaces stripped) to openssl base64 -d yields nothing. %openssl version -a OpenSSL 0.9.7e-p1 25 Oct 2004 built on: Thu Dec 4 02:57:51 EST 2008 platform: FreeBSD-i386 options: bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) blowfish(idx) compiler: cc OPENSSLDIR: "/etc/ssl" I realize the version my OS has installed is a bit old, but reasonably solid. I searched for this bug first, and tried under newer versions (0.9.8g) and it didn't seem to be better. Note: in order to find this bugs address I had to download a source tarball and extract the README, per the FAQ. Could the README not be put up on the site? Should that be a separate bug? Thanks -Dan Mahoney -- --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
