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

feat(stats): Adds salt to application ID hash #662

Merged
merged 1 commit into from
Sep 25, 2019
Merged

Conversation

ttomsu
Copy link
Member

@ttomsu ttomsu commented Sep 25, 2019

This adds the application ID (which is an autogenerated-but-editable-by-the-user ULID) as a salt for application IDs.

The original design doc called for using the application creation time, but was pointed out that not all operations have this value, and that it doesn't really contain all that many bits of entropy. Using the instance ULID should solve both issues. Because the instance ID was actually being sent over the wire during an event, I changed to hash it as well.

Fixes spinnaker/spinnaker#4863

@ttomsu ttomsu merged commit b15d07f into spinnaker:master Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use application creation time as salt to application hashing function
5 participants