Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Version 2.0.2 being reported as unsigned #372

Closed
albrechtflo-hg opened this issue Sep 17, 2021 · 9 comments
Closed

Version 2.0.2 being reported as unsigned #372

albrechtflo-hg opened this issue Sep 17, 2021 · 9 comments
Milestone

Comments

@albrechtflo-hg
Copy link

albrechtflo-hg commented Sep 17, 2021

Bug Report

The 2.0.2 version seems to be unsigned. I try to install it in Grafana Docker 8.1.4 using environment variable:

GF_INSTALL_PLUGINS=https://github.com/doitintl/bigquery-grafana/archive/2.0.2.zip;doit-bigquery-datasource

This is being reported as unsigned:

The following plugins are disabled and not shown in the list below:
doitintl-bigquery-datasource
Missing signature

With 2.0.1, it is working fine.

Additional information: Using the Artifact Link from the "Releases" page, it is working fine (https://github.com/doitintl/bigquery-grafana/releases/download/2.0.2/doitintl-bigquery-datasource-2.0.2.zip). Seems to be an issue with the "archived" one.

Expected Behavior

The plugin is activated and displayed as signed.

Actual Behavior

The plugin is disabled and being reported as unsinged.

Steps to Reproduce the Problem

  1. Run Grafana 8.1.4 with Docker or other container environment
  2. Set environment variable GF_INSTALL_PLUGINS to https://github.com/doitintl/bigquery-grafana/archive/2.0.2.zip;doit-bigquery-datasource
  3. Login with admin/admin and go to "Add Data Source"

Specifications

  • Version: 2.0.2
  • Platform: Docker / Google Cloud Run
  • Grafana Version: 8.1.4
@ofir5300
Copy link
Collaborator

@albrechtflo-hg Thanks for letting me know! It was actually very helpful and I will mind that in the following release.
Please tell me, is using the release file rather than the archive one solves it for you? Your docker container run as expected?

@ofir5300 ofir5300 added this to the 2.0.3 milestone Sep 19, 2021
@albrechtflo-hg
Copy link
Author

@ofir5300 Yes, the release file worked for us, it is now running as expected.

@Cristianasp
Copy link

Hello, same problem here following the instructions here:

https://grafana.com/grafana/plugins/doitintl-bigquery-datasource/
that links to:
https://doitintl.github.io/bigquery-grafana/INSTALL
grafana-cli --pluginUrl https://github.com/doitintl/bigquery-grafana/archive/2.0.2.zip plugins install doitintl-bigquery-datasource

Grafana version: 7.4.5
Platform: server

Using the prior version worked fine.
grafana-cli --pluginUrl https://github.com/doitintl/bigquery-grafana/archive/2.0.1.zip plugins install doitintl-bigquery-datasource

@ofir5300
Copy link
Collaborator

@Cristianasp
Please use
grafana-cli --pluginUrl https://github.com/doitintl/bigquery-grafana/releases/download/2.0.2/doitintl-bigquery-datasource-2.0.2.zip plugins install doitintl-bigquery-datasource

@Cristianasp
Copy link

@Cristianasp
Please use
grafana-cli --pluginUrl https://github.com/doitintl/bigquery-grafana/releases/download/2.0.2/doitintl-bigquery-datasource-2.0.2.zip plugins install doitintl-bigquery-datasource

Thank you @ofir5300 !!

May I suggest you update the instructions at https://doitintl.github.io/bigquery-grafana/INSTALL ?

@ofir5300
Copy link
Collaborator

Tnx @Cristianasp, Will do.

@darist
Copy link

darist commented Nov 10, 2021

Looks like there is a problem with the checksums in the MANIFEST.txt file in the 2.0.2.zip. I'm able to use the plugin when I set Grafana to allow unsigned plugins, but I would rather not do that.

Here are the contents of the MANIFEST.txt file:

$ cat MANIFEST.txt                                                                                                                                                           
                                                                                                                                                                             
-----BEGIN PGP SIGNED MESSAGE-----                                                                                                                                           
Hash: SHA512                                                                                                                                                                 
                                                                                                                                                                             
{                                                                                                                                                                            
  "manifestVersion": "2.0.0",                                                                                                                                                
  "signatureType": "community",                                                                                                                                              
  "signedByOrg": "doitintl",                                                                                                                                                 
  "signedByOrgName": "DoiT International",                                                                                                                                   
  "plugin": "doitintl-bigquery-datasource",                                                                                                                                  
  "version": "2.0.1",                                                                                                                                                        
  "time": 1613386443942,                                                                                                                                                     
  "keyId": "7e4d0c6a708866e7",                                                                                                                                               
  "files": {                                                                                                                                                                 
    "LICENSE.md": "b40d79313086aafb7ab31bf033798850a20ff52daf52f9dba84f6ef169e326b2",                                                                                        
    ".DS_Store": "53d660276fad521a7331308cfe40ae47fb126c695b17a58d6b7e16d268c3accf",                                                                                         
    "doitintl-bigquery-datasource_darwin_amd64": "a1acd822aa3f859973bb4e688fa51e759f6bed2147c0665decf225429533af29",                                                         
    "module.js.map": "d3b797c41a13caf60b8d040592188a18d27ae7c51344d3075ee0ca9f135b65ef",                                                                                     
    "doitintl-bigquery-datasource_windows_amd64.exe": "2b08aff3769b8696c2cdf6f8f0adc51aa6bbc8d8d175f98b5e384576ab15a11f",                                                    
    "plugin.json": "d91e99fc7614b5edaf1bc12a05422de0145782b8f31d7ddc14079f3d084e72a3",                                                                                       
    "README.md": "73f37f56e09728a0c2296279407d3735b2141bdcfd4d491cb8a03b220283d5f5",                                                                                         
    "img/QueryOptions.png": "6c9f60af993db810186741a0e6e5b935ef739f0d66fedbbc65bfab8d4df9a65f",                                                                              
    "img/bigquery_enable_api.png": "ae19176c07db844d4561afb8c434f4804d7ac667fd64d4a8746cb164b51a7c6e",                                                                       
    "img/InspectPanel.png": "c43a8830ed29aa97d035908cb357345452b0689fb74315c03a414f846c7c1985",                                                                              
    "img/QueryPrioriy.png": "52ff6925a495060390de8141b9d2e1fcead526985cff565afbaad8694daaa733",                                                                              
    "img/createserviceaccountbutton.png": "d82b2c37d3f638a043ffbc147ec85a23930a27451f2f2def0d7da620ca2aff51",                                                                
    "img/grafana-bigquery-demo.gif": "b82c598827c603cadfa4a56bbdc04bc62de03c57e970da32ac43fb52391dadc6",                                                                     
    "img/logo.png": "dcd9277d3dfc4e412dc006a000d0ee5b9ff4d9f126687a01f189cea9987e2bfa",                                                                                      
    "img/newserviceaccount.png": "3ac6ceafd68d489998d858eceb2cd16cef9dac008fb1b828df0230de71ba90ca",                                                                         
    "img/bq__grafana_upload_key.png": "969e15250e81c781187a9c71bfac5fa463790122a8a470b2c993d0ed6dc9022e",                                                                    
    "img/bq_grafana_key_uploaded.png": "bc56ee6155fbac29889cbb036fc31b5fe6d5ef366138491de66d6b1393d3d21c",                                                                   
    "img/bq_service_account_choose_role.png": "b36e3a5adcea14e9d342b7b772a0d209fb1ffa117c9be755b1b0335752a3ee7b",                                                            
    "img/QueryBuilder.png": "dc0f6a0418b4eb6c7c3136f31df26f1af910d9d57aba889bff98f8711dbc162b",                                                                              
    "img/QueryInspector.png": "9a6d16cee486966604cf1ba626b2c6b6ae4d032d2effe6864c01e9a5cc59ccdc",                                                                            
    "module.js": "de9c302ab2ccbb71b0cae388de305b739fca4be19f4c26b112a0ebdcc6ec6f9a",                                                                                         
    "partials/annotations.editor.html": "c8b36fe73e7c3b13df4db94153ebd820a9bec4104c1b179db92d64dcdcf04156",                                                                  
    "partials/query.editor.html": "b1bd544d357e006339cf14ea27802692f9e33341e385cd74fb2dcf653ab8fb1d",                                                                        
    "partials/config.html": "962bd793de8089f3243df3703bea211757c6b89728ce3722ddbcf08388e1bdb3",                                                                              
    "doitintl-bigquery-datasource_linux_amd64": "d2488e96637c195a3f5010e0bdb514fc5ec8cf996c852b5500d0dd5aad2bf10a"                                                           
  }                                                                                                                                                                          
}                                                                                                                                                                            
-----BEGIN PGP SIGNATURE-----                                                                                                                                                
Version: OpenPGP.js v4.10.1                                                                                                                                                  
Comment: https://openpgpjs.org                                                                                                                                               
                                                                                                                                                                             
wqEEARMKAAYFAmAqUswACgkQfk0ManCIZucmOwII4/eVCbBf855edwb7jFK8                                                                                                                 
C0BjTjpwyiGsUxNLH4L9o9U3u92P6bUvnCC1gctbmkekBihNjRS3qtn0VKbh                                                                                                                 
zfsmKKcCCQEHudI4S/XoTevvnAaAXME6DW6lt4sZsDNWf6vM2NbM+c5AtD/J                                                                                                                 
SnntLv0OmRXVoHEnvR8MYlc8LQsgO4NeBLGrWw==                                                                                                                                     
=CgQk                                                                                                                                                                        
-----END PGP SIGNATURE-----          

Here are the checksums of the files in the zip:

$ find . -type f | xargs sha256sum                                                                                                                                           
53d660276fad521a7331308cfe40ae47fb126c695b17a58d6b7e16d268c3accf  ./.DS_Store                                                                                                
2b08aff3769b8696c2cdf6f8f0adc51aa6bbc8d8d175f98b5e384576ab15a11f  ./doitintl-bigquery-datasource_windows_amd64.exe                                                           
d91e99fc7614b5edaf1bc12a05422de0145782b8f31d7ddc14079f3d084e72a3  ./plugin.json                                                                                              
b40d79313086aafb7ab31bf033798850a20ff52daf52f9dba84f6ef169e326b2  ./LICENSE.md                                                                                               
962bd793de8089f3243df3703bea211757c6b89728ce3722ddbcf08388e1bdb3  ./partials/config.html                                                                                     
b1bd544d357e006339cf14ea27802692f9e33341e385cd74fb2dcf653ab8fb1d  ./partials/query.editor.html                                                                               
c8b36fe73e7c3b13df4db94153ebd820a9bec4104c1b179db92d64dcdcf04156  ./partials/annotations.editor.html                                                                         
de9c302ab2ccbb71b0cae388de305b739fca4be19f4c26b112a0ebdcc6ec6f9a  ./module.js                                                                                                
d2488e96637c195a3f5010e0bdb514fc5ec8cf996c852b5500d0dd5aad2bf10a  ./doitintl-bigquery-datasource_linux_amd64                                                                 
d3b797c41a13caf60b8d040592188a18d27ae7c51344d3075ee0ca9f135b65ef  ./module.js.map                                                                                            
c43a8830ed29aa97d035908cb357345452b0689fb74315c03a414f846c7c1985  ./img/InspectPanel.png                                                                                     
b82c598827c603cadfa4a56bbdc04bc62de03c57e970da32ac43fb52391dadc6  ./img/grafana-bigquery-demo.gif                                                                            
6c9f60af993db810186741a0e6e5b935ef739f0d66fedbbc65bfab8d4df9a65f  ./img/QueryOptions.png                                                                                     
52ff6925a495060390de8141b9d2e1fcead526985cff565afbaad8694daaa733  ./img/QueryPrioriy.png                                                                                     
3ac6ceafd68d489998d858eceb2cd16cef9dac008fb1b828df0230de71ba90ca  ./img/newserviceaccount.png                                                                                
d82b2c37d3f638a043ffbc147ec85a23930a27451f2f2def0d7da620ca2aff51  ./img/createserviceaccountbutton.png                                                                       
b36e3a5adcea14e9d342b7b772a0d209fb1ffa117c9be755b1b0335752a3ee7b  ./img/bq_service_account_choose_role.png                                                                   
dcd9277d3dfc4e412dc006a000d0ee5b9ff4d9f126687a01f189cea9987e2bfa  ./img/logo.png                                                                                             
ae19176c07db844d4561afb8c434f4804d7ac667fd64d4a8746cb164b51a7c6e  ./img/bigquery_enable_api.png                                                                              
dc0f6a0418b4eb6c7c3136f31df26f1af910d9d57aba889bff98f8711dbc162b  ./img/QueryBuilder.png                                                                                     
9a6d16cee486966604cf1ba626b2c6b6ae4d032d2effe6864c01e9a5cc59ccdc  ./img/QueryInspector.png                                                                                   
bc56ee6155fbac29889cbb036fc31b5fe6d5ef366138491de66d6b1393d3d21c  ./img/bq_grafana_key_uploaded.png                                                                          
969e15250e81c781187a9c71bfac5fa463790122a8a470b2c993d0ed6dc9022e  ./img/bq__grafana_upload_key.png                                                                           
73f37f56e09728a0c2296279407d3735b2141bdcfd4d491cb8a03b220283d5f5  ./README.md                                                                                                
13f1af8a8340b65170bed96af058e954987db1e2508717fb7f4514f8c9f3229c  ./MANIFEST.txt                                                                                             
a1acd822aa3f859973bb4e688fa51e759f6bed2147c0665decf225429533af29  ./doitintl-bigquery-datasource_darwin_amd64   

Note that the checksums don't match for several files.

@peleyal
Copy link

peleyal commented Nov 12, 2021

Are you guys going to update the MANIFEST.txt and/or create a new release?

@ofir5300
Copy link
Collaborator

Will create a new release soon. But please mind that it might be a long process..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants