Proposal: Make client-side authentication methods optional
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.6k
- Forks
- 3.4k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I would like to discuss about mandatory client-side authentication methods, such as --cert/--key, --pkcs12, or --auth-user-pass
Currently, I had something in my find to fully delegate the authentication to WEBAUTH protocol.
WEBAUTH does not require client certificates and username/pass authentication is done via web browser. That also make auth-user-pass obsolete.
Running a OpenVPN server with
verify-client-cert none
username-as-common-name
auth-user-pass-optional
works fine, but from client side, it's an requirement to configure client certificates or auth-user-pass.
A configuration without client-side authentication methods produces an config error:
Options error: No client-side authentication method is specified. You must use either --cert/--key, --pkcs12, or --auth-user-pass
which I would like to eliminate.
In such cases, I prefer tls-crypt-v2 or tls-crypt options as initial authentication as additional security layer.
The current workaround is one pair of client certificates which I have to use at each client.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the client configuration validation that emits “No client-side authentication method is specified” and review doc/webauth.md for the intended WEBAUTH flow. Define the behavior for configurations using tls-crypt or tls-crypt-v2 without --cert/--key, --pkcs12, or --auth-user-pass, while preserving existing authentication checks; done means such configurations are accepted without weakening other validation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- authentication, networking, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100