Keyring

Godot Keyring is a Godot addon for interacting with the operating system's keyring, enabling secure storage and retrieval of credentials. It's a wrapper around the 'keychain' library, providing cross-platform support for managing passwords and sensitive data.

https://github.com/shomykohai/godot-keyring

Godot Keyring: Secure Credential Management in Godot

Godot Keyring is a valuable addon for Godot Engine, designed to provide a secure and cross-platform way to manage user credentials within your games and applications. It leverages the operating system's native keyring functionality to store sensitive information, such as passwords and API keys, ensuring that they are protected and not stored in plain text.

Key Features

  • Secure Credential Storage: Utilizes the OS keyring for robust protection of user credentials.
  • Cross-Platform Compatibility: Supports multiple platforms, thanks to its wrapper around the 'keychain' library.
  • Easy Integration: Simple API for storing and retrieving passwords within Godot scripts.
  • Dependency Management: Uses SCons for building and managing dependencies like libsecret on Linux.

Usage

The addon provides functions to set and retrieve passwords associated with a specific application and user. The set_password function stores the credentials in the keyring, while the get_password function retrieves them when needed. Ensure the user and password parameters aren't empty before attempting to store credentials to prevent errors.

Resource Details

library

shomykohai



4