-
Notifications
You must be signed in to change notification settings - Fork 56
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
How to bootstrap and verify sbt plugins? #91
Comments
Good question. I think it may be (barely) possible for us to do that. We would actually need to include ourselves VERY EARLY in the sbt load process, and even then we wouldn't be guaranteed to catch everything.... Cc. @eed3si9n |
Imagine all the people living life in peace (using sbt-pgp as part of mothership instead of a plugin). |
I imagine this being a tar.gz that directly patches sbt or is integrated
|
What's sbt mothership?
|
It's a term I use sometimes to refer to sbt, as opposed to the plugins. |
The signature verification parts of sbt-pgp only make sense if they can
|
You could create a new addSbtPlugin function eg addSbtPlugin(plugin: That does the validation. But you would still need to patch sbt before the plugins.sbt loaded. Thomas Grainger On 12 May 2016 at 21:05, Thomas Grainger tagrain@gmail.com wrote:
|
I guess you could import sbt-pgp after manually adding it to your classpath. Thomas Grainger On 12 May 2016 at 22:08, Thomas Grainger tagrain@gmail.com wrote:
|
There should be a tutorial on how to download and verify sbt-pgp and another other build plugins before sbt runs (and a malicious plugin stops sbt-pgp from working)
The text was updated successfully, but these errors were encountered: