Skip to content

When importing CryptFileKeyring get error - ImportError: cannot import name 'properties' from 'keyring.util'  #28

@xorr0

Description

@xorr0

Getting the following error:

In [2]: from keyrings.cryptfile.cryptfile import CryptFileKeyring
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[2], line 1
----> 1 from keyrings.cryptfile.cryptfile import CryptFileKeyring

File ~/devel/keyrings.cryptfile/keyrings/cryptfile/cryptfile.py:7
      4 import json
      6 import configparser
----> 7 from keyring.util import properties
      9 from keyrings.cryptfile import __version__ as version
     10 from keyrings.cryptfile.file import EncryptedKeyring

ImportError: cannot import name 'properties' from 'keyring.util' (/home/user/miniconda3/lib/python3.9/site-packages/keyring/util/__init__.py)

I recently updated the keyring module from 23.9.3 --> 24.2.0. This is where this started. Wanted to bring this issue to your attention. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions