from the dev document, i got that opengauss support several encryption type for cleint authentication:
- md5
- sha256 (as default)
local is a Unix domain socket. host is a common or SSL-encrypted TCP/IP socket. hostssl is an SSL-encrypted TCP/IP socket. hostnossl is a TCP/IP-only socket. authmehod-options is an optional parameter. Value range:
As i know that md5 is not safe enough? so why opengauss still support it, which authentication encryption type is recommanded ?
Use MD5 only for compatibility with legacy applications and data. Sha256 is recommanded.