Skip to content

Commit a419fa4

Browse files
committed
Create detached signatures again
The new signing code used "normal" signatures, but we need detached ones to retain compatibility with older versions of AppImageUpdate.
1 parent 729a1a6 commit a419fa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/appimagetool_sign.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ bool sign_appimage(char* appimage_filename, char* key_id, bool verbose) {
432432
gpg_check_call(gpgme_data_new(&gpgme_sig_data));
433433

434434
// now, we can sign the data
435-
gpg_check_call(gpgme_op_sign(gpgme_ctx, gpgme_appimage_file_data, gpgme_sig_data, GPGME_SIG_MODE_NORMAL));
435+
gpg_check_call(gpgme_op_sign(gpgme_ctx, gpgme_appimage_file_data, gpgme_sig_data, GPGME_SIG_MODE_DETACHED));
436436

437437
gpgme_sign_result_t sign_result = gpgme_op_sign_result(gpgme_ctx);
438438

0 commit comments

Comments
 (0)