Skip to content

Commit ce30ca5

Browse files
committed
fix
1 parent 6aa6998 commit ce30ca5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/nethsec/inventory/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ def info_default_ipv6(uci: EUci):
644644
def anonymize(value, uci: EUci):
645645
if fact_subscription_status(uci).get('status', 'no') != "no":
646646
return value
647-
h = hashlib.sha1(value.encode()).hexdigest()
647+
h = hashlib.sha256(value.encode()).hexdigest()
648648
return f"anon-{h[:16]}"
649649

650650
def info_package_updates_available(uci: EUci):

0 commit comments

Comments
 (0)