mirror of
https://github.com/juanfont/headscale.git
synced 2026-02-23 13:50:36 +01:00
Add two new integration tests for SSH check mode: - TestSSHCheckModeUnapprovedTimeout: verifies that SSH is rejected when the check auth request is never approved and the registration cache entry expires. Uses short cache TTL (15s) to avoid long waits. - TestSSHCheckModeCheckPeriodCLI: verifies that after approval with a 1-minute checkPeriod, the session expires and the next SSH connection requires re-authentication through a new check flow. Also adds helper functions sshCheckPolicyWithPeriod (policy with CheckPeriod) and findNewSSHCheckAuthID (finds auth-id excluding a known one for re-auth verification). Updates #1850 |
||
|---|---|---|
| .. | ||
| ISSUE_TEMPLATE | ||
| label-response | ||
| workflows | ||
| CODEOWNERS | ||
| FUNDING.yml | ||
| pull_request_template.md | ||
| renovate.json | ||