Skip to content

(PUP-10317) Provide better error when hiera-eyaml decryption fails#8005

Merged
jtappa merged 1 commit intopuppetlabs:masterfrom
alexjfisher:PUP-10317
Mar 2, 2020
Merged

(PUP-10317) Provide better error when hiera-eyaml decryption fails#8005
jtappa merged 1 commit intopuppetlabs:masterfrom
alexjfisher:PUP-10317

Conversation

@alexjfisher
Copy link
Contributor

@alexjfisher alexjfisher requested review from a team February 27, 2020 10:23
@puppetlabs-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

@puppetcla
Copy link

CLA signed by all contributors.

Copy link
Contributor

@joshcooper joshcooper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution @alexjfisher! IIUC decrypt and decryp_value can't be called from outside of this function, so changing the signature is ok.

@alexjfisher
Copy link
Contributor Author

For background, when I started working on this, I was hoping to resolve voxpupuli/hiera-eyaml#214 but this appears very difficult with hiera 5. At least improved logging shows users what they might need to fixup and/or workaround using alias.

@jtappa jtappa merged commit b1dd42b into puppetlabs:master Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Output eyaml filepath and key when decryption fails

5 participants