You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/06/26 00:13:21 UTC

[GitHub] [mynewt-artifact] ccollins476ad opened a new pull request #2: Support verification of encrypted images

ccollins476ad opened a new pull request #2: Support verification of encrypted images
URL: https://github.com/apache/mynewt-artifact/pull/2
 
 
   An image's hash cannot be verified while the image is encrypted.  To verify the hash of such an image, the image must be decrypted first (without clearing the encrypted flag in the header).  This complicates the API, as the caller now needs to pass in a set of encryption keys.
   
   The fix is to split the image.Verify() function into several pieces:
   * VerifyStructure()
   * VerifyHash()
   * VerifySigs()
   * VerifyManifest()

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services