Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

228
Vistas
How to transmit PostgreSQL DB Password in Plain Text / Cleartext from NodeJS server

Expected behavior

Password should be transmitted in plain text (cleartext), without md5 hashing. Because MD5 is not FIPS compliant.

Actual behavior

Password always uses md5 hashing.

Steps to reproduce

pg_hba.conf file has "md5" option. It cannot be changed to "password" in my case. Role in pg_authid has password with "md5" prefix.

According to PostgreSQL documentation (https://www.postgresql.org/docs/11/auth-password.html):

If a password was encrypted using the md5 setting, then it can be used only for the md5 and password authentication method specifications (again, with the password transmitted in plain text in the latter case).

How password can be transmitted in plain text (cleartext), without md5 hashing?

Used libraries

  • pg-promise: 10.11.0
  • pg-protocol: 1.5.0
  • pg (https://www.npmjs.com/package/pg): 8.7.1

PostgreSQL version: 9.3

Node.js: 12.20.1

OS: Linux/Mac

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda