Releases: jakbin/flask-tor
Releases · jakbin/flask-tor
Release 🚀 1.1.0
🚀 Release Notes
🧅 flask-tor v1.1.0
🌟 Most Awaited Feature: Persistent Onion Address
- 🔑 Persistent Onion Service Key
You can now specify apersistent_key_filewhen starting your Flask app with Tor. This allows you to reuse the same.onionaddress across multiple runs by saving and loading the onion service private key.
Example:port = run_with_tor(persistent_key_file='my_tor')
📂 The file will be created in your chosen location and reused automatically.
-
⚙️ Configurable Key Reuse
The newreuse_keyoption lets you control whether to reuse the existing key or generate a new address each run.- ✅
reuse_key=True(default): Always reuse the key for the same address. - 🔄
reuse_key=False: Always generate a new address and update the key file.
- ✅
-
🗂️ Full User Control Over Key File Location
The location of the persistent key file is entirely up to you—no forced directories. -
📖 Improved Documentation
Docstrings and README have been updated to explain the new options and usage.