@@ -71,11 +71,11 @@ jobs:
7171 run : |
7272 mkdir -p build/binaries
7373 echo "Generating default SSH keys for CPU..."
74- ssh-keygen -t rsa -b 4096 -f build/binaries/cpu_rsa -N "" -C "cpu-default-key"
74+ ssh-keygen -t rsa -b 4096 -f build/binaries/identity -N "" -C "cpu-default-key"
7575 echo "SSH keys generated:"
76- echo " Private key: build/binaries/cpu_rsa "
77- echo " Public key: build/binaries/cpu_rsa .pub"
78- ls -la build/binaries/cpu_rsa *
76+ echo " Private key: build/binaries/identity "
77+ echo " Public key: build/binaries/identity .pub"
78+ ls -la build/binaries/identity *
7979
8080 - name : Build cpu binary for aarch64
8181 run : |
@@ -103,7 +103,7 @@ jobs:
103103 # Build the initramfs with cpud bundled in as init and include SSH public key
104104 echo "Building initramfs with u-root..."
105105 GOOS=linux GOARCH=arm64 ../../u-root-bin -format=cpio -o ../../initramfs/cpud-initramfs.cpio \
106- -files "../../binaries/cpu_rsa .pub:etc/cpu_rsa .pub" \
106+ -files "../../binaries/identity .pub:etc/identity .pub" \
107107 -initcmd="cpud" \
108108 ./cmds/cpud \
109109 ../u-root/cmds/core/ls \
@@ -147,8 +147,8 @@ jobs:
147147 echo "Files in this archive:" >> BUILD_INFO.txt
148148 echo "- cpu: CPU client binary" >> BUILD_INFO.txt
149149 echo "- cpud: CPU daemon binary" >> BUILD_INFO.txt
150- echo "- cpu_rsa : Default SSH private key" >> BUILD_INFO.txt
151- echo "- cpu_rsa .pub: Default SSH public key" >> BUILD_INFO.txt
150+ echo "- identity : Default SSH private key" >> BUILD_INFO.txt
151+ echo "- identity .pub: Default SSH public key" >> BUILD_INFO.txt
152152 echo "- cpud-initramfs.cpio.gz: U-root initramfs with cpud as init" >> BUILD_INFO.txt
153153 echo "" >> BUILD_INFO.txt
154154 echo "Usage:" >> BUILD_INFO.txt
@@ -157,14 +157,14 @@ jobs:
157157 echo "" >> BUILD_INFO.txt
158158 echo "SSH Keys:" >> BUILD_INFO.txt
159159 echo " Default SSH keys are provided for convenience" >> BUILD_INFO.txt
160- echo " Private key: cpu_rsa " >> BUILD_INFO.txt
161- echo " Public key: cpu_rsa .pub (also embedded in initramfs)" >> BUILD_INFO.txt
160+ echo " Private key: identity " >> BUILD_INFO.txt
161+ echo " Public key: identity .pub (also embedded in initramfs)" >> BUILD_INFO.txt
162162 echo " WARNING: These are default keys - generate your own for production!" >> BUILD_INFO.txt
163163 echo "" >> BUILD_INFO.txt
164164 echo "Initramfs usage:" >> BUILD_INFO.txt
165165 echo " Use cpud-initramfs.cpio.gz as initrd with Linux kernel" >> BUILD_INFO.txt
166166 echo " Boot parameters: init=/init" >> BUILD_INFO.txt
167- echo " SSH public key is embedded at /etc/cpu_rsa .pub" >> BUILD_INFO.txt
167+ echo " SSH public key is embedded at /etc/identity .pub" >> BUILD_INFO.txt
168168 cat BUILD_INFO.txt
169169
170170 - name : Create checksums
@@ -173,8 +173,8 @@ jobs:
173173 echo "Creating checksums..."
174174 sha256sum cpu > cpu.sha256
175175 sha256sum cpud > cpud.sha256
176- sha256sum cpu_rsa > cpu_rsa .sha256
177- sha256sum cpu_rsa .pub > cpu_rsa .pub.sha256
176+ sha256sum identity > identity .sha256
177+ sha256sum identity .pub > identity .pub.sha256
178178 sha256sum BUILD_INFO.txt > BUILD_INFO.txt.sha256
179179 cd ../initramfs
180180 sha256sum cpud-initramfs.cpio.gz > cpud-initramfs.cpio.gz.sha256
@@ -243,13 +243,13 @@ jobs:
243243 files : |
244244 build/binaries/cpu
245245 build/binaries/cpud
246- build/binaries/cpu_rsa
247- build/binaries/cpu_rsa .pub
246+ build/binaries/identity
247+ build/binaries/identity .pub
248248 build/binaries/BUILD_INFO.txt
249249 build/binaries/cpu.sha256
250250 build/binaries/cpud.sha256
251- build/binaries/cpu_rsa .sha256
252- build/binaries/cpu_rsa .pub.sha256
251+ build/binaries/identity .sha256
252+ build/binaries/identity .pub.sha256
253253 build/binaries/BUILD_INFO.txt.sha256
254254 build/binaries/cpud-initramfs.cpio.gz
255255 build/binaries/cpud-initramfs.cpio.gz.sha256
@@ -269,18 +269,18 @@ jobs:
269269 - `*.sha256` - SHA256 checksums for verification
270270
271271 ### SSH Keys
272- - `cpu_rsa ` - Default SSH private key
273- - `cpu_rsa .pub` - Default SSH public key (also embedded in initramfs)
274- - `cpu_rsa .sha256` - Private key checksum
275- - `cpu_rsa .pub.sha256` - Public key checksum
272+ - `identity ` - Default SSH private key
273+ - `identity .pub` - Default SSH public key (also embedded in initramfs)
274+ - `identity .sha256` - Private key checksum
275+ - `identity .pub.sha256` - Public key checksum
276276
277277 **⚠️ WARNING**: These are default keys for convenience. Generate your own keys for production use!
278278
279279 ### Initramfs
280280 - `cpud-initramfs.cpio.gz` - U-root initramfs with cpud as init
281281 - `cpud-initramfs.cpio.gz.sha256` - Initramfs checksum
282282
283- The initramfs includes the SSH public key at `/etc/cpu_rsa .pub` for automatic authentication.
283+ The initramfs includes the SSH public key at `/etc/identity .pub` for automatic authentication.
284284
285285 ### Archive
286286 - `cpu-binaries-aarch64-${{ env.CPU_VERSION }}.tar.gz` - Complete archive with all binaries
@@ -293,23 +293,23 @@ jobs:
293293 # Download binaries and keys
294294 wget https://github.com/${{ github.repository }}/releases/download/${{ github.event.inputs.release_tag || github.ref_name }}/cpu
295295 wget https://github.com/${{ github.repository }}/releases/download/${{ github.event.inputs.release_tag || github.ref_name }}/cpud
296- wget https://github.com/${{ github.repository }}/releases/download/${{ github.event.inputs.release_tag || github.ref_name }}/cpu_rsa
297- wget https://github.com/${{ github.repository }}/releases/download/${{ github.event.inputs.release_tag || github.ref_name }}/cpu_rsa .pub
296+ wget https://github.com/${{ github.repository }}/releases/download/${{ github.event.inputs.release_tag || github.ref_name }}/identity
297+ wget https://github.com/${{ github.repository }}/releases/download/${{ github.event.inputs.release_tag || github.ref_name }}/identity .pub
298298
299299 # Make executable
300300 chmod +x cpu cpud
301- chmod 600 cpu_rsa
302- chmod 644 cpu_rsa .pub
301+ chmod 600 identity
302+ chmod 644 identity .pub
303303
304304 # Verify (optional)
305305 wget https://github.com/${{ github.repository }}/releases/download/${{ github.event.inputs.release_tag || github.ref_name }}/cpu.sha256
306306 wget https://github.com/${{ github.repository }}/releases/download/${{ github.event.inputs.release_tag || github.ref_name }}/cpud.sha256
307- wget https://github.com/${{ github.repository }}/releases/download/${{ github.event.inputs.release_tag || github.ref_name }}/cpu_rsa .sha256
308- wget https://github.com/${{ github.repository }}/releases/download/${{ github.event.inputs.release_tag || github.ref_name }}/cpu_rsa .pub.sha256
307+ wget https://github.com/${{ github.repository }}/releases/download/${{ github.event.inputs.release_tag || github.ref_name }}/identity .sha256
308+ wget https://github.com/${{ github.repository }}/releases/download/${{ github.event.inputs.release_tag || github.ref_name }}/identity .pub.sha256
309309 sha256sum -c cpu.sha256
310310 sha256sum -c cpud.sha256
311- sha256sum -c cpu_rsa .sha256
312- sha256sum -c cpu_rsa .pub.sha256
311+ sha256sum -c identity .sha256
312+ sha256sum -c identity .pub.sha256
313313 ```
314314
315315 ### Download complete archive:
0 commit comments