Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specifying intermediate certificates in bundle.bbclass #183

Open
hellow554 opened this issue Mar 17, 2021 · 1 comment
Open

specifying intermediate certificates in bundle.bbclass #183

hellow554 opened this issue Mar 17, 2021 · 1 comment
Labels

Comments

@hellow554
Copy link
Contributor

According to the docs if you'd like to include intermediate certificates you have to use --intermediate=your/cert/here.pem, but the bundle.bbclass does not provide such option.

One could misuse the BUNDLE_ARGS variable to acomplish this.

I propose a RAUC_INTERMEDIATE_FILE (or RAUC_INTER_FILE for short, although I'd like to see the longer version) that will automatically add an intermediate file to the rauc bundle command.

@ejoerns ejoerns added the RFE R label Mar 17, 2021
@ejoerns
Copy link
Member

ejoerns commented Mar 17, 2021

I'd tend to agree with you, as we are currently in the process of introducing this in pengutronix/genimage#139 accordingly (which is the comparable mechanism used for PTXdist).

But we must also take care here that this option can be called multiple times to add multiple intermediate certs. Thus the variable must be a list and evaluated as such. Due to this, I am not fully sure if this is a benefit over simply giving the explicit options with BUNDLE_ARGS (but it could as it is consistent with providing key and cert via variables, too).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants