← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1185052] Re: Failure in generate_x509_cert ; from missing abspath?

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-2

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

Title:
  Failure in generate_x509_cert ; from missing abspath?

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  https://bugzilla.redhat.com/show_bug.cgi?id=959818 seems to show a
  case in crypto.py's generate_x509_cert where we are passing garbage to
  openssl.

  generate_x509_cert has os.path.abspath() around keyfile, but is
  missing it around csrfile.

  Sometimes, __file__ can return a local rather than absolute path, and
  passing a local path to openssl could result in undefined behavior.

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