π 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.