~ubuntuone-pqm-team/python-keystoneclient/trunk

Viewing all changes in revision 1354.

  • Committer: Gage Hugo
  • Author(s): lhinds
  • Date: 2017-08-31 20:34:13 UTC
  • Revision ID: git-v1:b29f478f28c4989156cfe87392cbd308e3f55c1e
Adds bandit nosec flag to hashlib.sha1

A bandit patch to block sha1 hash is failing CI [1], due to a false
positive on hashlib.sha1 (which actually uses HMAC-SHA1 in keystone
that is considered more secure then standard SHA1)

This change marks a # nosec comment against the line which is
triggering the false positive in Bandit.

[1] https://review.openstack.org/#/c/437563/6

Change-Id: Ib9618119c77f41fba0e612e37c7511676bed47e8

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: