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

Fix poms to contain versions #80

Merged
merged 6 commits into from
Apr 24, 2018
Merged

Conversation

j-baker
Copy link
Contributor

@j-baker j-baker commented Apr 24, 2018

Does a few things, because stuff kept breaking.

  1. Upgrade gradle.
  2. Upgrade nebula and other plugins.
  3. Upgrade publishing to use the same setup as http-remoting-api since I was having issues with gradle.
  4. Upgrade baseline
  5. Make compatible with new baseline

@j-baker
Copy link
Contributor Author

j-baker commented Apr 24, 2018

@uschi2000 do I need to do anything with bintray creds here? e.g. do I need different ones or will the current ones be good?

RSA("RSA", () -> RsaKeyPair.newKeyPair(), () -> RsaOaepEncrypter.INSTANCE);
AES("AES", AesGcmEncrypter.INSTANCE) {
@Override
public KeyPair newKeyPair() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok so we were being naughty with our enums before by having them take suppliers I guess

@@ -30,28 +29,35 @@
* algorithm with a supported key.
*/
public enum Algorithm {
AES("AES", () -> AesKeyPair.newKeyPair(), () -> AesGcmEncrypter.INSTANCE),
RSA("RSA", () -> RsaKeyPair.newKeyPair(), () -> RsaOaepEncrypter.INSTANCE);
AES("AES", AesGcmEncrypter.INSTANCE) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why these changes?


Algorithm(String name, Supplier<KeyPair> keyPairGenerator, Supplier<Encrypter> cipherGenerator) {
Algorithm(String name, Encrypter cipher) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see above - errorprone was demanding it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair enough

@j-baker j-baker changed the title Fix poms Fix poms to contain versions Apr 24, 2018
@uschi2000
Copy link

current creds should be good

@bavardage bavardage merged commit 315e9c6 into palantir:develop Apr 24, 2018
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

Successfully merging this pull request may close these issues.

3 participants