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

Glen Bojsza gbojsza at gmail.com
Sun May 5 02:07:34 EDT 2013


Have you tried...

put shell ("openssl rsa -in /path/mypemfile -pubout")

Glen



On Sat, May 4, 2013 at 6:46 PM, Dr. Hawkins <dochawk at gmail.com> wrote:

> 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")
> >
>
> 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list