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

AES key size is restricted to block size (16) #7

Closed
abedra opened this issue Apr 15, 2015 · 2 comments
Closed

AES key size is restricted to block size (16) #7

abedra opened this issue Apr 15, 2015 · 2 comments

Comments

@abedra
Copy link
Contributor

abedra commented Apr 15, 2015

https://github.com/hashicorp/vault/blob/master/vault/barrier_aes_gcm.go#L70-L73

This restricts the encryption to 128. A key size of 256 bits is perfectly acceptable as well. Is there a reason why it is restricted this way?

@armon armon closed this as completed in 0123fdf Apr 15, 2015
@armon
Copy link
Member

armon commented Apr 15, 2015

@abedra Good catch! I've allowed both 128 and 256 now and changed the default to 256.

@abedra
Copy link
Contributor Author

abedra commented Apr 15, 2015

Thanks!

briankassouf pushed a commit that referenced this issue Jan 17, 2017
jeffwecan added a commit to jeffwecan/vault that referenced this issue Nov 7, 2018
…orking_thingys

[SRE-1071] Terraform Managed Development Vault Networking
divyaac added a commit that referenced this issue Dec 20, 2024
akshya96 pushed a commit that referenced this issue Dec 21, 2024
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

No branches or pull requests

2 participants