Project

General

Profile

Actions

Bug #24359

closed

Typo in rudder-sign openssl 3 signing regex

Added by Elaad FURREEDAN 9 months ago. Updated 8 months ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
I dislike using that feature
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Very Small
Priority:
155
Name check:
To do
Fix check:
To do
Regression:
No

Description

Missing .* at the beginning of the regex, it should be

`HASH_VALUE=`openssl "${HASH}" "${FILE}" | sed "s/.*(.*)= \\(.*\\)/\\1/"``
in /opt/rudder/bin/rudder-sign

It should resolve the problem of HTTP error on Debian 12 with method shared from node that have this error on agent report :

E| error         test_shared_file          Sharedfile to node        toto               Unable to contact HTTP server on https://server/rudder/relay-api/shared-files/9c9ea5fc-59e0-4859-8700-20735bcdc23a/c296c69e-0d48-49af-a646-fb3906c8afeb/toto from sharedfile_to_node could not be repaired

To validated that the fix is working :
  • verify that the bin /opt/rudder/bin/rudder-sign contains the change
  • apply the linked technique with
    • One node Debian12 -> it is the node from which you want to share to file, so have a test file and adapt the technique with his ID in method shared from node
    • Another node, on any OS (adapt the ID on the given technique)

Files

test_shared_file.yml (538 Bytes) test_shared_file.yml Elaad FURREEDAN, 2024-03-06 14:18

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #24320: rudder-sign fails on some machines with openssl 3ReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF