Skip to content

Commit f0c0af7

Browse files
authored
Merge pull request #144 from jonathanoliver2021/master
**4.12.0**
2 parents 96536e3 + e78bbe2 commit f0c0af7

File tree

4 files changed

+26
-25
lines changed

4 files changed

+26
-25
lines changed

‎CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ cmake_minimum_required(VERSION 2.6)
5656
project(TLSH)
5757

5858
set(VERSION_MAJOR 4)
59-
set(VERSION_MINOR 11)
60-
set(VERSION_PATCH 2)
59+
set(VERSION_MINOR 12)
60+
set(VERSION_PATCH 0)
6161

6262
# TLSH uses only half the counting buckets.
6363
# It can use all the buckets now.

‎Change_History.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,3 +731,11 @@ TIME ms= 21.00 per million iterations
731731
resolve issue #116
732732
Library will not compile on CENTOS 7 (use of threads)
733733
</PRE>
734+
735+
**4.12.0**
736+
<PRE>
737+
16/09/2024
738+
document what has changed since **4.11.2** on 23/10/2021
739+
Merge pull request #137 - this fixed a memory leak in py-tlsh
740+
Merge pull request #134 - this improved the ifdef WINDOWS to be more portable
741+
</PRE>

‎README.md

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,23 @@ the detection of similar objects by comparing their hash values. Note that
1010
the byte stream should have a sufficient amount of complexity. For example,
1111
a byte stream of identical bytes will not generate a hash value.
1212

13-
## What's New in TLSH 4.10.x
14-
22/09/2021
15-
16-
Release version 4.8.x - merged in pull requests for more stable installation.
17-
18-
Release version 4.9.x - added -thread and -private options.
19-
- Both versions are faster than previous versions, but they set the checksum to 00.
20-
- This loses a very small part of the functionality.
21-
- See 4.9.3 in the Change_History to see timing comparisons.
13+
## What's (relatively) New in TLSH 4.12.0
14+
16/09/2024
2215

2316
Release version 4.10.x - a Python clustering tool.
2417
- See the directory tlshCluster.
2518

19+
I am going to try to make 4.12.0 a release version and build a py-tlsh Python library from 4.12.0
20+
4.12.0 includes:
21+
Merge pull request #137 - this fixed a memory leak in py-tlsh
22+
Merge pull request #134 - this improved the ifdef WINDOWS to be more portable
23+
2624
2020
2725
- adopted by [Virus Total](https://developers.virustotal.com/v3.0/reference#files-tlsh)
2826
- adopted by [Malware Bazaar](https://bazaar.abuse.ch/api/#tlsh)
2927

30-
TLSH has gained some traction. It has been included in STIX 2.1 and been ported to a number of langauges.
31-
32-
We have added a version identifier ("T1") to the start of the digest so that we can
33-
cleary distinguish between different variants of the digest (such as non-standard choices of 3 byte checksum).
34-
This means that we do not rely on the length of the hex string to determine if a hex string is a TLSH digest
35-
(this is a brittle method for identifying TLSH digests).
36-
We are doing this to enable compatibility, especially backwards compatibility of the TLSH approach.
37-
28+
We have added a version identifier ("T1") to the start of the digest.
29+
Please use versions of TLSH that have the T1 header
3830
The code is backwards compatible, it can still read and interpret 70 hex character strings as TLSH digests.
3931
And data sets can include mixes of the old and new digests.
4032
If you need old style TLSH digests to be outputted, then use the command line option '-old'
@@ -299,11 +291,12 @@ TLSH similarity is expressed as a difference score:
299291

300292
# Current Version
301293

302-
**4.11.2**
294+
**4.12.0**
303295
<PRE>
304-
23/10/2021
305-
resolve issue #116
306-
Library will not compile on CENTOS 7 (use of threads)
296+
16/09/2024
297+
document what has changed since **4.11.2** on 23/10/2021
298+
Merge pull request #137 - this fixed a memory leak in py-tlsh
299+
Merge pull request #134 - this improved the ifdef WINDOWS to be more portable
307300
</PRE>
308301

309302
# Change History

‎include/tlsh_win_version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
****************************************************/
77

88
#define VERSION_MAJOR 4
9-
#define VERSION_MINOR 11
10-
#define VERSION_PATCH 2
9+
#define VERSION_MINOR 12
10+
#define VERSION_PATCH 0
1111
#define TLSH_HASH "compact hash"
1212
#define TLSH_CHECKSUM "1 byte checksum"
1313

0 commit comments

Comments
 (0)