Option to disable password login / enforce certificate #631

Closed
opened 2026-10-05 04:35:06 +02:00 by adam · 1 comment
Owner

Hi, I would like to have an option to disable password access whenever a user has enabled certificate based authentication using the certauth module. Analog to disabling password based authentication on SSH.

A workaround is to manually set an invalid SHA256 hash for the user but that feels a but hackish.
Thanks.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27833638-option-to-disable-password-login-enforce-certificate?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).
Hi, I would like to have an option to disable password access whenever a user has enabled certificate based authentication using the certauth module. Analog to disabling password based authentication on SSH. A workaround is to manually set an invalid SHA256 hash for the user but that feels a but hackish. Thanks. ## <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27833638-option-to-disable-password-login-enforce-certificate?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github). </bountysource-plugin> <!-- github-sync-id:114288408 -->
adam closed this issue 2026-10-05 04:35:06 +02:00
Author
Owner

I think this might be a duplicate of https://github.com/znc/znc/issues/331.

I think this might be a duplicate of https://github.com/znc/znc/issues/331. <!-- github-comment-id:301990510 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#631