What's Changed
- feat: enhance authpath support for v1r setup and key management by @jasonacox in #306
- Fix:
python -m pypowerwall setup -v1r -authpath <dir>now correctly writes all generated files into the specified directory instead of the current working directorytedapi_rsa_private.pemandtedapi_rsa_public.derare written to<authpath>/fleet_tokens.json(Fleet API path) is written to<authpath>/<authpath>/directory is created automatically if it does not exist
- Fix:
python -m pypowerwall get -v1r -authpath <dir>now auto-discoverstedapi_rsa_private.pemin<authpath>/when-rsa_key_pathis not explicitly specified- Lookup order:
<authpath>/tedapi_rsa_private.pem→./tedapi_rsa_private.pem→ error with path hint
- Lookup order:
- Refactor: Removed stale
RSA_PRIVATE_KEY_FILEandRSA_PUBLIC_KEY_FILEmodule-level globals fromv1r_register.py— file paths are now resolved dynamically fromauthpathat call time - Refactor: Removed stale
TOKENS_FILEmodule-level global fromv1r_register.py— tokens file path is now resolved fromauthpathand threaded throughstep2_exchange_token(tokens_file=...)
Full Changelog: v0.15.7...v0.15.8