Skip to content
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

Provide a solution for not having to store cleartext passwords #4913

Open
mdedetrich opened this issue May 24, 2016 · 1 comment
Open

Provide a solution for not having to store cleartext passwords #4913

mdedetrich opened this issue May 24, 2016 · 1 comment

Comments

@mdedetrich
Copy link
Contributor

Currently when you use credentials/repos with SBT, you have to store your password as clear text. SBT should provide a mechanism so that its possible to sign passwords in some fashion so you don't have to store them in clear text.

Relevant code is here https://github.com/sbt/launcher/blob/67fda77ef33572864980a0c4f66555d5f3ba66e5/launcher-implementation/src/main/scala/xsbt/boot/Update.scala#L55-L65

@mdedetrich
Copy link
Contributor Author

Okay, so after some research maven appears to use this https://github.com/sonatype/plexus-cipher.

@jsuereth Would it be fine to create a scala library which has a pure minimal implementation of the plexus-cipher (no dependencies) or would it need to be a strict requirement for the class to be inlined?
Already answered on gitter

You could, but we probably won't depend on it, you'd want to copy-paste it into the launcher package. THe launcher package uses prograurd to minify everything, so it has zero deps. It literally removes the scala dep when it's done

I am thinking of reusing maven algorithm because at least that way its familiar.

@eed3si9n eed3si9n transferred this issue from sbt/launcher Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant