Warning in duplicity after py2-cryptograph update

Kubilay Kocak koobs at FreeBSD.org
Mon Mar 25 04:09:54 UTC 2019


On 24/03/2019 8:34 pm, Xavier wrote:
> Hi everyone,
> 
> Since last update of python modules py27-cryprography and
> py27-matplotlib, duplicity emits a warning :
> 
>> CryptographyDeprecationWarning: Support for unsafe construction of public numbers from encoded data will be removed in a future version. Please use EllipticCurvePublicKey.from_encoded_point
> 
> Should I file a PR ?

A particular method was deprecated in the Python cryptography package, 
in 2.5. See the last entry in:

https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst#25---2019-01-22

The issue is not related to matplotlib. sysutils/duplicity uses 
security/paramiko, which already has a bug reported for the issue:

https://github.com/paramiko/paramiko/issues/1369

./koobs


More information about the freebsd-ports mailing list