feat(login-sources): where a device checks a login, and what each place asks for, 4.50.0 (NetOrk/netork#662)
driver / standard (pull_request) Successful in 20s
driver / lint (pull_request) Successful in 17s
driver / types (pull_request) Successful in 1m1s
driver / test (3.12) (pull_request) Successful in 1m22s
driver / test (3.13) (pull_request) Successful in 1m13s
driver / lowest (pull_request) Successful in 43s
driver / build (pull_request) Successful in 29s
driver / security (pull_request) Successful in 1m0s
CI / driver (pull_request) Successful in 3m0s
driver / publish (pull_request) Skipped
driver / standard (pull_request) Successful in 20s
driver / lint (pull_request) Successful in 17s
driver / types (pull_request) Successful in 1m1s
driver / test (3.12) (pull_request) Successful in 1m22s
driver / test (3.13) (pull_request) Successful in 1m13s
driver / lowest (pull_request) Successful in 43s
driver / build (pull_request) Successful in 29s
driver / security (pull_request) Successful in 1m0s
CI / driver (pull_request) Successful in 3m0s
driver / publish (pull_request) Skipped
LoginSourceDict names one source with the device's word for its kind and what it asks for: password, password_otp, external or unknown. WebLoginAuthDict is what a driver's get_web_login_auth returns, every source the web interface tries, in the device's order. SshServerAuthDict takes password_sources and server_enabled for a platform that writes sshd_config itself.
This commit is contained in:
1 parent
07920941c8
commit
d778c805c1
7 files changed
+163
-2
No files matched your search
@@ -7,6 +7,21 @@ recorded here; their history is the git log.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [4.50.0] - 2026-11-28
|
||||
|
||||
### Added
|
||||
- `login_sources`: where a device checks a person's login, and what each place asks for
|
||||
(NetOrk/netork#662). `LoginSourceDict` names one source with the device's own word for its
|
||||
kind and what it asks for (`LoginFactors`: `password`, `password_otp`, `external`,
|
||||
`unknown`; all four in `LOGIN_FACTORS`). `WebLoginAuthDict` is the reading a driver returns
|
||||
from `get_web_login_auth`: every source the web interface tries, in the device's order.
|
||||
There is no mixin, so `hasattr(driver, "get_web_login_auth")` stays a truthful answer.
|
||||
- `SshServerAuthDict` takes two optional keys for a platform that writes sshd_config itself
|
||||
and is read from its own configuration. `password_sources` says what checks a password or
|
||||
keyboard-interactive login where the platform decides that rather than PAM's stack.
|
||||
`server_enabled` is False when the platform's SSH server is switched off. Readings from
|
||||
`sshd -T` leave both out.
|
||||
|
||||
## [4.49.0] - 2026-11-28
|
||||
|
||||
### Added
|
||||
|
||||
Reference in new issue
Block a user