Keyrings.cryptfile
lastmod 2026-11-10created 2023-03-183 edits
keyrings.cryptfile is one of the backends for the Python keyring package and stores passwords in an encrypted file. It is used in server or container environments that lack a desktop secret store such as GNOME Keyring or macOS Keychain; when opening the file it asks for a master password, derives a key from it, and encrypts the contents with AES. It is a safer alternative to keyring's default plaintext file backend.
Encrypted plain file keyring backend for the python keyring package