Re: [PATCH v2 0/3] fsverity-utils: introduce libfsverity

Eric Biggers
2020-05-26T22:43:21Z

On Tue, May 26, 2020 at 06:25:22PM -0400, Jes Sorensen wrote:
>
> One feature I would like to have, and this is what I confused in my
> previous comments. In addition to a get_digset_size() function, it would
> be really useful to also have a get_signature_size() function. This
> would be really useful when trying to pre-allocate space for an array of
> signatures, or is there no way to get that info from openssl without
> creating an actual signature?
>

I don't think that's possible.

It's also not fixed for each hash algorithm, but rather it depends on the key
and certificate used.

- Eric