Skip to content

FIPS support for hashlib #53462

@davidmalcolm

Description

@davidmalcolm
BPO 9216
Nosy @gpshead, @pitrou, @vstinner, @tiran, @rbtcollins, @dhellmann, @davidmalcolm, @dholth, @sigmavirus24, @stratakis, @yrobla, @hroncok, @csabella, @miss-islington
PRs
  • bpo-9216: [WIP] Support OpenSSL FIPS mode. #5548
  • bpo-9216: Add usedforsecurity to hashlib constructors #16044
  • bpo-9216: Nobody expects the geohashing FIPS inquisition #19520
  • [3.8] bpo-9216: Nobody expects the geohashing FIPS inquisition (GH-19520) #19524
  • bpo-9216: Expose OpenSSL FIPS_mode() as _hashlib.get_fips_mode() #19703
  • bpo-9216: hashlib usedforsecurity fixes #20258
  • [3.9] bpo-9216: hashlib usedforsecurity fixes (GH-20258) #20320
  • Files
  • py3k-hashlib-fips-issue9216.patch: Patch against py3k branch
  • 0001-Rework-_hashlib-caching-moving-per-hash-cached-data-.patch
  • 0002-Add-error-handling-to-initialization-of-_hashlib.patch
  • 0003-Add-optional-usedforsecurity-argument-in-various-pla.patch
  • 0004-_hashlib-Add-selftest-for-FIPS-mode-and-usedforsecur.patch
  • virtualenv_distribute
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2010-07-10.00:22:13.168>
    labels = ['type-feature', 'library', '3.9', '3.10']
    title = 'FIPS support for hashlib'
    updated_at = <Date 2020-05-22.18:22:39.610>
    user = 'https://github.com/davidmalcolm'

    bugs.python.org fields:

    activity = <Date 2020-05-22.18:22:39.610>
    actor = 'miss-islington'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2010-07-10.00:22:13.168>
    creator = 'dmalcolm'
    dependencies = []
    files = ['17970', '23172', '23173', '23174', '23175', '26205']
    hgrepos = []
    issue_num = 9216
    keywords = ['patch']
    message_count = 47.0
    messages = ['109808', '109891', '110124', '144152', '144153', '144154', '155688', '155741', '155846', '164308', '164328', '166575', '166576', '172302', '191130', '285593', '285640', '285643', '285676', '285677', '285678', '285679', '285681', '285683', '285684', '285706', '285895', '285897', '298454', '298484', '348186', '348747', '352231', '352253', '360716', '366436', '367189', '367193', '367194', '367195', '367197', '367668', '367960', '368065', '369430', '369622', '369625']
    nosy_count = 19.0
    nosy_names = ['gregory.p.smith', 'pitrou', 'vstinner', 'christian.heimes', 'rbcollins', 'rpetrov', 'doughellmann', 'dmalcolm', 'dholth', 'jpokorny', 'bkabrda', 'lukecarrier', 'icordasc', 'cstratak', 'yolanda.robla', 'hroncok', 'cheryl.sabella', 'Andrew DiPrinzio', 'miss-islington']
    pr_nums = ['5548', '16044', '19520', '19524', '19703', '20258', '20320']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue9216'
    versions = ['Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.9only security fixesstdlibPython modules in the Lib dirtype-featureA feature request or enhancement

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions