feeding a private rsa key through the shell to get the public

Dr. Hawkins dochawk at gmail.com
Sat May 4 18:10:22 EDT 2013

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.

Dr. Richard E. Hawkins, Esq.
(702) 508-8462

More information about the Use-livecode mailing list