Incidencia #41842

Unpredictable random seed for Windows (msys2)

Abrir Fecha: 2021-03-24 07:39 Última actualización: 2021-04-04 14:30

Informador:
Propietario:
Tipo:
Estado:
Cerrado
Componente:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
4

Details

Add support for entropy based random seeds for Windows builds. Currently Windows falls back to using time() for setting random seed.

Ticket History (3/11 Histories)

2021-03-24 07:39 Updated by: cazfi
  • New Ticket "Unpredictable random seed for Windows" created
2021-03-24 08:56 Updated by: cazfi
  • Resolución Update from Ninguno to Accepted
2021-03-26 10:13 Updated by: cazfi
  • Resolución Update from Accepted to Ninguno
Comentario

Current patch ignores the random seed generated. ( generate_seed_bcryptgenrandom() does not set it )

2021-03-29 12:38 Updated by: cazfi
Comentario

New versions that sets the genarated seed to use.

2021-03-29 12:38 Updated by: cazfi
  • Resolución Update from Ninguno to Accepted
2021-04-02 05:52 Updated by: cazfi
  • Summary Updated
Comentario

This works fine on msys2.

Msys1 does not have the bcrypt* support needed, so it still falls back to old time based random sources.

Still targeting to S2_6, since we do msys2 builds from that branch too.

2021-04-04 14:30 Updated by: cazfi
  • Estado Update from Open to Cerrado
  • Propietario Update from (Ninguno) to cazfi
  • Resolución Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Entrar