AppImageSpec icon indicating copy to clipboard operation
AppImageSpec copied to clipboard

Specify how digital signatures are to be crafted on Type-2

Open ssaavedra opened this issue 5 years ago • 5 comments

The previous specification does not provide enough information on how to properly construct valid signatures in the AppImage ecosystem.

For interoperability, and using the current implementation as a reference, this changeset specifies how to construct valid signatures for Type-2 AppImages that are compatible with the current toolset.

C.f.: https://github.com/AppImage/AppImageKit/issues/1010

ssaavedra avatar Mar 24 '20 15:03 ssaavedra

Thank you very much @ssaavedra. Looks like this adequately describes the current implementation, but are we sure that we want to mandate gpg-style signatures? Should we also allow OpenSSL style signatures? @TheAssassin, all, what do you think?

probonopd avatar Mar 26 '20 07:03 probonopd

Make it simple and allow one type only. "Can your application verify AppImage signatures?" should be a Yes / No question, not "We support some signatures but not others".

shoogle avatar Jun 24 '20 17:06 shoogle

While we are at it, we should probably also document how the signature has to be made and checked (e.g., how the digest works and what has to be skipped). Issue with this is that current implementation differs from what I had in mind (even using an undocumented section), so need to discuss with @TheAssassin what to do.

probonopd avatar Jul 30 '20 11:07 probonopd

Is there any reason to prevent this from getting into the draft? I've reviewed the text and modified it a bit with the hope to keep it as unambiguous as possible.

ssaavedra avatar Aug 27 '23 18:08 ssaavedra

Hi @ssaavedra. Thank you very much for your contribution.

@TheAssassin and I need to fact-check it. Also, I think the current implementation is more complicated than it needs to be but I don't remember the exact specifics (something about some identifier that had been quietly introduced into the implementation at some time). So it's questionable whether we want to document the current behavior, or whether we want to simplify it first.

probonopd avatar Aug 29 '23 01:08 probonopd