1. 24 Jan, 2020 4 commits
    • Jérome Perrin's avatar
      CSPRNG in restricted python · 1764c526
      Jérome Perrin authored
      Allow python's cryptographically secure pseudorandom number generator for usage in restricted python and use it where it makes sense.
      
      This also change the API of `Person_generatePassword` which no longer allow to control the number of letters and numbers.
      
      /reviewed-on !847
      1764c526
    • Jérome Perrin's avatar
      credential: follow Person_generatePassword API change · f25ef810
      Jérome Perrin authored
      This script no longer allow to control the number of letters and digit
      f25ef810
    • Jérome Perrin's avatar
      access_token: use os.urandom to generate token · 201a596c
      Jérome Perrin authored
      Using same method as python 3.6's secrets module and a bit longer token
      that what python currently recommends, since we were using very very
      long tokens until now (so that it does not look like a "regression")
      201a596c
    • Jérome Perrin's avatar
      base: generate a stronger passwords in Person_generatePassword · 758fc366
      Jérome Perrin authored
      - use system random
      - generate longer password with a larger space
      
      API change in an incompatible way, it's no longer possible to control
      the number of alpha and numeric. This was reducing a lot the number of
      combinations, so it's better to break so that callers stop generating
      too weak passwords.
      758fc366
  2. 23 Jan, 2020 2 commits
  3. 22 Jan, 2020 2 commits
  4. 20 Jan, 2020 4 commits
  5. 17 Jan, 2020 3 commits
  6. 16 Jan, 2020 2 commits
  7. 15 Jan, 2020 6 commits
  8. 14 Jan, 2020 12 commits
  9. 13 Jan, 2020 2 commits
  10. 10 Jan, 2020 3 commits