Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ambex: Remove usage of md5 #5794

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 18, 2024

  1. ambex: Remove usage of md5

    When trying to run emissary in crypto-restricted environments (e.g.
    FIPS), usage of md5 can be problematic:
    
    ```
    time="2024-10-17 19:20:29.7063" level=error msg="shut down with error error: PANIC: openssl: MD5 failed" func=github.com/emissary-ingress/emissary/v3/pkg/busy.Main file="github.com/emissary-ingress/emissary/v3/pkg/busy/busy.go:87" CMD=entrypoint PID=1
    ```
    
    This replaces the usage with xxhash, which should avoid usage of
    unsupport crypto libraries, but keep the deterministic behavior.
    
    Signed-off-by: Billy Lynch <[email protected]>
    wlynch committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    f1b539c View commit details
    Browse the repository at this point in the history