| [Root ↑] | Code | Documentation | Русский |
To securely store credentials such as passwords and API keys, use KeePass. Follow these steps:
-
Create a KeePass Database:
- Open KeePass and create a new database by selecting File > New Database.
- Set a strong master password to protect the database.
- Location: Save the KeePass database file (
credentials.kdbx) in thesecretsfolder of your project:root ├── data ├── secrets │ └── credentials.kdbx # <-- KeePass database file | └── passowrd.txt | └── <googke api josn kes>.json ├── src └── ... - Never share the
credentials.kdbxfile with others. ❗ - Ensure the file is stored in a secure location accessible only to you. (The
secretsfolder in the project root is excluded fromgit). - Regularly update your API keys and database passwords. ```
-
Create Groups and Entries:
- Your database should contain multiple groups to organize credentials. For example:
- suppliers
- aliexpress
- Entry for API containing:
api_key: Your Aliexpress API key.secret: Your Aliexpress secret key.tracking_id: Tracking ID.email: Your email address.password: Your Aliexpress password.
- Entry for API containing:
- openai
- Entry for OpenAI API containing:
api_key: Your OpenAI API key.
- Entry for OpenAI API containing:
- discord
- Entry for Discord API containing:
application_id: Discord application ID.public_key: Public key.bot_token: Bot token.
- Entry for Discord API containing:
- prestashop and other services with corresponding entries.
- aliexpress
- suppliers
- Your database should contain multiple groups to organize credentials. For example:
-
Add Custom Properties:
- When creating entries, add custom properties for storing additional data. For instance, in the Aliexpress entry, add fields for:
tracking_idusernameemail
- When creating entries, add custom properties for storing additional data. For instance, in the Aliexpress entry, add fields for:
The settings.json file stores the main settings for your project. Here's how to configure it:
-
Create the
settings.jsonFile:- Create a file named
settings.jsonin the/srcdirectory of your project.
- Create a file named
-
Example Content of the
settings.jsonFile:{ "google_drive": "H:\\My Drive\\hypo69", // Path to the Google Drive folder used for storing data. "mode": "debug", // Mode of the application: 'debug' for development or 'production' for live mode. "git_user": "hypo69", // Username for accessing the Git repository. "git": "hypo" // Name of the Git repository. } -
Description of the Fields:
- google_drive: The path to the directory on your Google Drive where project data will be stored. Ensure this path is correct for your system.
- mode: Specify the mode of your application. Use
debugfor testing andproductionfor deployment. - git_user: Your username on GitHub or another platform where your repository is hosted.
- git: The name of your repository that is used for tracking code changes.
- Sensitive Data: The file containing your API keys and passwords is stored in the
secretsfolder, which is not included in the Git repository to prevent unauthorized access. All passwords and API keys should be loaded from KeePass at the start of the program, as described in the code. - Backup: Regularly back up your KeePass database and
settings.jsonfile to prevent data loss.
If you find a security vulnerability in our project, please report it by following these steps:
-
Email: Send an email to [security@example.com] with a description of the vulnerability.
-
Information to Include:
- A detailed description of the issue
- Steps to reproduce the vulnerability
- Affected version(s)
- Any other relevant information
-
Response Time: You can expect to receive an acknowledgment within 48 hours. We aim to provide updates on the status of the reported vulnerability every week until it's resolved.
-
Outcome: If the vulnerability is confirmed, we will work on a fix and notify you when it’s available. If we determine the report is not a vulnerability, we will inform you of our decision.
| Version | Supported |
|---|---|
| 5.1.x | ✅ |
| 5.0.x | ❌ |
| 4.0.x | ✅ |
| < 4.0 | ❌ |
Thank you for helping us keep our project secure!
Let me know if you need further adjustments!