Remove openssl info from init/log and from Qt debug window #7605

pull jonasschnelli wants to merge 1 commits into bitcoin:master from jonasschnelli:2016/02/rm_openssl_log changing 3 files +35 −76
  1. jonasschnelli commented at 8:40 AM on February 26, 2016: contributor

    Alternative solution for #7586

    Removes openssl information log dump during startup as well as from the QT debug window. Openssl is no longer consensus critical, though, it still in use for random number generation, AES encryption and BIP70 (payment protocol, GUI only).

  2. Remove openssl info from init/log and from Qt debug window 5ecfa36fd0
  3. jonasschnelli added the label Refactoring on Feb 26, 2016
  4. paveljanik commented at 8:57 AM on February 26, 2016: contributor

    I think that logging SSL library used for generating random numbers is still worth it. We do not need it in the GUI though, I agree.

  5. MarcoFalke commented at 9:29 AM on February 26, 2016: member

    Great to see this removed from the GUI.

    utACK 5ecfa36. (building right now)

    Tested ACK 5ecfa36

    (I am ok to keep it in the debug.log, but I don't have a strong opinion here)

  6. AliceWonderMiscreations commented at 9:36 AM on February 27, 2016: contributor

    I also think it should be in the debug log but I do not think it serves a purpose in the Qt Information dialog.

    Way off topic but in my dialog, the Build date appears to be wrong, reporting 17 Feb which is before 0.12.0 was released. Wonder if that is a bug in my chroot build environment.

  7. MarcoFalke commented at 11:12 AM on February 27, 2016: member

    I also think it should be in the debug log

    Imo it's just not worth the effort to maintain. (We've had more than 3 pull request about "fixing" this in the last month). There are other trivial ways to determine the version of the library you are using

    Way off topic but in my dialog, the Build date appears to be wrong, reporting 17 Feb which is before 0.12.0 was released. Wonder if that is a bug in my chroot build environment.

    The build date for releases is the date when the last commit was commited:

    $ git log  --format=%cD 188ca9c305d3dd0fb462b9d6a44048b1d99a05f3 -1
    Wed, 17 Feb 2016 09:40:03 +0100
    
  8. paveljanik commented at 12:02 PM on February 27, 2016: contributor

    @MarcoFalke The sentence "There are other trivial ways to determine the version of the library you are using" unfortunately applies only to users with deep technical knowledge. Our users mix different versions of SSL libraries, at compile time and at runtime. The fixes applied to this part of our code only handle such strange instances. It is very useful to know what was used at runtime, really.

  9. AliceWonderMiscreations commented at 12:11 PM on February 27, 2016: contributor

    Thanks @MarcoFalke so it isn't really the "build" date as I think of "build" date (compile)

    sorry for OT

  10. laanwj commented at 8:38 AM on February 29, 2016: member

    I like this solution.

    The build date should probably go away as well, it's confusing at least for the executables built in gitian, as the date/time is overridden to create deterministic executables. I don't think it adds very much in any case.

    Imo it's just not worth the effort to maintain. (We've had more than 3 pull request about "fixing" this in the last month).

    Yes, that's kind of annoying, and usually means a deeper solution is desirable. OTOH we probably got it right now, finally. Removing it from just the GUI is fine with me too.

  11. laanwj added the label GUI on Feb 29, 2016
  12. jonasschnelli commented at 9:10 AM on February 29, 2016: contributor

    Agree with removing the build-date (in another PR), an alternative solution would be to only show the build date in non release builds (!CLIENT_VERSION_IS_RELEASE).

    I think we should merge this PR and remove openssl from the logs and the GUI. IMO there is not much value in logging the openssl version regarding to PRNG, and, eventually we'll end up with a custom PRNG implementation (https://github.com/bitcoin/bitcoin/pull/5885) anyways.

  13. luke-jr commented at 11:55 PM on February 29, 2016: member

    It may actually be useful to log the version/hash of every library being used, but probably no reason to single out OpenSSL.

  14. laanwj commented at 5:14 PM on March 1, 2016: member

    @luke-jr Well we log BerkeleyDB version as well. But at least there's a good reason for that, to troubleshoot wallet incompatibility.

  15. laanwj added the label Needs backport on Mar 3, 2016
  16. laanwj merged this on Mar 3, 2016
  17. laanwj closed this on Mar 3, 2016

  18. laanwj referenced this in commit 7f001bdf64 on Mar 3, 2016
  19. laanwj removed the label Needs backport on Mar 24, 2016
  20. laanwj referenced this in commit 597494f5a9 on Mar 24, 2016
  21. thokon00 referenced this in commit 76fb21e10c on Jun 28, 2016
  22. Warrows referenced this in commit 615280506a on Aug 28, 2019
  23. CaveSpectre11 referenced this in commit 352803b1ac on Dec 14, 2019
  24. Kokary referenced this in commit 294dab56e8 on May 26, 2020
  25. Kokary referenced this in commit 54afbd6fa0 on Nov 13, 2020
  26. Kokary referenced this in commit ecc27a1c86 on Nov 17, 2020
  27. Kokary referenced this in commit 848d5bebda on Nov 17, 2020
  28. KolbyML referenced this in commit 7fa7a46c58 on Nov 21, 2020
  29. Kokary referenced this in commit 1aafdf9f60 on Nov 24, 2020
  30. Cryptarchist referenced this in commit 51e0986426 on Nov 30, 2020
  31. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me