Increase size of documented gossip encryption key size #6244
Labels
type/docs
Documentation needs to be created/updated/clarified
type/enhancement
Proposed improvement or new feature
Currently Consul's docs state that gossip encryption keys must be 16 bytes long. However, the underlying
memberlist
library, allows for 16, 24, and 32 byte keys (supporting AES 128, 192, and 256).Consul should move the default key size to 32 bytes so that gossiped messages are encrypted with AES 256. This would be an improvement for users who expect or require AES 256 to encrypt their data.
Currently AES 256 is supported for gossip encryption, but it's not documented. This proposal is to change the default in the key generator as well as the related documentation and tests.
Lastly, Consul would continue to allow 16-byte gossip encryption keys. These would no longer be generated by the
keygen
command.The text was updated successfully, but these errors were encountered: