Skip to content

Release πŸš€ 1.1.0

Latest

Choose a tag to compare

@jakbin jakbin released this 11 Sep 03:21

πŸš€ 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.