Python3 modules crypt and spwd are deprecated
vyos@r14:~$ sudo python3 -c 'import crypt' <string>:1: DeprecationWarning: 'crypt' is deprecated and slated for removal in Python 3.13 vyos@r14:~$ vyos@r14:~$ vyos@r14:~$ sudo python3 -c 'from spwd import getspnam' <string>:1: DeprecationWarning: 'spwd' is deprecated and slated for removal in Python 3.13 vyos@r14:~$ vyos@r14:~$ sudo python3 -V Python 3.11.1 vyos@r14:~$
At least they used in https://github.com/vyos/vyos-1x/blob/dcb4a95c796132988258447d99430541aae955cb/src/conf_mode/system-login.py#L19-L24
And openconnect https://github.com/vyos/vyos-1x/blob/1cc8d7c89459ecfe315cab47458af5cc00d975ca/src/conf_mode/vpn_openconnect.py#L32