Commit 973c1e71 authored by Ophélie Gagnard's avatar Ophélie Gagnard

uefi-keys/:

- Generate new keys.
Note: they were originally generated while the repository was public, so they could not be trusted.
- Move the keys in uefi-keys/keys/
- Move mkkeys.sh to make_keys.sh and update it accordingly.
- Update dracut.module/dracut.conf.in accordingly.
parent e38d94c1
......@@ -10,5 +10,5 @@ reproducible=yes
#loginstall=./loginstall/
uefi=yes
uefi_stub=/usr/lib/systemd/boot/efi/linuxx64.efi.stub
uefi_secureboot_cert=%PROJECT_DIR%/uefi-keys/DB.crt
uefi_secureboot_key=%PROJECT_DIR%/uefi-keys/DB.key
uefi_secureboot_cert=%PROJECT_DIR%/uefi-keys/keys/db.crt
uefi_secureboot_key=%PROJECT_DIR%/uefi-keys/keys/db.key
-----BEGIN CERTIFICATE-----
MIIDHTCCAgWgAwIBAgIUCXcXOU0UPEBomolNyuOYcJfJoRkwDQYJKoZIhvcNAQEL
BQAwHjEcMBoGA1UEAwwTU3RvcmVkIG9uIGdpdGxhYiBEQjAeFw0yMjA0MDQwOTEz
NDlaFw0zMjA0MDEwOTEzNDlaMB4xHDAaBgNVBAMME1N0b3JlZCBvbiBnaXRsYWIg
REIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDHiUc+MyP+TQDM4s8c
SP1p/luYT1pgfS0H8SBQxy0bhjjCu3YTv38FdXR1pxLVLuwJfK0TYzrsL0DAUjNV
FO45AaC0zbH7eMy4UA6prSEcaqcPgqcyD3Nfg4B/DpwCkdEQVwwT75aR4raG2+QD
/JRe+n/4tY9PhzxsAexOazISEfMigvjWUg3lDWZyo21orObV6YWMYeX5xN+SregU
TwE5W7LANhFTzInnaQJ9lmA7q2d+D3FQ/HM6vNmb1a/TlMlnzbGaWOEbWOaIGpku
ZpTHM+piwm5K5oA7X0rO8Mf5c1X/zuGwLCDj44kFaQlTSV5UMdU5CclvMDK96qcS
ypMrAgMBAAGjUzBRMB0GA1UdDgQWBBTIHsJW7yF4GMQNU4vxilfX56PMS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jE3AJ4kc6Eg0xEFMhMafNeExuC
7Aodza+DtGqb/4otAKkv/IALgg==
-----END PRIVATE KEY-----
8e75ae9a-b4e7-11ec-b245-00224ddacaa7
#!/bin/bash
# Copyright (c) 2015 by Roderick W. Smith
# Licensed under the terms of the GPL v3
# Modified by Nexedi 2021-2022
echo -n "Enter a Common Name to embed in the keys: "
read NAME
mkdir -p keys
cd keys
openssl req -new -x509 -newkey rsa:2048 -subj "/CN=$NAME PK/" -keyout PK.key \
-out PK.crt -days 3650 -nodes -sha256
openssl req -new -x509 -newkey rsa:2048 -subj "/CN=$NAME KEK/" -keyout KEK.key \
-out KEK.crt -days 3650 -nodes -sha256
openssl req -new -x509 -newkey rsa:2048 -subj "/CN=$NAME DB/" -keyout DB.key \
-out DB.crt -days 3650 -nodes -sha256
openssl req -new -x509 -newkey rsa:2048 -subj "/CN=$NAME db/" -keyout db.key \
-out db.crt -days 3650 -nodes -sha256
openssl x509 -in PK.crt -out PK.cer -outform DER
openssl x509 -in KEK.crt -out KEK.cer -outform DER
openssl x509 -in DB.crt -out DB.cer -outform DER
openssl x509 -in db.crt -out db.cer -outform DER
GUID=`python3 -c 'import uuid; print(str(uuid.uuid1()))'`
echo $GUID > myGUID.txt
cert-to-efi-sig-list -g $GUID PK.crt PK.esl
cert-to-efi-sig-list -g $GUID KEK.crt KEK.esl
cert-to-efi-sig-list -g $GUID DB.crt DB.esl
cert-to-efi-sig-list -g $GUID db.crt db.esl
rm -f noPK.esl
touch noPK.esl
......@@ -31,7 +35,7 @@ sign-efi-sig-list -t "$(date --date='1 second' +'%Y-%m-%d %H:%M:%S')" \
sign-efi-sig-list -t "$(date --date='1 second' +'%Y-%m-%d %H:%M:%S')" \
-k PK.key -c PK.crt KEK KEK.esl KEK.auth
sign-efi-sig-list -t "$(date --date='1 second' +'%Y-%m-%d %H:%M:%S')" \
-k KEK.key -c KEK.crt db DB.esl DB.auth
-k KEK.key -c KEK.crt db db.esl db.auth
chmod 0600 *.key
......
89da4706-b3f7-11ec-92f8-00224ddacaa7
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment