Code signing [Was: JEP draft: Prepare to Restrict The Use of JNI]

Andrew Haley aph-open at littlepinkcloud.com
Sat Sep 9 08:39:32 UTC 2023


On 9/8/23 20:51, Attila Kelemen wrote:
>      > In fact, it might even tells you more, because if not any manifest entry can be used, then you could tell from the presence of the manifest entry that people considered that these properties will be used for access rights (unlike signatures, because all libraries in Maven central are signed).
> 
>     I can't understand the meaning of this sentence.
> 
>     It's not necessary to trust the Maven central signature.
> 
> 
> Basically I just meant that having a signature is a pretty low bar (because 100% of the libs in Maven Central have it). I'm not trying to imply that you thought it is a high bar, just wanted to clarify, if someone considered that a bonus. And that having manifest entries specifically added for the purpose of granting native access based on them is a higher bar, because it requires more conscious consideration from the library. That is, it is not just there by chance like a signature.

The point of a signature is that you have enough knowledge of a
particular signer to me happy the library will be good. The user
chooses which signatures to trust. The user can, themself, also
sign some libraries. There is no "just there by chance".

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the jdk-dev mailing list