openpgp-python
openpgp-python copied to clipboard
Python 3 compatibility
This is mainly about prints(), but also a few range()s. I think this requires Python 2.7 now, because of the io module, but I'm not sure. There will be workarounds if that's an issue.
sorry but no it is not simply compatible. just look at the str.encode('hex') problematic and the encoding in general, you need to open the files with the encoding 'latin-1' or else you get an encoding error at the first read() operation