Open jestro opened 2 weeks ago
I'd like to be able to help, but the error message... is weird. And what's more unfortunate is that Nixpkgs uses openvpn3
version v20
, which is quite outdated. The modern version is v23
with v24
landing soon-ish?
That makes it a little hard to diagnose what the issue is and if we can fix it. I've looked through the issues and changes between openvpn3
releases, but I found nothing related. The error message makes me think that the version is just too old to support OAuth, but I can't confirm it.
The PR that bumps the version is: #326623
Sorry for not being of much help!
No problem, I was aware that it is likely a version issue seeing as people with other distros had no issues. Do you think this could be fixed soon or do you have suggestions on how to run this .ovpn file through my host? I mostly want to avoid having to use a VM to VPN for my school project as it is quite a long way around. ^^"
Do you think this could be fixed soon
I'm not sure. I try to help out with reviewing it, but we still need someone with a commit access to merge the PR.
or do you have suggestions on how to run this .ovpn file through my host?
Hmm. You could patch your copy of Nixpkgs to include the PR changes, but it's a little tough. There are several options how to do it:
git clone
of Nixpkgs, git switch
to the branch you prefer, and git cherry-pick
the PR commits; you would then change the Nixpkgs input in your Flake to point to this local copy. It is terribly inconvenient to update, though.patchedNixpkgs = (import inputs.nixpkgs { system = "x86_64-linux"; }).applyPatches { .. };
and then import "${patchedNixpkgs}/nixos/lib/eval-config.nix" { .. };
to build a nixosSystem
that works for flakes. My personal config this trick with some conveniences on top (one, two)Hope that helps, at least a little!
Describe the bug
Whenever running a config with oauth2 (microsoft) web-authentication:
Steps To Reproduce
Expected behavior
Normally running this command should give:
Note: this was done in a Debian VM.
Additional context
Notify maintainers
Metadata
Add a :+1: reaction to issues you find important.