Re: Verify signature usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 21 Mar 2022, at 2:36 pm, buy <buy22@xxxxxxxxxxxxxx> 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.




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux