Sorry, I just realized you are avoiding using a file ... jumped the gun. On Sun, May 5, 2013 at 2:07 AM, Glen Bojsza <gboj...@gmail.com> wrote:
> Have you tried... > > put shell ("openssl rsa -in /path/mypemfile -pubout") > > Glen > > > > On Sat, May 4, 2013 at 6:46 PM, Dr. Hawkins <doch...@gmail.com> wrote: > >> On Sat, May 4, 2013 at 3:24 PM, Alex Tweedly <a...@tweedly.net> wrote: >> >> > put the shell of ("echo " & fld privateKey & " | openssl rsa -pubout") >> > >> >> that produces, >> >> -----BEGIN RSA PRIVATE KEY----- >> /bin/sh: line 2: >> MIIJKQIBAAKCAgEAqtf05M03fM9BaOhdaY1C+dfp6D1dHDa9pJ7RBgcYd57n3AiY: command >> not found >> /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. >> (702) 508-8462 >> _______________________________________________ >> 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 >> > > _______________________________________________ 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