skuld icon indicating copy to clipboard operation
skuld copied to clipboard

Fail on decrypting chromium cookies

Open JubasNTC opened this issue 1 year ago • 4 comments

Hello. I found an error when decrypting cookies for chromium browsers (everything works fine for gecko).

Here is the error log: cipher: message authentication failed

Here is the section of code where the error occurs: https://github.com/hackirby/skuld/blob/main/modules/browsers/decrypt.go#L29

Thank you in advance for your reply.

JubasNTC avatar Nov 13 '24 15:11 JubasNTC

Hello! The way Chromium browsers encrypt their cookies has changed recently, which is very likely causing the issue you're seeing. I'll look into fixing this as soon as I find time. Thank you for your patience!

hackirby avatar Nov 14 '24 18:11 hackirby

You might find this helpful

Encryption format for Chrome browser cookies https://gist.github.com/creachadair/937179894a24571ce9860e2475a2d2ec

Another method is to simply launch Chrome in debugging mode.

Phomemo avatar Jan 02 '25 22:01 Phomemo

@Phomemo Did you try to decrypt chrome cookies? if you have, could you kindly share code base?

Thank you.

cyber1129 avatar Jul 24 '25 15:07 cyber1129

Hello! The way Chromium browsers encrypt their cookies has changed recently, which is very likely causing the issue you're seeing. I'll look into fixing this as soon as I find time. Thank you for your patience!

Were you able to fix it?

cyber1129 avatar Sep 01 '25 17:09 cyber1129