Menu

#229 Blake2 in place of MD4 with updated prerequisite on librsync

2.9.0
open
None
Implemented
7
2026-04-10
2026-02-15
No

check if possible to replace MD4 by BLAKE2 in librsync (generic_rsync.cpp line 92)

Discussion

  • Denis Corbin

    Denis Corbin - 2026-02-15

    consider next archive format to add two parameters in archive header, one for signature hash algo and another form rolling checksum algo. And default to the MD4 for older format.
    See rs_sig_magic() doc and https://librsync.github.io/librsync_8h.html#ab6abafd1db0a3947bb3c076507f4f7c2

     
  • Denis Corbin

    Denis Corbin - 2026-04-10

    implemented, see as overloaded method of of archive_option_{create|isolate|merge}::set_delta_signature() with the new rsync_sig_magic enum. At CLI level the "--delta sig:...." receives an additional argument to define either blake2 or rk-blake2 (the now default) hash algorithm to build delta signatures.

    The archive listing has been enhanced to display the hash algorithm used for the signature where [D] stands for md4 (backward compatible with the older versions, [B] for blake2 and [R] for rk-blake2.

     
  • Denis Corbin

    Denis Corbin - 2026-04-10
    • Progression: requested --> Implemented
     
  • Denis Corbin

    Denis Corbin - 2026-04-10
    • km stone :): none --> 2.9.0
     

Log in to post a comment.

MongoDB Logo MongoDB