[PR #61] [MERGED] Pip package #109

Closed
opened 2026-03-02 04:00:05 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ElDavoo/wa-crypt-tools/pull/61
Author: @Mikel12455
Created: 4/28/2023
Status: Merged
Merged: 5/1/2023
Merged by: @ElDavoo

Base: mainHead: pip-package


📝 Commits (8)

  • 8fdacca Modified project structure
  • 46adf00 Updated gitignore
  • 4bdbfa3 Changed folder name
  • 6e181c5 Added pyproject.toml file
  • e3b6439 Changed folder structure to work as package
  • 08355a2 Changed entry point name in pyproject.toml
  • 75bdc2d Fixed package imports not working
  • e40e8c4 Added fork changes to README.md

📊 Changes

18 files changed (+195 additions, -9 deletions)

View changed files

📝 .gitignore (+160 -1)
📝 README.md (+10 -1)
pyproject.toml (+18 -0)
whatsapp_decrypter/__init__.py (+0 -0)
📝 whatsapp_decrypter/decrypt14_15.py (+2 -2)
📝 whatsapp_decrypter/proto/C14_cipher.proto (+0 -0)
📝 whatsapp_decrypter/proto/C14_cipher_pb2.py (+1 -1)
📝 whatsapp_decrypter/proto/C14_cipher_version.proto (+0 -0)
📝 whatsapp_decrypter/proto/C14_cipher_version_pb2.py (+0 -0)
📝 whatsapp_decrypter/proto/C15_IV.proto (+0 -0)
📝 whatsapp_decrypter/proto/C15_IV_pb2.py (+0 -0)
whatsapp_decrypter/proto/__init__.py (+0 -0)
📝 whatsapp_decrypter/proto/key_type.proto (+0 -0)
📝 whatsapp_decrypter/proto/key_type_pb2.py (+0 -0)
📝 whatsapp_decrypter/proto/prefix.proto (+0 -0)
📝 whatsapp_decrypter/proto/prefix_pb2.py (+4 -4)
📝 whatsapp_decrypter/proto/version_features.proto (+0 -0)
📝 whatsapp_decrypter/proto/version_features_pb2.py (+0 -0)

📄 Description

This pull requests fixes the issue #5

A couple of important notes:

  • This changes both the "proto" imports in the code and the folder structure of the project
  • I did run some tests. The installation worked both locally (pip install . directly from the project folder) and remotely (pip install git+[repository_url]@[branch]), the package managed to decrypt a db.crypt15 with an E2EE key, and the python interactive shell managed to import the package and call the main function (although I couldn't do anything interesting with it on the shell)
  • I honestly couldn't come up with a better name for the package name
  • There is still some metadata missing in the pyproject.toml file, like the author or the package tags
  • For now this is only useful to easily install and launch the script from the command line, because as it stands now it's pretty hard to import and use in other packages

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ElDavoo/wa-crypt-tools/pull/61 **Author:** [@Mikel12455](https://github.com/Mikel12455) **Created:** 4/28/2023 **Status:** ✅ Merged **Merged:** 5/1/2023 **Merged by:** [@ElDavoo](https://github.com/ElDavoo) **Base:** `main` ← **Head:** `pip-package` --- ### 📝 Commits (8) - [`8fdacca`](https://github.com/ElDavoo/wa-crypt-tools/commit/8fdacca678ccdb66c949406cd2ff30a565421939) Modified project structure - [`46adf00`](https://github.com/ElDavoo/wa-crypt-tools/commit/46adf006313f46732fad4792c13d2ab51fbd1e63) Updated gitignore - [`4bdbfa3`](https://github.com/ElDavoo/wa-crypt-tools/commit/4bdbfa3e96f86ddd3dd5f947d8cc24c38f9cc3eb) Changed folder name - [`6e181c5`](https://github.com/ElDavoo/wa-crypt-tools/commit/6e181c56f2058d5b9ca078d3d6f5ac475a3b99d3) Added pyproject.toml file - [`e3b6439`](https://github.com/ElDavoo/wa-crypt-tools/commit/e3b643967afba000fd3bab7ac71db5c0dc1248de) Changed folder structure to work as package - [`08355a2`](https://github.com/ElDavoo/wa-crypt-tools/commit/08355a27357806a5ec6bf762428270795a55b0ba) Changed entry point name in pyproject.toml - [`75bdc2d`](https://github.com/ElDavoo/wa-crypt-tools/commit/75bdc2d2b8a6d56e2bd19d371c028eaecdb86e70) Fixed package imports not working - [`e40e8c4`](https://github.com/ElDavoo/wa-crypt-tools/commit/e40e8c49d284f21966de5fb31a47ee7afa3c6e82) Added fork changes to README.md ### 📊 Changes **18 files changed** (+195 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+160 -1) 📝 `README.md` (+10 -1) ➕ `pyproject.toml` (+18 -0) ➕ `whatsapp_decrypter/__init__.py` (+0 -0) 📝 `whatsapp_decrypter/decrypt14_15.py` (+2 -2) 📝 `whatsapp_decrypter/proto/C14_cipher.proto` (+0 -0) 📝 `whatsapp_decrypter/proto/C14_cipher_pb2.py` (+1 -1) 📝 `whatsapp_decrypter/proto/C14_cipher_version.proto` (+0 -0) 📝 `whatsapp_decrypter/proto/C14_cipher_version_pb2.py` (+0 -0) 📝 `whatsapp_decrypter/proto/C15_IV.proto` (+0 -0) 📝 `whatsapp_decrypter/proto/C15_IV_pb2.py` (+0 -0) ➕ `whatsapp_decrypter/proto/__init__.py` (+0 -0) 📝 `whatsapp_decrypter/proto/key_type.proto` (+0 -0) 📝 `whatsapp_decrypter/proto/key_type_pb2.py` (+0 -0) 📝 `whatsapp_decrypter/proto/prefix.proto` (+0 -0) 📝 `whatsapp_decrypter/proto/prefix_pb2.py` (+4 -4) 📝 `whatsapp_decrypter/proto/version_features.proto` (+0 -0) 📝 `whatsapp_decrypter/proto/version_features_pb2.py` (+0 -0) </details> ### 📄 Description This pull requests fixes the issue #5 A couple of important notes: - This changes both the "proto" imports in the code and the folder structure of the project - I did run some tests. The installation worked both locally (`pip install .` directly from the project folder) and remotely (`pip install git+[repository_url]@[branch]`), the package managed to decrypt a db.crypt15 with an E2EE key, and the python interactive shell managed to import the package and call the main function (although I couldn't do anything interesting with it on the shell) - I honestly couldn't come up with a better name for the package name - There is still some metadata missing in the `pyproject.toml` file, like the author or the package tags - For now this is only useful to easily install and launch the script from the command line, because as it stands now it's pretty hard to import and use in other packages --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 04:00:05 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wa-crypt-tools#109
No description provided.