• 15.0-RC4-openssl: dgst failures

    From np@dev@nicolas-provost.fr to muc.lists.freebsd.stable on Thu Nov 27 15:05:01 2025
    From Newsgroup: muc.lists.freebsd.stable

    ------CTA9TU8EVSHGG5Z9O8PVSCPO7GHCMF
    Content-Type: text/plain;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    Hi,
    I'm using RC3 (from iso) upgraded to RC4=2E When running:

    echo -n | openssl dgst -whirlpool

    I'm getting "initialization error", although whirlpool is in the list of s= upported algorithms=2E Same thing for shake128 and shake256, but without an=
    y message (exit status is 1)=2E Same errors for any other inputs=2E ------CTA9TU8EVSHGG5Z9O8PVSCPO7GHCMF
    Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    <!DOCTYPE html><html><body><div dir=3D"auto">Hi,<br>I'm using RC3 (from iso=
    ) upgraded to RC4=2E When running:<br><br>echo -n | openssl dgst -whirlpool= <br><br>I'm getting "initialization error", although whirlpool is in the li=
    st of supported algorithms=2E Same thing for shake128 and shake256, but wit= hout any message (exit status is 1)=2E Same errors for any other inputs=2E<= /div></body></html>
    ------CTA9TU8EVSHGG5Z9O8PVSCPO7GHCMF--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Herbert J. Skuhra@herbert@gojira.at to muc.lists.freebsd.stable on Thu Nov 27 16:08:26 2025
    From Newsgroup: muc.lists.freebsd.stable

    On Thu, 27 Nov 2025 15:05:01 +0100, np wrote:

    Hi,
    I'm using RC3 (from iso) upgraded to RC4. When running:

    echo -n | openssl dgst -whirlpool

    Here you need -provider legacy.

    I'm getting "initialization error", although whirlpool is in the
    list of supported algorithms. Same thing for shake128 and shake256,
    but without any message (exit status is 1). Same errors for any
    other inputs.

    Here you need '-xoflen length'. See openssl-dgst man page.


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=@des@FreeBSD.org to muc.lists.freebsd.stable on Thu Nov 27 19:22:31 2025
    From Newsgroup: muc.lists.freebsd.stable

    np <dev@nicolas-provost.fr> writes:
    I'm using RC3 (from iso) upgraded to RC4. When running:

    echo -n | openssl dgst -whirlpool
    I realize this is a tangent, but `echo -n` is unsafe. In this case,
    since you are not printing anything, you can simply use `true|`, `:|`,
    or `</dev/null` instead of `echo -n|`. In other cases, use printf(1).
    DES
    --
    Dag-Erling Sm|+rgrav - des@FreeBSD.org
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From np@dev@nicolas-provost.fr to muc.lists.freebsd.stable on Thu Nov 27 19:37:28 2025
    From Newsgroup: muc.lists.freebsd.stable

    ------R2LMKL8K8GKACLFO3RLNSA6L6G4AAY
    Content-Type: text/plain;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    Thank you=2E But I simply forgot we're now using openssl v3 and not v1 (jum= ping from FBSD 13 to 15)!

    Le 27 novembre 2025 19:22:31 GMT+01:00, "Dag-Erling Sm=C3=B8rgrav" <des@Fr= eeBSD=2Eorg> a =C3=A9crit=C2=A0:
    np <dev@nicolas-provost=2Efr> writes:
    I'm using RC3 (from iso) upgraded to RC4=2E When running:

    echo -n | openssl dgst -whirlpool

    I realize this is a tangent, but `echo -n` is unsafe=2E In this case,
    since you are not printing anything, you can simply use `true|`, `:|`,
    or `</dev/null` instead of `echo -n|`=2E In other cases, use printf(1)=
    =2E

    DES
    --=20
    Dag-Erling Sm=C3=B8rgrav - des@FreeBSD=2Eorg


    ------R2LMKL8K8GKACLFO3RLNSA6L6G4AAY
    Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    <html><head></head><body><div dir=3D"auto">Thank you=2E But I simply forgot=
    we're now using openssl v3 and not v1 (jumping from FBSD 13 to 15)!</div><= br><br><div class=3D"gmail_quote"><div dir=3D"auto">Le 27 novembre 2025 19:= 22:31 GMT+01:00, "Dag-Erling Sm=C3=B8rgrav" &lt;des@FreeBSD=2Eorg&gt; a =C3= =A9crit=C2=A0:</div><blockquote class=3D"gmail_quote" style=3D"margin: 0pt = 0pt 0pt 0=2E8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1= ex;">
    <pre class=3D"k9mail"><div dir=3D"auto">np &lt;dev@nicolas-provost=2Efr&gt=
    ; writes:<br></div><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0=
    pt 1ex 0=2E8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><div di= r=3D"auto"> I'm using RC3 (from iso) upgraded to RC4=2E When running:<br><b=
    echo -n | openssl dgst -whirlpool<br></div></blockquote><div dir=3D"auto=
    "><br>I realize this is a tangent, but `echo -n` is unsafe=2E In this case= ,<br>since you are not printing anything, you can simply use `true|`, `:|`,= <br>or `&lt;/dev/null` instead of `echo -n|`=2E In other cases, use printf= (1)=2E<br><br>DES<br></div></pre></blockquote></div></body></html> ------R2LMKL8K8GKACLFO3RLNSA6L6G4AAY--


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2