Re: [PATCH] tools: add a simple script to generate EFI variables

2020-11-30 Thread Paulo Alcantara
Hi Heinrich, Heinrich Schuchardt writes: > On 11/30/20 4:16 PM, Paulo Alcantara wrote: >> This script generates EFI variables for U-Boot variable store format. > > Wouldn't it make sense to allow overwriting and deleting variables too? Absolutely. I'll repost it with those features. Thanks!

Re: [PATCH] tools: add a simple script to generate EFI variables

2020-11-30 Thread Heinrich Schuchardt
On 11/30/20 4:16 PM, Paulo Alcantara wrote: This script generates EFI variables for U-Boot variable store format. Hello Paulo, thanks for you valuable contribution. Wouldn't it make sense to allow overwriting and deleting variables too? Best regards Heinrich An example of generating secu

[PATCH] tools: add a simple script to generate EFI variables

2020-11-30 Thread Paulo Alcantara
This script generates EFI variables for U-Boot variable store format. An example of generating secure boot variables $ openssl x509 -in foo.crt -outform DER -out foo.der $ efisiglist -a -c foo.der -o foo.esl $ efivar.py -i ubootefi.var add -n db -d foo.esl -t file $ efivar.py -i ubootefi.