summaryrefslogtreecommitdiffstats
path: root/image_verify.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactor of bmcImagesLei YU2018-07-171-8/+0
| | | | | | | | | | | | | | bmcImages were in image_verify.hpp but it is used not only in image verification, but elsewhere. Move it into a more generic header file, images.hpp, so it makes more clear that users of bmcImages include images.hpp instead of image_verify.hpp Tested: Verify the code pass the build. Change-Id: If9adf315eee9047d9d08ab93ed7c0ff3c97f7a1e Signed-off-by: Lei YU <mine260309@gmail.com>
* Support non-ubifs layoutLei YU2018-07-171-0/+5
| | | | | | | | | | | | | | | | | Add ubifs_layout as config argument, so a build could select if it needs ubifs_layout feature or not. Add code to update non-ubifs layout image by 1. Putting the bmc image in /run/initramfs; 2. Set its state as Active when it is ready to update 3. Let user to initiate the reboot request Tested: Generate a tarball with Romulus bmc image and manifest, update it with REST API (image upload, activation, and reboot) Verify the code update works well in WebUI. Change-Id: I5b122211fafb7cb9d96ee67317db139ed0b7d0a7 Signed-off-by: Lei YU <mine260309@gmail.com>
* Spelling fixesGunnar Mills2018-04-091-1/+1
| | | | | | | | | Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2. Change-Id: I2ca3fd16d7cc84fdce63089b47fefb8f128894fd Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Spelling fixesGunnar Mills2018-03-231-1/+1
| | | | | | | | | | Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2. Tested: Built the repo Change-Id: I4fb378699d436e0c41adf80978f7cdaec12c6404 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Enabled OpenSSL based signature validation functionsJayanth Othayoth2018-03-131-1/+105
| | | | | | | | Added support for OpenSSL based function for the signed image validation. Change-Id: I45bb677276694b0bbb92c7c694c7f95b8b2c011d Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Add support for signature verification routinesJayanth Othayoth2018-03-131-5/+64
| | | | | | | | | | Enabled high level logic flow for the signed image signature validation routines. Includes reading hash type, key type from Manifest file. Change-Id: I9b0213042bb15882f351e7937fd17fb0a3e9fb33 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Create initial Signature verification classJayanth Othayoth2018-03-131-0/+54
Initial version of the signature validation infrastructure for BMC signed image. Change-Id: I79d8ad10dbb7e3c4f0ffd21609b483be6734b4af Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
OpenPOWER on IntegriCloud