jiru / kakaodecrypt

Decrypt chat history from the local database of Kakaotalk’s Android app
Do What The F*ck You Want To Public License
64 stars 26 forks source link

KeyError:'enc' #13

Closed Blackiris-no1 closed 7 months ago

Blackiris-no1 commented 3 years ago

Traceback (most recent call last): File "kakaodecrypt.py", line 181, in run enc_type = row[ col_defs['enc'] ] KeyError: 'enc'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "kakaodecrypt.py", line 239, in KakaoDbDecrypt.run(args.db_file, enc_table, dec_table, enc_fields, args.p, args.u) File "kakaodecrypt.py", line 189, in run enc_type = v_data['enc'] KeyError: 'enc'

jiru commented 3 years ago

May I see the file you are trying to decrypt?

Blackiris-no1 commented 3 years ago

May I see the file you are trying to decrypt?

of course. Please provide an email address to receive the file.

General decryption is possible. The problem area is In case of using -u option

jiru commented 3 years ago

You can send it to 13.kkd@xoxy.net.

jiru commented 3 years ago

May I see the complete command line that gives this error?

Blackiris-no1 commented 3 years ago

May I see the complete command line that gives this error?

okay.

스크린샷 2021-03-13 오후 6 15 39
Blackiris-no1 commented 3 years ago

May I see the complete command line that gives this error?

I sent the KakaoTalk db file by e-mail.

The overall command line command is replaced with the picture above.

jiru commented 3 years ago

It looks like couldn’t get your email because the attachment was too big. Could you try again compressing the file into a ZIP or uploading it to a temporary place?

jiru commented 3 years ago

Note that from the above screenshot, we can tell that the chat logs were decrypted successfully into the new table chat_logs_dec. The error comes from one of the other tables Kakaodecrypt is trying to read.

jiru commented 7 months ago

Closing as I did not get reply from Blackiris-no1.