Skip to content

Releases: jakbin/flask-tor

Release 🚀 1.1.0

11 Sep 03:21

Choose a tag to compare

🚀 Release Notes

🧅 flask-tor v1.1.0

🌟 Most Awaited Feature: Persistent Onion Address

  • 🔑 Persistent Onion Service Key
    You can now specify a persistent_key_file when starting your Flask app with Tor. This allows you to reuse the same .onion address 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 new reuse_key option 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.