Error: Plugin signature always marked as modified and never valid

So I am trying to sign the plugin I am working on, but no matter what I have tried it always says grafana is unable to load it because it is “modified”. I have spent days trying everything. I made a brand new backend datasource plugin, ran the basic yarn install and build commands, then the go and mage commands from the readme, then signed it using the docs procedure for the private key, and nothing else. Still says its modifed. Even checked that the hashes of the files in the manifest were the same as what the manifest had, but no matter what it is always marked as modified.

I am totally stuck. Really appreciate any help.

Thanks!