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

distribution packages should be GPG signed #188

Open
SethTisue opened this issue May 8, 2018 · 4 comments
Open

distribution packages should be GPG signed #188

SethTisue opened this issue May 8, 2018 · 4 comments

Comments

@SethTisue
Copy link
Member

SethTisue commented May 8, 2018

as suggested by @jarrodu at scala/scala-lang#463

@evancox10
Copy link

Good timing, I would really like to see this.

FYI, even though you decided "not to do checksums" and just do gpg, the way the process usually works is that the checksum is stored in a file, and then a signature is provided for that file. See the Ubuntu releases for an example. (Don't copy their lack of https, however :)

Generating the checksums is easy (sha256sum *.deb > checksums.txt), the hard part will be determining the security practices for the signing key. You might look into a HW solution like Yubikey. I have not used this for code signing but I think it would work well. There are numerous guides, here's a simple and straight-forward one: https://eclipsesource.com/blogs/2016/11/25/yubikey-code-signing-with-a-smart-card/

Thanks,
Evan

@NthPortal
Copy link

NthPortal commented May 13, 2018

@evancox10 The jars are already signed when they're published to Maven Central (see 2.12.6 for example), so I assume there's already a key that can easily be used for this

@SethTisue
Copy link
Member Author

@hamzaremmal since you're looking at related work for Scala 3, just FYI that this ticket exists and never attracted much attention 🤷

@SethTisue
Copy link
Member Author

note that https://scala-lang.org/security/ exists now (since scala/scala-lang#1661), so we now have a central place where we can put information about this sort of thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants