Forgot to actually implement allowed-keys/reverse testing
Fix a Python 3 encoding dealie
Yup, that was indeed too fucking clever. Bad bitprophet!