htpasswd alternatives for base httpd

void <[email protected]> Sat, 20 Jun 2026 12:45:09 +0100
Newsgroups gmane.os.openbsd.misc
Message-ID <ajZ9RTEFnyQ8IORN@int21h>
Hello misc@,

Does anyone use an alternative to htpasswd for base httpd?

I'd like to use for example a ssh or gpg key for auth.
Is this feasible/has it been done already?

The other way I guess would be to use fail2ban for the web service.

thanks in advance for any perspective.
--