aboutsummaryrefslogtreecommitdiff
path: root/lib/pluginloader/Kconfig
blob: 28a3b73f4831386eb29813f66575673b9194ec99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
config USEPLUGINS
    bool "Enable plugins"
    default y

menu "Plugin Settings"
    depends on USEPLUGINS

    choice PLUGIN_SIGNATURE_CHECK
        bool "Plugin Signature enforcement"
        default PLUGIN_SIGNATURE_CHECKED

        config PLUGIN_SIGNATURE_IGNORED
            bool "Don't check plugin signatures"

        config PLUGIN_SIGNATURE_CHECKED
            bool "Don't load plugins with invalid signatures"

        config PLUGIN_SIGNATURE_ENFORCED
            bool "Only load plugins with valid signatures"

    endchoice

    config PLUGIN_SIGNATURE_HASH
        string "Hashing algorithm used by the signature"
        default "SHA256"
endmenu