Skip to content

WindowsOptions

Specific options for Windows platform for secure storage.

Allows configuring backward compatibility when reading/writing values from previous versions of storage.

Note

You need the C++ ATL libraries installed along with Visual Studio Build Tools. Download from: https://visualstudio.microsoft.com/downloads/?q=build+tools Make sure the C++ ATL under optional components is installed as well.

Properties

Properties#

use_backward_compatibility class-attribute instance-attribute #

use_backward_compatibility: bool = False

If True, attempts to read values written by previous versions of the storage. When reading or writing old storage values, they will be automatically migrated to new storage.

Note
  • May introduce performance overhead.
  • May cause errors for keys with ", <, >, |, :, *, ?, /, \. or any ASCII control characters.
  • May cause errors for keys containing /../, \..\, or similar patterns.
  • May cause errors for very long keys (length depends on app's product name, company name, and executing account).