Maybe

put the shell of ("echo " & fld privateKey & " | openssl rsa -pubout")

-- Alex.

On 04/05/2013 23:10, Dr. Hawkins wrote:
I'm successfully generating an rsa key and putting it where I needed it (a
field).

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.



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to