Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use general token signing secret (#29205) #29325

Merged
merged 4 commits into from
Feb 22, 2024

Commits on Feb 22, 2024

  1. Refactor JWT secret generating & decoding code (go-gitea#29172)

    Old code is not consistent for generating & decoding the JWT secrets.
    
    Now, the callers only need to use 2 consistent functions:
    NewJwtSecretWithBase64 and DecodeJwtSecretBase64
    
    And remove a non-common function Base64FixedDecode from util.go
    wxiaoguang committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    6025126 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c8d2f25 View commit details
    Browse the repository at this point in the history
  3. fix conflict

    wxiaoguang committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    06c488e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    89a04e5 View commit details
    Browse the repository at this point in the history