enum {
PB_LOCKDOWN_NONE = 0,
PB_LOCKDOWN_SIGN = 1,
+ PB_LOCKDOWN_DECRYPT = 2,
};
#if defined(HAVE_LIBGPGME)
const char *signature_filename, FILE *authorized_signatures_handle,
const char *keyring_path);
+int decrypt_file(const char * filename,
+ FILE * authorized_signatures_handle, const char * keyring_path);
+
int gpg_validate_boot_files(struct boot_task *boot_task);
void gpg_validate_boot_files_cleanup(struct boot_task *boot_task);
return -1;
}
+int decrypt_file(const char * filename __attribute__((unused)),
+ FILE * authorized_signatures_handle __attribute__((unused)),
+ const char * keyring_path __attribute__((unused)))
+{
+ return -1;
+}
+
int gpg_validate_boot_files(struct boot_task *boot_task __attribute__((unused)))
{
return 0;