Add Comprehensive Functional Test for All Secret Type with RSA Keys

Registered by Dave McCowan

It will be useful to have a set of secrets generated out-of-band with OpenSSL that
can be used to fully exercise Barbican's functions related to those secrets.
An implementation of this blueprint will add new smoke tests for RSA type containers and secrets

Blueprint information

Status:
Complete
Approver:
Douglas Mendizábal
Priority:
Medium
Drafter:
Dave McCowan
Direction:
Approved
Assignee:
Dave McCowan
Definition:
Approved
Series goal:
Accepted for kilo
Implementation:
Implemented
Milestone target:
milestone icon 2015.1.0
Started by
Douglas Mendizábal
Completed by
Douglas Mendizábal

Related branches

Sprints

Whiteboard

This adds new functional tests that mimic the curl test
    examples in doc/source/api/reference/secret_types.rst.

    The new tests are:
      Create private secret with POST.
      Create private secret with POST and PUT.
      Create public secret with POST.
      Create public secret with POST and PUT.
      Create passphrase secret with POST.
      Create RSA container with POST.
      Order RSA container
      Order certifciates

    The secrets used in this test are generated using OpenSSL.
    Per the API reference, the stored and retrieved
    secret values should match.

    The secret formats are:
      private: PKCS#8 PEM
      public: PEM
      passphrase: text
      certificate: PEM

    Secrets sent in JSON via POST are base64 encoded
    Secrets sent in the body via POST and PUT are sent natively

Addressed by:
https://review.openstack.org/#/c/172401/
https://review.openstack.org/174722

Gerrit topic: https://review.openstack.org/#q,topic:bp/smoke-test-rsa,n,z

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.