openpgp-keychain/openpgp-keychain — pull request #311 by emdete (2014-02-28 14:24:27+00:00)
Title: prevent null byte[] in case of encoding exc

in theory the byte array could be null if an exception occures (which wont happen in praxis). i would additionally suggest to use "ascii" encoding as well for armoured stuff but i am no expert on that. i changed the printStackTrace as well as i considere this not correct for logging on android.