title: kubernetes dashboard: square/go-jose: error in cryptographic primitive
body: <p>I am trying to make a CI/CD job on Gitlab that on commit will install a helm chart on a kubernetes cluster on google cloud. The only way i found how to do this was to copy the contents of the kube config file and paste it in a location inside my runner (that does not have the gcloud sdk), but then i realised that the token that gcloud would generate inside the config file would change periodically, so i looked for another solution and I found the application default credentials. I don't really understand the gcloud application-default set of commands tho, i ran login (on my local machine which has gcloud sdk) and it generated a json file with some credentials inside. Then i set the CLOUDSDK_CONTAINER_USE_APPLICATION_DEFAULT_CREDENTIALS env var to true and then I copied this file, and the re-generated config file inside the runner, and set the GOOGLE_APPLICATION_CREDENTIALS env to point to the file and it works. Im not quite sure why, tho. </p>
  
  <p>What does gcloud application-default login actually do? I mean before doing this i didnt have the json file, and everytime i would run gcloud cluster get-credentials to switch between clusters i would see an access-token for each context that i could use to login on the dashboard, but after i did this on my local machine, sometimes the dashboard gives me a weird error: square/go-jose: error in cryptographic primitive.</p>
  
  <p>Do you have any idea what im doing wrong?</p>