Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot encrypt strings larger than 4096 chars #8

Closed
retizu opened this issue Dec 12, 2017 · 1 comment
Closed

Cannot encrypt strings larger than 4096 chars #8

retizu opened this issue Dec 12, 2017 · 1 comment

Comments

@retizu
Copy link

@retizu retizu commented Dec 12, 2017

When trying to encrypt a string > 4096 chars long the engine returns the error :

[hiera-eyaml-core] 1 validation error detected: Value at 'plaintext' failed to satisfy constraint: Member must have length less than or equal to 4096

The restriction is likely from AWS KMS

"You can encrypt up to 4 kilobytes (4096 bytes) of arbitrary data such as an RSA key, a database password, or other sensitive information. "

@retizu retizu changed the title Cannot Cannot encrypt strings larger than 4096 chars Dec 12, 2017
@adenot

This comment has been minimized.

Copy link
Owner

@adenot adenot commented May 16, 2018

Yes, unfortunately this is a KMS limitation

@adenot adenot closed this May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.