← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1422891] [NEW] Secret key generation test should use less permissive chmod

 

Public bug reported:

While working on the Bandit framework with the OpenStack Security Group
it flagged the chmod 777 in the
SecretKeyTests.test_generate_or_read_key_from_file test.

While this is a trivial issue that applies only to the test suite, using
a 644 permission accomplishes the same thing and is better principle.
Also it makes Bandit happy, and it's one less thing to flag in the
future.

** Affects: horizon
     Importance: Low
     Assignee: Gabriel Hurley (gabriel-hurley)
         Status: In Progress

** Changed in: horizon
       Status: New => Confirmed

** Changed in: horizon
   Importance: Undecided => Low

** Changed in: horizon
     Assignee: (unassigned) => Gabriel Hurley (gabriel-hurley)

** Changed in: horizon
    Milestone: None => kilo-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1422891

Title:
  Secret key generation test should use less permissive chmod

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  While working on the Bandit framework with the OpenStack Security
  Group it flagged the chmod 777 in the
  SecretKeyTests.test_generate_or_read_key_from_file test.

  While this is a trivial issue that applies only to the test suite,
  using a 644 permission accomplishes the same thing and is better
  principle. Also it makes Bandit happy, and it's one less thing to flag
  in the future.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1422891/+subscriptions


Follow ups

References