Re: Removing difference between CLI and FFI use for computing a message digest

2020-09-15 Thread Sage Gerard
Thank you. I resolved the issue. The root cause was an incorrect cast on the type when crossing the FFI's boundary. ~slg ‐‐‐ Original Message ‐‐‐ On Tuesday, September 15, 2020 6:06 PM, Matt Caswell wrote: > > > On 15/09/2020 22:48, Sage Gerard wrote: > > > I have a Racket program tha

Re: Removing difference between CLI and FFI use for computing a message digest

2020-09-15 Thread Matt Caswell
On 15/09/2020 22:48, Sage Gerard wrote: > I have a Racket program that uses libcrypto through FFI bindings to > compute digests. It's wrong because it returns different answers than > `openssl dgst`,regardless of hash algorithm. > > The code is here: > https://github.com/zyrolasting/xiden/blob/

Forthcoming OpenSSL Release

2020-09-15 Thread Matt Caswell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 The OpenSSL project team would like to announce the forthcoming release of OpenSSL version 1.1.1h. This release will be made available on Tuesday 22nd September 2020 between 1300-1700 UTC. OpenSSL 1.1.h is a bug-fix release. There are no CVEs addr

Removing difference between CLI and FFI use for computing a message digest

2020-09-15 Thread Sage Gerard
I have a Racket program that uses libcrypto through FFI bindings to compute digests. It's wrong because it returns different answers than `openssl dgst`, regardless of hash algorithm. The code is here: https://github.com/zyrolasting/xiden/blob/libcrypto/openssl.rkt#L76 It is based on the exampl