ValueError: rounds too low (sha512_crypt requires >= 1000 rounds)

Bug #992918 reported by Johannes Erdfelt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Undecided
Johannes Erdfelt
Essex
Fix Released
Undecided
Alan Pevec

Bug Description

273 tests fail using passlib 1.6 which was released today. The cause is that passlib introduced a minimum number of rounds required for the sha512_crypt algorithm.

Changed in keystone:
assignee: nobody → Johannes Erdfelt (johannes.erdfelt)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/6997

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/6997
Committed: http://github.com/openstack/keystone/commit/3b6d0eec9df9d4d2bc773a75a800aadbfed6e4ad
Submitter: Jenkins
Branch: master

commit 3b6d0eec9df9d4d2bc773a75a800aadbfed6e4ad
Author: Johannes Erdfelt <email address hidden>
Date: Tue May 1 22:33:06 2012 +0000

    Switch to 1000 rounds during unit tests

    Fixes bug 992918

    passlib 1.6 introduced a minimum number of rounds for sha512_crypt. As
    a result, increase the rounds used during testing to the minimum

    Change-Id: Ic0c635e92b4f13180a047904a6efa490ab599012

Changed in keystone:
status: In Progress → Fix Committed
Joseph Heck (heckj)
Changed in keystone:
milestone: none → folsom-1
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (stable/essex)

Fix proposed to branch: stable/essex
Review: https://review.openstack.org/7738

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: stable/essex
Review: https://review.openstack.org/8406

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (stable/essex)

Reviewed: https://review.openstack.org/7738
Committed: http://github.com/openstack/keystone/commit/7715d6cd72477af83d95563b69a5f0273bdb719b
Submitter: Jenkins
Branch: stable/essex

commit 7715d6cd72477af83d95563b69a5f0273bdb719b
Author: Alan Pevec <email address hidden>
Date: Mon Jun 11 20:19:50 2012 +0200

    Fix test env for the stable branch

    Need both changes in one commit to pass the gate!

    * Nail pep8 dependencies to 1.0.1.

    Nails the pep8 deps for tox and test-requires to 1.0.1.
    Fixes an issues causing pep8 failures due to a new pep8 release.

    (cherry picked from Nova stable)

    * Switch to 1000 rounds during unit tests

    Fixes bug 992918

    passlib 1.6 introduced a minimum number of rounds for sha512_crypt. As
    a result, increase the rounds used during testing to the minimum

    Change-Id: Ic0c635e92b4f13180a047904a6efa490ab599012

Thierry Carrez (ttx)
Changed in keystone:
milestone: folsom-1 → 2012.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.