feeding a private rsa key through the shell to get the public
dochawk at gmail.com
Sat May 4 18:46:24 EDT 2013
On Sat, May 4, 2013 at 3:24 PM, Alex Tweedly <alex at tweedly.net> wrote:
> put the shell of ("echo " & fld privateKey & " | openssl rsa -pubout")
-----BEGIN RSA PRIVATE KEY-----
/bin/sh: line 2:
/bin/sh: line 3:
MF/yA1y8l4+OCJG8tBmgeRJweNqqUrMOh33HDkY52088vVLJLmExHv56hTqNblFw: No such
file or directory
The multi-line key isn't getting quoted to echo, and I've tried both single
and double quotes on this.
I note that the file when I dump the key field uses ^M rather than ^J.
Dr. Richard E. Hawkins, Esq.
More information about the Use-livecode