Projet

Général

Profil

Bug #39885

génération de mot de passe, 'float' object cannot be interpreted as an integer

Ajouté par Frédéric Péters il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
14 février 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/wcs/qommon/ident/password.py", line 86, in make_password
    84         length = 6
    85     r = random.SystemRandom()
>   86     return ''.join([r.choice('abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ2345678923456789') for x in range(length)])
    87
    88

Fichiers

Révisions associées

Révision 33d778b2 (diff)
Ajouté par Frédéric Péters il y a environ 4 ans

password: make sure generated password use an integer length (#39885)

Révision 3792591a (diff)
Ajouté par Frédéric Péters il y a environ 4 ans

password: make sure generated password use an integer length (#39885)

Historique

#1

Mis à jour par Frédéric Péters il y a environ 4 ans

#2

Mis à jour par Thomas Noël il y a environ 4 ans

  • Statut changé de Solution proposée à Solution validée
#3

Mis à jour par Frédéric Péters il y a environ 4 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 3792591af28e6553b03cd9c934cd5fec7cd3fdc7
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Fri Feb 14 13:59:51 2020 +0100

    password: make sure generated password use an integer length (#39885)

(pour info celui-ci est déjà déployé manuellement sur le saas)

#4

Mis à jour par Frédéric Péters il y a environ 4 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF