Medium · published May 22, 2026
When an SSH server authentication callback returned PartialSuccessError with non-nil Permissions, those permissions were silently discarded, potentially dropping certificate restrictions such as force-command after a second factor succeeded. Returning non-nil Permissions with PartialSuccessError now results in a connection error.
| Product | Versions | Fixed in |
|---|---|---|
| golang/crypto | < 0.52.0 | 0.52.0 |