Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin signature support #53

Open
calebhailey opened this issue Jul 30, 2021 · 1 comment
Open

Plugin signature support #53

calebhailey opened this issue Jul 30, 2021 · 1 comment
Assignees
Milestone

Comments

@calebhailey
Copy link

We should sign our plugin to be compatible with Grafana's plugin signature verification:

Plugin signature verification (signing) is a security measure to make sure plugins haven’t been tampered with. Upon loading, Grafana checks to see if a plugin is signed or unsigned when inspecting and verifying its digital signature.

At startup, Grafana verifies the signatures of every plugin in the plugin directory. If a plugin is unsigned, then Grafana does not load nor start it. To see the result of this verification for each plugin, navigate to Configuration -> Plugins.

Grafana also writes an error message to the server log:

WARN[05-26|12:00:00] Some plugin scanning errors were found   errors="plugin '<plugin id>' is unsigned, plugin '<plugin id>' has an invalid signature"

See the Grafana plugin signing developer documentation for more information.

@calebhailey calebhailey added this to the 1.2.0 milestone Aug 9, 2021
@pazarr
Copy link

pazarr commented Nov 5, 2021

To help if someone facing problem loading sensu datasource plugin into grafana

For docker, specifiy a variable as below
GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=sensu-sensugo-datasource

or if you have binary installed edit grafana.ini

[plugins]
allow_loading_unsigned_plugins = "sensu-sensugo-datasource"

@ccressent ccressent self-assigned this Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants