Backport for deprecated int_from_bytes to int.from_bytes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Invalid
|
Undecided
|
Unassigned | ||
Yoga |
Fix Released
|
Medium
|
Heather Lemon | ||
python-secretstorage (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Won't Fix
|
Undecided
|
Unassigned | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
Kinetic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
There is an issue when using the combination of the Ubuntu version of
python3-
python3-
(this isn't the case with the Ubuntu version of python3-
Executing openstack commands or running
`from secretstorage.
shows warning messages like this in the logs
`CryptographyD
use int.from_bytes instead`.
[ Test Plan ]
# This is the expected output
python3
>>> from secretstorage.
>>> session = Session()
>>> exit()
# install focal version of python3-
sudo apt-get install python3-
# install uca focal-yoga version of python3-
sudo apt-add-repository -y cloud-archive:yoga
sudo apt install -y python3-
Installing and running the dhcrypto module from python-
python3
>>> from secretstorage.
/usr/lib/
from cryptography.utils import int_from_bytes
/usr/lib/
from cryptography.utils import int_from_bytes
>>> exit()
Ensure unit tests pass and no regressions are found.
Deploy focal yoga openstack instance. Execute openstack commands
and ensure warning message like those above are no longer reported in the logs.
[ Where problems could occur ]
The impact is low as this just removes a deprecation warning from a method.
Ensure that python3-
[ Other Info ]
[0] upstream debian link - https:/
[1] Github conversation link - https:/
[2] upstream cherrypick author other - https:/
[3] https:/
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in python-secretstorage (Ubuntu Bionic): | |
status: | New → Won't Fix |
Changed in python-secretstorage (Ubuntu Kinetic): | |
status: | New → Won't Fix |
Changed in python-secretstorage (Ubuntu Jammy): | |
status: | New → Won't Fix |
Changed in python-secretstorage (Ubuntu Focal): | |
status: | New → In Progress |
Changed in python-secretstorage (Ubuntu Focal): | |
assignee: | nobody → Heather Lemon (hypothetical-lemon) |
tags: | added: se-sponsor-mfo |
tags: | added: se-sponsor se-sponsor-dgadomski |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
no longer affects: | python-cryptography (Ubuntu) |
no longer affects: | python-cryptography (Ubuntu Kinetic) |
no longer affects: | python-cryptography (Ubuntu Jammy) |
no longer affects: | python-cryptography (Ubuntu Focal) |
no longer affects: | python-cryptography (Ubuntu Bionic) |
tags: | removed: se-sponsor-dgadomski |
Changed in python-secretstorage (Ubuntu Focal): | |
status: | Invalid → Won't Fix |
description: | updated |
tags: |
added: verification-yoga-done removed: verification-yoga-needed |
adds focal debdiff