gmessages/libgm/manualdecrypt
2023-09-05 01:42:36 +03:00
..
main.go Implement avatars 2023-09-05 01:42:36 +03:00
README.md Add readme to manualdecrypt 2023-08-27 13:11:35 +03:00

manualdecrypt

This tool can be used to inspect requests that the messages.google.com/web app sends

  1. Install Go 1.20 or higher and protoc (sudo apt install protobuf-compiler on Debian).
  2. Clone this repository (git clone https://github.com/mautrix/gmessages.git).
  3. Enter this directory (cd libgm/manualdecrypt) and compile it (go build).
  4. Run ./manualdecrypt
    • On first run, it'll ask for pr_crypto_msg_enc_key and pr_crypto_msg_hmac from the localStorage of the messages for web app.
  5. Find the relevant SendMessage HTTP request in browser devtools and copy the entire raw request body (a bunch of nested JSON arrays).
  6. Paste the request body into manualdecrypt, then press Ctrl+D on a blank line to tell it to parse the pasted data.