meejah / txtorcon

Twisted-based asynchronous Tor control protocol implementation. Includes unit-tests, examples, state-tracking code and configuration abstraction.
http://fjblvrw2jrxnhtg67qpbzi45r7ofojaoo3orzykesly2j3c2m3htapid.onion/
MIT License
250 stars 72 forks source link

key blobs should be checked for \n or \r\n #290

Closed meejah closed 6 years ago

meejah commented 6 years ago

Any keyblob destined for ADD_ONION can't have newlines in it; should verify this early on.