Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - jurajlutter

#1
Hi,

in now-legacy OpenVPN component there is an "Advacned" section where I can specify, like:

management-client-auth
auth-user-pass-optional
auth-gen-token 28800 external-auth
username-as-common-name
management /var/tmp/openvpn-server1-orig.sock unix

that allows me to authenticate OpenVPN clients using oauth2-openvpn against OIDC providers.

However, I can't find such functionality in new OpenVPN component.

Is there any plan to implement such feature? I'm happy to help with testing :-)

Thanks.
#2
Quote from: AdSchellevis on April 06, 2024, 11:03:36 AM
Ok, let's try to find where this is coming from, does reinstalling py-idna make a difference?

pkg install -f py39-idna-3.6


If it doesn't, can you try to start python manually and run the following commands? (in python3)


import importlib.metadata
importlib.metadata.version('idna')

import idna
idna.__path__



I expect the second line to crash with the same error as reported earlier, then we will import idna to check its actual location.


# pkg install -f py39-idna-3.6
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be REINSTALLED:
py39-idna-3.6

Number of packages to be reinstalled: 1

Proceed with this action? [y/N]: y
[1/1] Reinstalling py39-idna-3.6...
[1/1] Extracting py39-idna-3.6: 100%

# python3.9
Python 3.9.18 (main, Apr  3 2024, 19:59:28)
[Clang 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc1238 on freebsd13
Type "help", "copyright", "credits" or "license" for more information.
>>> import importlib.metadata
>>> importlib.metadata.version('idna')
>>>
>>> import idna
>>> idna.__path__
['/usr/local/lib/python3.9/site-packages/idna']

#3
Quote from: patient0 on March 20, 2024, 05:52:19 PM
Quote from: franco on March 18, 2024, 02:10:33 PM
Did you guys install anything from the ports tree manually?

Sorry, missed your reply: No, I don't have ports installed at all (and 24.1.4 didn't change anything)

I came to this problem as well. And no, I did not install anything from ports. The problem rose after upgrading from 24.1.4 to 24.1.5.