Closed SachitNayak closed 7 months ago
I wondered how Pyktok solves authentication and investigated it a little while back: the password is needed to decrypt your chrome cookies, which are needed to authenticate to TikTok. Pyktok uses browser_cookie3 for that. These are the lines which lead to the pop-up:
My understanding is that the password is needed to decrypt the cookie jar and that this is a relativly secure way to deal with it. If you don't trust browser_cookie3, you should check the code yourself. Or you can use Firefox instead, which does not encrypt the cookies and hence your password is not read by Python.
@JBGruber is correct, this is a Chrome issue on MacOS, browser_cookie3
needs your password to read the encrypted cookies that let you get the goods. Your options are to give it what it needs or use a different browser that doesn't encrypt its cookies.
Hi,
I have a very simple piece of code, that when executed seems to escalate to ask to read secrets in chrome safe storage and keychain on mac.
code is:
and the dialog box that pops up asking to read secrets is shown in the attached screenshot:
what secrets/password is it asking to read and will it be able to read my critical passwords stored on chrome?
Thanks