def settings(self): s = [] s.append(PluginSettingBool('cdn_purge_enable', 'Enabled', False)) s.append(PluginSettingText('cdn_purge_uri', 'URI', 'https://bunnycdn.com/api/purge?url=https://lvfs.b-cdn.net/downloads/')) s.append(PluginSettingText('cdn_purge_accesskey', 'Accesskey', '')) s.append(PluginSettingTextList('cdn_purge_files', 'File Whitelist', ['*.xml.gz', '*.xml.gz.*'])) s.append(PluginSettingText('cdn_purge_method', 'Request method', 'GET')) return s
def settings(self): s = [] s.append(PluginSettingBool('auth_azure_enable', 'Enabled', False)) s.append( PluginSettingText('auth_azure_consumer_key', 'Consumer Key', '')) s.append( PluginSettingText('auth_azure_consumer_secret', 'Consumer Secret', '')) return s
def settings(self): s = [] s.append(PluginSettingBool('info_readme_enable', 'Enabled', False)) s.append( PluginSettingText('info_readme_filename', 'Filename', 'README.txt')) s.append( PluginSettingText('info_readme_template', 'Template', 'plugins/info-readme/template.txt')) return s
def settings(self): s = [] s.append(PluginSettingBool('sign_gpg_enable', 'Enabled', False)) s.append(PluginSettingText('sign_gpg_keyring_dir', 'Keyring Directory', '/var/www/lvfs/.gnupg')) s.append(PluginSettingText('sign_gpg_firmware_uid', 'Signing UID for firmware', '*****@*****.**')) s.append(PluginSettingText('sign_gpg_metadata_uid', 'Signing UID for metadata', '*****@*****.**')) return s
def settings(self): s = [] s.append(PluginSettingBool('sign_pkcs7_enable', 'Enabled', False)) s.append( PluginSettingText('sign_pkcs7_privkey', 'Private Key', 'pkcs7/fwupd.org.key')) s.append( PluginSettingText('sign_pkcs7_certificate', 'Certificate', 'pkcs7/fwupd.org_signed.pem')) return s
def settings(self): s = [] s.append(PluginSettingBool('sign_sigul_enable', 'Enabled', False)) s.append(PluginSettingText('sign_sigul_config_file', 'Client config file', '/etc/sigul/client.conf')) s.append(PluginSettingText('sign_sigul_firmware_key', 'Signing key for firmware', 'sigul-client-cert')) s.append(PluginSettingText('sign_sigul_metadata_key', 'Signing key for metadata', 'sigul-client-cert')) return s
def settings(self): s = [] s.append(PluginSettingBool('virustotal_enable', 'Enabled', True)) s.append( PluginSettingTextList('virustotal_remotes', 'Upload Firmware in Remotes', ['stable', 'testing'])) s.append(PluginSettingText('virustotal_api_key', 'API Key', 'DEADBEEF')) s.append( PluginSettingText( 'virustotal_uri', 'Host', 'https://www.virustotal.com/api/v3/monitor/items')) s.append( PluginSettingText('virustotal_user_agent', 'User Agent', 'LVFS')) return s
def settings(self): s = [] s.append(PluginSettingBool('microcode_mcedb_enabled', 'Enabled', False)) s.append( PluginSettingText('microcode_mcedb_path', 'Path to MCE.db', 'MCExtractor/MCE.db')) return s
def settings(self): s = [] s.append(PluginSettingBool('uefi_extract_enabled', 'Enabled', True)) s.append(PluginSettingBool('uefi_extract_write_shards', 'Write shards to disk', True)) s.append(PluginSettingText('uefi_extract_binary', 'UEFIExtract executable', 'UEFIExtract')) s.append(PluginSettingInteger('uefi_extract_size_min', 'Minimum size of shards', 0x80000)) # 512kb s.append(PluginSettingInteger('uefi_extract_size_max', 'Maximum size of shards', 0x4000000)) # 64Mb return s
def settings(self): s = [] s.append(PluginSettingBool('chipsec_enabled', 'Enabled', True)) s.append( PluginSettingBool('chipsec_write_shards', 'Write shards to disk', True)) s.append( PluginSettingText('chipsec_binary', 'CHIPSEC executable', 'chipsec_util')) s.append( PluginSettingInteger('chipsec_size_min', 'Minimum size of shards', 0x80000)) # 512kb s.append( PluginSettingInteger('chipsec_size_max', 'Maximum size of shards', 0x2000000)) # 32Mb return s
def settings(self): s = [] s.append(PluginSettingBool('chipsec_enabled', 'Enabled', True)) s.append(PluginSettingBool('chipsec_write_shards', 'Write shards to disk', True)) s.append(PluginSettingText('chipsec_binary', 'CHIPSEC executable', 'chipsec_util')) return s