-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enforce all plugin uploads to Gradle Plugin Portal require PGP signature #211
Comments
Oh. It looks like Plugin Portal forbids publishing PGP signatures. That is really sad. I have tried to add sign artifact, and there's a dedicated error message:
|
@melix , sorry for pinging you here, but this issue might be relevant in the context of PGP verification. Just in case, it turns out if I publish the plugin to Maven Central it just works, and it even supports PGP verification, so it looks like Central is a bit better than GPP for now :-/ |
This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you're interested in how we try to keep the backlog in a healthy state, please read our blog post on how we refine our backlog. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution. |
Wait, gradle plugins are still not signed? |
This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you're interested in how we try to keep the backlog in a healthy state, please read our blog post on how we refine our backlog. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution. |
The issue is still relevant |
I just pushed a plugin to Gradle Plugin Portal, and it somehow accepted
|
FYI: version
|
I know this ticket is kind-of old but ever since its creation a bunch of new PGP libs have been created with vastly simpler API: https://github.com/pgpainless/pgpainless (not to mention that the author: @vanitasvitae is actually responsive and highly qualified in the OpenPGP space). PGPainless is also partly Kotlin! I just wanted to update you all. I hope you don't mind the notification spam... 🙈 |
+1 |
Expected Behavior
Published plugins should have cryptographic signatures, so they can be verified at the consumer side.
Note: this is related to gradle/gradle#10443, however gradle/gradle#10443 is a Gradle part for verification of checksums/signatures, however Gradle Plugin Portal forbids publishing of PGP signatures.
So this issue is to enforce (or "strongly advice") plugin authors to publish PGP signatures along with regular plugin jars.
Current Behavior
Current plugins are published without clear signatures, so consumers cannot tell if the jar was produced by a trusted party or not.
Note: SHA signatures do not help with that.
In other words, every time a plugin updates, it would require consumers to lookup a new SHA and bake that in a build script.
If published plugins had signatures, then build script could reference "a set of trusted PGP keys", so it won't require to update the SHA sums on each version update.
Context
I'm trying to implement a reproducible and trusted build (e.g. for https://github.com/apache/jmeter ).
The sad thing is Plugin Portal does not require plugin authors to publish signatures, so it really hard to check if a specific plugin jar is trusted or not.
For instance: https://plugins.gradle.org/m2/org/gradle/kotlin/plugins/1.2.9/
Is there a way to verify if plugins-1.2.9.jar corresponds to plugins-1.2.9-sources.jar?
Who was the author of those artifacts?
The text was updated successfully, but these errors were encountered: