Page MenuHomeVyOS Platform

Python3 module crypt is deprecated
Closed, ResolvedPublicBUG

Description

It used in https://github.com/vyos/vyos-1x/blob/12b7da289665c75c3839b32c77a491d8909f3e73/src/conf_mode/vpn_openconnect.py#L33

vyos@r14# sudo python3
Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 
>>> from crypt import crypt
<stdin>:1: DeprecationWarning: 'crypt' is deprecated and slated for removal in Python 3.13
>>>

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.4-rolling-202306050317
Why the issue appeared?
Other
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)

Event Timeline

Viacheslav changed the task status from Open to In progress.Jun 5 2023, 10:37 PM
Viacheslav assigned this task to cuongdt1994.
Viacheslav changed the task status from In progress to Needs testing.Jun 6 2023, 12:01 AM
This comment was removed by cuongdt1994.
dmbaturin changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
dmbaturin changed Why the issue appeared? from Will be filled on close to Other.
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
dmbaturin changed Issue type from Unspecified (please specify) to Internal change (not visible to end users).