Closed 71 closed 4 years ago
I thought about adding a test case, but don't know how exactly. If I use one of the messages I decrypted myself, aren't I essentially leaking my friend's or my ID to the world?
Otherwise I could create a dummy test case like this, but I wasn't sure it was good enough.
If I use one of the messages I decrypted myself, aren't I essentially leaking my friend's or my ID to the world?
Yes. But that’s the only way we can be sure it’s working. I don’t know to what extent the ID is personal data or wether it can be used by a third party somehow, so it may or may not be a problem. It’s okay for me to merge your PR without a test case, but it would be better if you can add one. Maybe it’s possible to use a message of a well-known account like a translation bot?
For now all the messages I have with encoding 27 are from real people, so I'd rather not leak that :/
Thank you for your contribution. Could you also add a test case for encoding type 27 in method
testDecryptMessage
inkakaodecrypt.test.py
?