feeding a private rsa key through the shell to get the public
alex at tweedly.net
Sat May 4 18:24:46 EDT 2013
put the shell of ("echo " & fld privateKey & " | openssl rsa -pubout")
On 04/05/2013 23:10, Dr. Hawkins wrote:
> I'm successfully generating an rsa key and putting it where I needed it (a
> I'm not having any luck extracting it from a shell command.
> I want to do something like
> put the shell of "echo " & fld privateKey & " | openssl rsa -pubout"
> but this yields a blank line and the private key.
> (on the command line,
> cat testkey.pem | openssl rsa -pubout
> produces the public key)
> I'm trying to avoid writing a diskfile or making any assumptions about the
> file system.
More information about the use-livecode