on_entry_key_needed Event
This event is fired to request an entry encryption/decryption key from the application.
Syntax
class PasswordVaultEntryKeyNeededEventParams(object): @property def entry_name() -> str: ... @property def cancel() -> bool: ... @cancel.setter def cancel(value) -> None: ... # In class PasswordVault: @property def on_entry_key_needed() -> Callable[[PasswordVaultEntryKeyNeededEventParams], None]: ... @on_entry_key_needed.setter def on_entry_key_needed(event_hook: Callable[[PasswordVaultEntryKeyNeededEventParams], None]) -> None: ...
Remarks
The class fires this event when a key is needed to encrypt or decrypt an entry. The EntryName parameter provides the name of the entry.
The handler of this event should assign the password or key to be used to entry_password or entry_key property respectively. Set Cancel to true to abort the operation.