GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Show value of `UINT32_MAX` in HMAC error messages · Issue #133061 · python/cpython

Show value of UINT32_MAX in HMAC error messages #133061

New issue
Copy link
New issue
Copy link
Closed
Closed
Show value of UINT32_MAX in HMAC error messages#133061
Copy link
Assignees
picnixz
Labels
3.14bugs and security fixesbugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@picnixz
picnixz
opened on Apr 27, 2025
Issue body actions

Bug report

Bug description:

Following #133027 (comment) and #133027 (comment), we should avoid having the textual "UINT32_MAX" or any C constant in a user-facing error message. I however did this when I implemented one-shot HMAC.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

  • gh-133061: do not mention UINT32_MAX in HMAC user-facing messages #133062
Reacted by Adam Turner and Emma Smith

Activity

  1. picnixz
    added
    3.14bugs and security fixesbugs and security fixes
    extension-modulesC modules in the Modules dirC modules in the Modules dir
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Apr 27, 2025
  2. picnixz
    self-assigned this
    on Apr 27, 2025
  3. picnixz
    added a commit that references this issue on Apr 27, 2025

    gh-133061: do not mention `UINT32_MAX` in HMAC user-facing messages (#…

    1b7470f
  4. picnixz
    closed this as completedon Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @picnixz
    picnixz

Labels

3.14bugs and security fixesbugs and security fixesextension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.