Closed sdondley closed 2 years ago
I can't reproduce this on my system. Please check your openssl version.
$ openssl version
OpenSSL 3.0.3 3 May 2022 (Library: OpenSSL 3.0.3 3 May 2022)
Most notably, check that the dgst
openssl sub-command accepts a -mac ALG
option.
$ openssl dgst --help
[...]
Signing options:
-sign val Sign digest using private key
-verify val Verify a signature using public key
-prverify val Verify a signature using private key
-sigopt val Signature parameter in n:v form
-signature infile File with signature to verify
-hmac val Create hashed MAC with key
-mac val Create MAC (not necessarily HMAC)
-macopt val MAC algorithm parameters in n:v form or key
-* Any supported digest
-fips-fingerprint Compute HMAC with the key used in OpenSSL-FIPS fingerprint
[...]
That being said, I notice now that the doc recommends to use openssl-mac
instead. I guess I should do that.
Maybe commit https://github.com/grondilu/libdigest-raku/commit/fbc469a4447ba762ebc91a7bc84498de6d593467
solves this?
OK, will give it a shot. Thanks.
Heads up, P6C modules seem to be having problems getting updated with zef. See https://github.com/Raku/ecosystem/issues/606#issuecomment-1171507573
Yes, that worked. Thanks!