6 Commits
Author SHA1 Message Date
Tudor Marcu 72ec546aac Update comment
The only test that is really useful for an OSV is the one that is run first,
which assumes all content passed in is correct. If that fails, the content
must be bad and an update would fail; if that test passes, then we know
at the very least verification and updates would succeed, and the content
is what we expect it to be. The tests performed after use combinations of
invalid inputs, which of course should all fail, and would raise huge red
flags regarding the OpenSSL implementation if they did not - pointing to
regressions or bugs in OpenSSL itself.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-09-06 11:26:03 -07:00
Tudor Marcu 33a0fcba95 Add certificate signature validation script
This script checks that a given data file and signature verify correctly against
a certificate. Without introducing fuzzing, this covers all (8) combinations of
valid and invalid files that may occur, and corrupts them in the more often
seen ways, such as a partially downloaded Manifest, or a wrong signature file.

Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2016-09-02 13:35:08 -07:00
Patrick McCarty bd96083f8c Add helper script for test case creation
Eventually, I want to add scripting to more easily create create/manage
manifests for test cases, but for now this script addresses some of the
overhead.

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2016-06-22 16:12:38 -07:00
Jose R Guzman 3db13fd519 Fix for completion when absolute path is given
Signed-off-by: Jose R Guzman <jose.r.guzman.mosqueda@intel.com>
2016-06-03 16:56:49 -05:00
Patrick McCarty 44cff67cb4 Move some auxiliary scripts to the scripts directory
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2016-04-12 10:42:32 -07:00
Jose R Guzman cf9d47383c Adding script to create autocompletion function for complete command.
Signed-off-by: Jose R Guzman <jose.r.guzman.mosqueda@intel.com>
2016-04-12 10:11:16 -07:00