hiera-gpg
hiera-gpg copied to clipboard
Fix when using key_dir config
When key_dir setting is used in gpg hiera section, an exception is thrown because what is supposed to be a string is an array instead. Type check added
hi, Could you elaborate on this? Why would key_dir be an array?
I mean, gnupghome is an array, so you have to get the first item of it. I added the condition in order to keep it working in case a string is received.