Avoid the mutable announcement state on the plugin instance
We do so by introducing a limitation that the client must be configured with an issuer and it must match the issuer announced by any storage server the client is to talk to. The client will decline to speak to any storage server without a matching issuer.
Showing
- docs/source/configuration.rst 1 addition, 0 deletionsdocs/source/configuration.rst
- src/_zkapauthorizer/_plugin.py 1 addition, 7 deletionssrc/_zkapauthorizer/_plugin.py
- src/_zkapauthorizer/controller.py 45 additions, 1 deletionsrc/_zkapauthorizer/controller.py
- src/_zkapauthorizer/tests/strategies.py 3 additions, 1 deletionsrc/_zkapauthorizer/tests/strategies.py
- src/_zkapauthorizer/tests/test_plugin.py 38 additions, 0 deletionssrc/_zkapauthorizer/tests/test_plugin.py
Loading
Please register or sign in to comment