> On 21 Mar 2022, at 2:36 pm, buy <bu...@netcasters.com> wrote:
> 
> It works great.  Instead of using an actual signature.file, is there
> a way to tell openssl to use a string instead?

Use "bash" or a similar shell that supports <(cmd ...) pseudo-files.

For a printable string signature:

        -signature <(printf "%s" "$sig")

If the signature is binary data, perhaps:

        -signature <(echo $sig | openssl base64 -A -d)

or whatever it takes to produce the desired content.

-- 
        Viktor.

Reply via email to