Help signing a .dmg
with EdDSA key.
#2597
Replies: 1 comment 1 reply
-
This error is not related to the appcast, but rather that the new update app bundle that was downloaded is missing a
generate_appcast should generate the
This would ought to work too (again the error is unrelated to the appcast). Zip and dmg are not different in this regard with using Sparkle's signing keys.
I cannot reproduce this tool hanging after importing keys. If you want to report it you may need to provide a sample from Activity Monitor or a spindump. If there are multiple updates, it may take some time to generate deltas.
This was more in the context of key rotation, I haven't decided what to do there yet. Today, dmg is not more secure. |
Beta Was this translation helpful? Give feedback.
-
Hello all,
thank you for all the help in advance.
So at the moment I am trying to integrate Sparkle, seen all the documentation, seen discussions. I am trying to sign in on CI machine.
I have generated the key and exported it to a file. Every command I run, I append
--ed-key-file $DIR/sparkle_private_key_file
.My goal - to have an app in
.dmg
. I would love the updates to work with.dmg
and I read that it should be supported.Put a copy of your .app (with the same name as the version it’s replacing) in a .zip, .tar.xz, or .dmg.
https://sparkle-project.org/documentation/publishing/#publishing-an-updateAlso, read the proposal for future to use
.dmg
for increased security due to.zip
flaws. Read all the discussions where help regarding unproperly signed update issue is discussed, but can't seem to get the dmg properly signed.I am working on a macOS app, without sandboxing, with hardened runtime.
The way I see the process:
.dmg
with signed app..dmg
. // Everything is working here.dmg
with the EdDSA keyFirst I tried signing and notarizing the app. Later on figured it's the other way round. Notarize and sign.
generate_appcast
, does not seem to be generating EdDSA keys in the appcast when I run it.The update gets downloaded, but when installing, I get these errors in the console:
I tried using
sign_update
and manually add the EdDSA key to appcast file, but I get same errors.I assume something is wrong with signing, just can't figure out what. Any help is appreciated.
Also tried using
.zip
. Sign export app, notarize the zip, extract app from zip, staple, sign with EdDsa key - but with no luck.Tried verifying the exported
.zip
, withsign_update
, but nothing gets outputed when I paste the correct signature or when I change one of the letters in the signature.If I try importing the key manually,
the
generate_appcast
gets stuck.Beta Was this translation helpful? Give feedback.
All reactions