Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • M merle-scripts
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • cof-geek-sysadmin
  • merle-scripts
  • Merge requests
  • !12

CAS login: use sha256, add command to regen all public IDs

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Théophile Bastian requested to merge tbastian/patch_public_id into master Jul 18, 2022
  • Overview 4
  • Commits 2
  • Changes 4

Since Python 3.4, hmac.new requires a parameter hashmod. Previously, it defaulted to md5. As we updated our Python, this breaks for new users.

This commit uses sha256 instead, and introduces a command to regenerate all previously generated public IDs to also use sha256.

Same as !11 (closed) with migration to sha256. I didn't see this other MR before.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: tbastian/patch_public_id