Advertisement
y2kbug

telegram passport output 1

May 29th, 2019
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.70 KB | None | 0 0
  1. 2019-05-30 03:03:17,799 - telegram.utils.webhookhandler - DEBUG - Webhook received data: {"update_id":27480283,
  2. "message":{"message_id":3632,"from":{"id":35667680,"is_bot":false,"first_name":"\u30ed\u30b8\u30e3\u30fc","last_name":"\u0669( \u141b )\u0648","username":"rogerleung","language_code":"en"},"chat":{"id":35667680,"first_name":"\u30ed\u30b8\u30e3\u30fc","last_name":"\u0669( \u141b )\u0648","username":"rogerleung","type":"private"},"date":1559185397,"passport_data":{"data":[{"type":"personal_details","data":"tDaWzm6hdPVgb52kQHu/DLjAVnXt9Z+d5pT66uoQLM/HrPd6Ewgh+lLhRd3JlRGdsV6xhGp83/ScusqUkiDTnBULiZYa7+QE7c2DX9BEsMlCRHWy7vq/S8g7g8Eh2FDz/nTMH3mS4fLsjPegSkwX0dW1nUAx0tfMTzLCgmEspPBj1wvSrcbmX2rCupUdgrq1UIvWJKXx8K2IV3lfixAaGUY7rqiC11FBsa1mpc9P6LU6VCj64XxgvqD5b6oDDXdntye6mbFKAUnVLlzqjaicJIVHH3MRqLVOU1lyNoZRjz2VSW8VaAviPOMvGpasHS5WX/nmfcZ7j3pK649AxaTrmhlaSkaZz7l02vwd2AYYbc0=","hash":"7feATcSP5FcnRwF2p+s/oSBooeDJcHNuVT990+d0PZ4="}],"credentials":{"data":"H8Nu/O5UMg3jxTQAC50q5VnFxfxTgAEgXj6Il5QN7uKfegigUrTX0O1khxC2plKtvcNHn7dKnjBZ64PK5gHPFS8jlEebHzdxcUheHBBi38IIZms33ZtDm4aty1x9QQzTIlWIZpNbHkNvu5PqN0J3I/vS9AP144yTqB6AByW+gG57vS7BjusBp9ldd0JgDEmqmBMbs8gK6bbrn9F7TZeW9GO3C4jFbV4SraglQ8UcZnP2j8SeHxzkBc+zHRNa01h0FmRB9fsXY+8n4+7NCF8wWCnBN/IfnpmpxoUBK3Hr1vhADtWrbz6dM5ZI4/HzQnUJ2TEEi9n4zO5kpcJeEP8Z6110sUg0jBYTe4QXh8j9Wib/X7JSat5XluB/QbcWEhC7P0l9R7rgChN8eTuGRAGAsrAzhdJr46Or+XozAF5guVw=","hash":"K3Fep3FtUMdE+gz92rhsaEtQgxsRXpqtPjqjT3eLv2s=","secret":"KkDSkRI9t1UK9IyunR3YBznEpt8GVs5NCn5b2AomBozYsDnJYb885LBzNYO6q1as6rqq+aVXJA9r0/Xxfus8zEzI9LkncGx50s+zuz0+NQada3DQKTrJbWwti5aK3jLR0Ry/kYMvAcQko6A+l4WKjV76ssGrHZQVIlXlWKuGiJO6QPcK1sr/XOTc24CikzZ/lJh3sM8h/YMB5z0i7UR3n27rmbjehpmpzdejEeibJRPeBGH7bUfvYwKrRkrL0ccct4mxc7b6qzvqP1GLkmoWDRe/88ZJ4QCtsIn27LeWX+k+zGpHrBMMJCRfeUQcQZa0XxGnn46/XXMgFqplDiPBew=="}}}}
  3. 2019-05-30 03:03:17,799 - telegram.utils.webhookhandler - DEBUG - Received Update with ID 27480283 on Webhook
  4. 2019-05-30 03:03:17,800 - telegram.ext.dispatcher - DEBUG - Processing Update: {'update_id': 27480283, 'message': {'message_id': 3632, 'date': 1559185397, 'chat': {'id': 35667680, 'type': 'private', 'username': 'rogerleung', 'first_name': 'ロジャー', 'last_name': '٩( ᐛ )و'}, 'entities': [], 'caption_entities': [], 'photo': [], 'new_chat_members': [], 'new_chat_photo': [], 'delete_chat_photo': False, 'group_chat_created': False, 'supergroup_chat_created': False, 'channel_chat_created': False, 'passport_data': {'data': [{'type': 'personal_details', 'data': 'tDaWzm6hdPVgb52kQHu/DLjAVnXt9Z+d5pT66uoQLM/HrPd6Ewgh+lLhRd3JlRGdsV6xhGp83/ScusqUkiDTnBULiZYa7+QE7c2DX9BEsMlCRHWy7vq/S8g7g8Eh2FDz/nTMH3mS4fLsjPegSkwX0dW1nUAx0tfMTzLCgmEspPBj1wvSrcbmX2rCupUdgrq1UIvWJKXx8K2IV3lfixAaGUY7rqiC11FBsa1mpc9P6LU6VCj64XxgvqD5b6oDDXdntye6mbFKAUnVLlzqjaicJIVHH3MRqLVOU1lyNoZRjz2VSW8VaAviPOMvGpasHS5WX/nmfcZ7j3pK649AxaTrmhlaSkaZz7l02vwd2AYYbc0='}], 'credentials': {'data': 'H8Nu/O5UMg3jxTQAC50q5VnFxfxTgAEgXj6Il5QN7uKfegigUrTX0O1khxC2plKtvcNHn7dKnjBZ64PK5gHPFS8jlEebHzdxcUheHBBi38IIZms33ZtDm4aty1x9QQzTIlWIZpNbHkNvu5PqN0J3I/vS9AP144yTqB6AByW+gG57vS7BjusBp9ldd0JgDEmqmBMbs8gK6bbrn9F7TZeW9GO3C4jFbV4SraglQ8UcZnP2j8SeHxzkBc+zHRNa01h0FmRB9fsXY+8n4+7NCF8wWCnBN/IfnpmpxoUBK3Hr1vhADtWrbz6dM5ZI4/HzQnUJ2TEEi9n4zO5kpcJeEP8Z6110sUg0jBYTe4QXh8j9Wib/X7JSat5XluB/QbcWEhC7P0l9R7rgChN8eTuGRAGAsrAzhdJr46Or+XozAF5guVw=', 'hash': 'K3Fep3FtUMdE+gz92rhsaEtQgxsRXpqtPjqjT3eLv2s=', 'secret': 'KkDSkRI9t1UK9IyunR3YBznEpt8GVs5NCn5b2AomBozYsDnJYb885LBzNYO6q1as6rqq+aVXJA9r0/Xxfus8zEzI9LkncGx50s+zuz0+NQada3DQKTrJbWwti5aK3jLR0Ry/kYMvAcQko6A+l4WKjV76ssGrHZQVIlXlWKuGiJO6QPcK1sr/XOTc24CikzZ/lJh3sM8h/YMB5z0i7UR3n27rmbjehpmpzdejEeibJRPeBGH7bUfvYwKrRkrL0ccct4mxc7b6qzvqP1GLkmoWDRe/88ZJ4QCtsIn27LeWX+k+zGpHrBMMJCRfeUQcQZa0XxGnn46/XXMgFqplDiPBew=='}}, 'from': {'id': 35667680, 'first_name': 'ロジャー', 'is_bot': False, 'last_name': '٩( ᐛ )و', 'username': 'rogerleung', 'language_code': 'en'}}}
  5. 2019-05-30 03:03:17,807 - telegram.ext.dispatcher - WARNING - A TelegramError was raised while processing the Update
  6. 2019-05-30 03:03:17,807 - telegram.ext.dispatcher - ERROR - No error handlers are registered, logging exception.
  7. Traceback (most recent call last):
  8. File "/usr/local/lib/python3.7/site-packages/telegram/ext/dispatcher.py", line 279, in process_update
  9. handler.handle_update(update, self)
  10. File "/usr/local/lib/python3.7/site-packages/telegram/ext/messagehandler.py", line 169, in handle_update
  11. return self.callback(dispatcher.bot, update, **optional_args)
  12. File "bot.py", line 1835, in passport_handler
  13. for data in passport_data.decrypted_data: # This is where the data gets decrypted
  14. File "/usr/local/lib/python3.7/site-packages/telegram/passport/passportdata.py", line 90, in decrypted_data
  15. for element in self.data
  16. File "/usr/local/lib/python3.7/site-packages/telegram/passport/passportdata.py", line 90, in <listcomp>
  17. for element in self.data
  18. File "/usr/local/lib/python3.7/site-packages/telegram/passport/passportdata.py", line 105, in decrypted_credentials
  19. return self.credentials.decrypted_data
  20. File "/usr/local/lib/python3.7/site-packages/telegram/passport/credentials.py", line 197, in decrypted_data
  21. self.data),
  22. File "/usr/local/lib/python3.7/site-packages/telegram/passport/credentials.py", line 106, in decrypt_json
  23. return json.loads(decrypt(secret, hash, data).decode('utf-8'))
  24. File "/usr/local/lib/python3.7/site-packages/telegram/passport/credentials.py", line 99, in decrypt
  25. raise TelegramDecryptionError("Hashes are not equal! {} != {}".format(data_hash, hash))
  26. telegram.passport.credentials.TelegramDecryptionError: TelegramDecryptionError: Hashes are not equal! b'\xda\xb5\xf7\x19S\xaf\x04\xe0b\xc9.nB\xa6\x810\xf8l\xe8\xa4\xcd\xf5$\xd9\x94\x96\x08\xcc\x0fdj3' != b'+q^\xa7qmP\xc7D\xfa\x0c\xfd\xda\xb8lhKP\x83\x1b\x11^\x9a\xad>:\xa3Ow\x8b\xbfk'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement