Skip to content

Commit 01726ed

Browse files
author
MochiOS Team
committed
fix signing key gen: use printf instead of heredoc to avoid yaml indent issues, switch to RSA
1 parent 2a1d674 commit 01726ed

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

‎.github/workflows/build-iso.yml‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,7 @@ jobs:
3333
run: |
3434
cd /tmp/mochios
3535
mkdir -p repo/pubkey
36-
cat > ci-genkey << 'GPGEOF'
37-
Key-Type: ed25519
38-
Key-Usage: sign
39-
Name-Real: MochiOS CI
40-
Name-Email: ci@mochios.dev
41-
Expire-Date: 0
42-
%no-protection
43-
GPGEOF
44-
gpg --batch --gen-key ci-genkey
36+
printf 'Key-Type: RSA\nKey-Length: 2048\nName-Real: MochiOS CI\nName-Email: ci@mochios.dev\nExpire-Date: 0\n%%no-protection\n' | gpg --batch --gen-key 2>&1
4537
gpg --export --armor ci@mochios.dev > repo/pubkey/mochios-key.pub
4638
4739
- name: create secure boot keys

0 commit comments

Comments
 (0)