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

cmd: Simplify "fscrypt --version" output #207

Merged
merged 1 commit into from
Mar 23, 2020
Merged

cmd: Simplify "fscrypt --version" output #207

merged 1 commit into from
Mar 23, 2020

Conversation

josephlr
Copy link
Member

There's no need to include the build time, author, and copyright info
in the output of "fscrypt --version". This information is:

  • Overly complex (the current string is hard to parse)
  • Inaccurate (there are other authors than just me)
  • Unnecessary (the Apache 2 license is for Source Code)
  • Makes reproducible builds impossible (fixes Build isn't reproducible #206)

The default version string is just fine.

Signed-off-by: Joe Richey joerichey@google.com

@josephlr
Copy link
Member Author

josephlr commented Mar 23, 2020

I don't know if this makes the build of fscrypt now 100% reproducible. I ran two runs of make at different times on the same computer and got the same sha256sums. But on different computers (both Arch Linux, go-pie 1.14.1) I still got different sha256sums.

Makefile Outdated Show resolved Hide resolved
There's no need to include the build time, author, and copyright info
in the output of "fscrypt --version". This information is:

  - Overly complex (the current string is hard to parse)
  - Inaccurate (there are other authors than just me)
  - Unnecessary (the Apache 2 license is for Source Code)
  - Makes reproducible builds impossible

The default version string is just fine.

Signed-off-by: Joe Richey <joerichey@google.com>
@josephlr josephlr merged commit f10aadb into google:master Mar 23, 2020
@josephlr josephlr deleted the version branch March 23, 2020 21:24
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.

Build isn't reproducible
2 participants