Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#3908 closed enhancement (invalid)

Tor should show its Git commit hash on startup

Reported by: rransom Owned by:
Priority: Medium Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords: easy tor-client
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Tor's Git commit hash is compiled into it, and is published in relay/bridge descriptors, but is not shown in the version-information log message on startup. It should be.

Child Tickets

Change History (6)

comment:1 Changed 6 years ago by arma

Really?

Here's the first line to stdout from my Tor client:

Sep 01 21:07:08.687 [notice] Tor v0.2.3.3-alpha (git-589ed3f771f1d77d). This is experimental software. Do not rely on it for strong anonymity. (Running on Linux x86_64)

The first line in a sample log file is

Sep 01 00:41:41.000 [notice] Tor 0.2.3.2-alpha-dev (git-df96aed14f67c9ff) opening new log file.

Do you see something different? On which Tor version?

comment:2 Changed 6 years ago by rransom

With nickm's special Tor bufferevents binary for Windows built on 2011-08-24:

C:\WORK\Tor\bin>tor --help
Aug 30 02:58:35.923 [notice] Tor v0.2.3.2-alpha-dev. This is experimental software. Do not rely on it for strong anonymity. (Running on Windows 7  [workstation])
Copyright (c) 2001-2004, Roger Dingledine
Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson
Copyright (c) 2007-2011, The Tor Project, Inc.

tor -f <torrc> [args]
See man page for options, or https://www.torproject.org/ for documentation.

C:\WORK\Tor\bin>tor --version
Aug 30 02:58:43.315 [notice] Tor v0.2.3.2-alpha-dev. This is experimental software. Do not rely on it for strong anonymity. (Running on Windows 7  [workstation])
Tor version 0.2.3.2-alpha-dev.

C:\WORK\Tor\bin>tor --digests
Aug 30 03:01:06.169 [notice] Tor v0.2.3.2-alpha-dev. This is experimental software. Do not rely on it for strong anonymity. (Running on Windows 7  [workstation])
Tor version 0.2.3.2-alpha-dev.
8d94500d28585d8486cfda42959cdc6b8fa1ac98 *aes.c
b607b5f96e63e7443313fd8e953f4e9482ce0b6d *crypto.c
62a8186f7f2faf2f7cac02b6b1c8c67524fb61a2 *torgzip.c
ee5dc6ce12d564383e592acc2c3c9a4dc7eaf7ac *tortls.c
92b450cbf5b1ca8737033fde6c271cdaed8c7dc4 *address.h
d7d66396e0708b19a82371ec4bef7d73f06e6c8e *aes.h
...

comment:3 Changed 6 years ago by nickm

That's an artifact of my checking out the code from a git shell, then building with another shell that isn't set up to have git in its path. Call this a "nick's xp vm build environment" issue.

comment:4 in reply to:  3 Changed 6 years ago by rransom

Resolution: invalid
Status: newclosed

Replying to nickm:

That's an artifact of my checking out the code from a git shell, then building with another shell that isn't set up to have git in its path. Call this a "nick's xp vm build environment" issue.

Indeed it is. (--help, --version, and --digests all show the commit hash for the Tor binary packaged for Debian.)

comment:5 Changed 5 years ago by nickm

Keywords: tor-client added

comment:6 Changed 5 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.