Add Comprehensive Functional Test for All Secret Type with RSA Keys
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:
- 2015.1.0
- Started by
- Douglas Mendizábal
- Completed by
- Douglas Mendizábal
Related branches
Related bugs
Sprints
Whiteboard
This adds new functional tests that mimic the curl test
examples in doc/source/
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:/
https:/
Gerrit topic: https:/