Skip to content

Commit dddafc4

Browse files
Fix Sparkle key generation to use correct tool name
- Replace ed25519_sign_util with generate_keys (actual tool name) - Add debugging output to show available Sparkle tools - Fix key generation command to use correct tool - Fix public key extraction to use correct tool - Resolves 'No such file or directory' error for ed25519_sign_util
1 parent 61f2890 commit dddafc4

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/build-and-release.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,20 @@ jobs:
200200
if [ ! -f "keys/ed25519_private_key.pem" ]; then
201201
echo "🔑 Generating Sparkle keys..."
202202
mkdir -p keys
203-
./bin/ed25519_sign_util generate keys/ed25519_private_key.pem
204-
./bin/ed25519_sign_util public-key keys/ed25519_private_key.pem > keys/ed25519_public_key.pem
203+
204+
# List available tools for debugging
205+
echo "📁 Available Sparkle tools:"
206+
ls -la ./bin/
207+
208+
# Use generate_keys tool (correct tool name)
209+
./bin/generate_keys keys/ed25519_private_key.pem
210+
211+
# Extract public key from private key
212+
./bin/generate_keys keys/ed25519_private_key.pem > keys/ed25519_public_key.pem
213+
205214
PUBLIC_KEY=$(grep -v "BEGIN\|END" keys/ed25519_public_key.pem | tr -d '\n')
206215
echo "Public key: $PUBLIC_KEY"
216+
207217
# Update Info.plist with public key
208218
plutil -replace SUPublicEDSAKey -string "$PUBLIC_KEY" A6Cutter/Info.plist
209219
else

0 commit comments

Comments
 (0)