Bug 1965574 - Update to python3-SecretStorage to 3.3.1 to avoid CryptographyDeprecationWarning
Summary: Update to python3-SecretStorage to 3.3.1 to avoid CryptographyDeprecationWarning
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-SecretStorage
Version: 34
Hardware: All
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Charalampos Stratakis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-28 07:10 UTC by schlaffi
Modified: 2021-06-24 16:52 UTC (History)
6 users (show)

Fixed In Version: python-SecretStorage-3.3.1-2.fc34
Clone Of:
Environment:
Last Closed: 2021-06-24 16:52:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description schlaffi 2021-05-28 07:10:47 UTC
Description of problem:

When importing secretstorage one gets two error messages:

/usr/lib/python3.9/site-packages/secretstorage/dhcrypto.py:16: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
  from cryptography.utils import int_from_bytes
/usr/lib/python3.9/site-packages/secretstorage/util.py:25: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
  from cryptography.utils import int_from_bytes


Version-Release number of selected component (if applicable):

python3-secretstorage-3.2.0-3.fc34.noarch

How reproducible:

always

Steps to Reproduce:
1. echo "import secretstorage" > ss_error_message.py
2. python3 ss_error_message.py


Actual results:

the above error message appear

Expected results:

no error message

Additional info:

This has been fixed upstream in 3.3.1

Comment 1 Petr Viktorin (pviktori) 2021-06-16 11:58:58 UTC
This is also fixed on Rawhide. The changes from 3.2.0 are requiring newer Jeepney, removing support for Python 3.5, style/typing fixes, and avoiding these warnings.

PR: https://src.fedoraproject.org/rpms/python-SecretStorage/pull-request/5

Comment 2 Fedora Update System 2021-06-16 15:42:53 UTC
FEDORA-2021-1911fb176d has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-1911fb176d

Comment 3 Fedora Update System 2021-06-17 01:29:55 UTC
FEDORA-2021-1911fb176d has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-1911fb176d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-1911fb176d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-06-24 16:52:29 UTC
FEDORA-2021-1911fb176d has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.