On Wed, Oct 30 2024, Brian Ruley <brian.ru...@gehealthcare.com> wrote:
> Right now, it is unclear where the certificates (and private keys) are > read from if environment variables are unset, and providing complete > paths in the device tree is not ideal. Naturally, it makes sense > to be able to decide where binman should look for the files, regardless > whether the keys are specified in the device tree or not. > > Therefore, expand the etype to look for the necessary files from the > input path. Introduce a new variable to provide users the ability to > specify a custom path. > > As a consequence of this change, the environment variables used to > specify the keys, e.g., `IMG_KEY', will be searched *relative* to the > input directories. Hopefully not if those env variables contain an absolute path? Rasmus