Keychain¶
Encryption key management for AES decryption (v13+ logs).
Keychain¶
Keychain ¶
FeaturePoint¶
FeaturePoint ¶
Bases: IntEnum
Feature point types for AES keychain selection.
feature_point_for_record¶
feature_point_for_record ¶
Map a record type (magic byte) to its FeaturePoint for key selection.
KeychainsRequest¶
KeychainsRequest
dataclass
¶
KeychainsRequest(version: int = 0, department: int = 3, keychains: list[list[EncodedKeychainFeaturePoint]] = list())
Request body for the DJI keychains API.
fetch ¶
Fetch decoded keychains from DJI API.
When cache is True (default), responses are cached locally
under $XDG_CACHE_HOME/pydjirecord/keychains/ so that
repeated parses of the same log file skip the network round-trip.
Raises :class:ApiKeyError if api_key is None or empty.
KeychainFeaturePoint¶
KeychainFeaturePoint
dataclass
¶
Decoded feature point with AES key and IV.