udiskie: use zx2c4 pass to retrieve LUKS passwords by UUID
udiskie provides a --pasword-prompt
flag allowing you to set a custom command for retrieving passwords. This could be set to call a bash function that simply checks the UUID against the password-store database and defer to a user prompt if it's not defined there.
From the udiskie man page:
password_prompt: ["gnome-keyring-query", "get", "{id_uuid}"]
# [string|list] Set command to retrieve passwords. If specified
# as a list it defines the ARGV array for the program call. If
# specified as a string, it will be expanded in a shell-like
# manner. Each string will be formatted using `str.format`. For a
# list of device attributes, see below. The two special string values
# "builtin:gui" and "builtin:tty" signify to use udiskie's
# builtin password prompt.