site  contact  subhomenews

gnupg signed-key-pair created in initrd

April 05, 2023 — BarryK

Posted earlier today about compiling gnupg version 1.4.23 in OE:

https://bkhome.org/news/202304/gnupg1-static-compile-in-oe.html

And always require a root password be set:

https://bkhome.org/news/202304/always-ask-for-root-password-at-first-bootup.html

I have created code in the 'init' script in the initrd, to generate a gnupg signed-key-pair:

https://github.com/bkauler/woofq/commit/f6fb6cc774e62dcda5ce56d09f3b935a4c6f5b23

...there are some compromises with the security; however, I am just wanting to meet the minimum requirement to be able to implement Flatpak support. 

Tags: easy