helm-secrets icon indicating copy to clipboard operation
helm-secrets copied to clipboard

helm secrets view failed for example files

Open nitrogear opened this issue 6 years ago • 3 comments

I cloned repo, imported PGP keys: gpg --import example/pgp/projectx.asc

and then tried to view secret from example: helm secrets view example/helm_vars/projectX/production/us-east-1/java-app/secrets.yaml

Error decrypting tree: Error walking tree: Could not decrypt value: crypto/aes: invalid key size 31

Error: plugin "secrets" exited with error`

Info: #sops --version sops 3.0.5 (latest) #gpg --version gpg (GnuPG) 2.2.1 libgcrypt 1.8.1 #helm version Client: &version.Version{SemVer:"v2.7.2", GitCommit:"8478fb4fc723885b155c924d1c8c410b7a9444e6", GitTreeState:"clean"} Server: &version.Version{SemVer:"v2.8.1", GitCommit:"6af75a8fd72e2aa18a2b278cfe5c7a1c5feca7f2", GitTreeState:"clean"}

nitrogear avatar Jun 13 '18 07:06 nitrogear

Can't reproduce on helm 2.9.1. I will try tomorrow test it on your versions.

szibis avatar Jun 13 '18 21:06 szibis

I encountered the same error. It should be noted that while the example failed as described above with: helm secrets view example/helm_vars/projectX/production/us-east-1/java-app/secrets.yaml

It did succeed with: helm secrets view example/helm_vars/projectY/production/us-east-1/java-app/secrets.yaml

leopoldodonnell avatar Sep 12 '18 02:09 leopoldodonnell

Pretty sure this is a dupe of #40 ...

tarrall avatar Oct 09 '18 16:10 tarrall