Re: [jruby-user] Re: Source Code Encryption
Tim Uckun <[email protected]> Tue, 12 May 2015 04:03:46 +1200
| Newsgroups | gmane.comp.lang.jruby.user |
|---|---|
| Message-ID | <CAGuHJrNjvGQZquLAoLwkHRBZ0=_jW5L_HQZyojSRR31M-t8odw@mail.gmail.com> |
--047d7b343c5cd88f8e0515d0857c Content-Type: text/plain; charset=UTF-8 Why don't you just put your settings in a .rb file? On Mon, May 11, 2015 at 10:36 PM, Christian MICHON < [email protected]> wrote: > No jrubyc will only compile ruby files, ie .rb files. > > If you wish to preserve the yaml content, I would suggest to simply > encrypt it with ruby-rc4 (why not?) and obfuscate the string used as key > through a dictionary. That would do. > > So in total: > - compile all rb files into class files using jrubyc > - encrypt yaml and xml with ruby-rc4, and obfuscate the key within a > dictionary. > > If you need more dedicated help, just point me to a git repository. ;-) > > > On Mon, May 11, 2015 at 7:58 AM, Kengsreng Tang <[email protected]> > wrote: > >> Hi Christian, >> >> Is Jrubyc can compile yaml file? >> >> -- >> Posted via http://www.ruby-forum.com/. >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> > > > -- > Christian > --047d7b343c5cd88f8e0515d0857c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Why don't you just put your settings in a .rb file?<br= ></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Mon, Ma= y 11, 2015 at 10:36 PM, Christian MICHON <span dir=3D"ltr"><<a href=3D"m= ailto:[email protected]" target=3D"_blank">christian.michon@gmail.= com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar= gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr= ">No jrubyc will only compile ruby files, ie .rb files.<div><br></div><div>= If you wish to preserve the yaml content, I would suggest to simply encrypt= it with ruby-rc4 (why not?) and obfuscate the string used as key through a= dictionary. That would do.</div><div><br></div><div>So in total:</div><div= >- compile all rb files into class files using jrubyc</div><div>- encrypt y= aml and xml with ruby-rc4, and obfuscate the key within a dictionary.</div>= <div><br></div><div>If you need more dedicated help, just point me to a git= repository. ;-)</div><div><br></div></div><div class=3D"gmail_extra"><div>= <div class=3D"h5"><br><div class=3D"gmail_quote">On Mon, May 11, 2015 at 7:= 58 AM, Kengsreng Tang <span dir=3D"ltr"><<a href=3D"mailto:lists@ruby-fo= rum.com" target=3D"_blank">[email protected]</a>></span> wrote:<br><b= lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px = #ccc solid;padding-left:1ex">Hi Christian,<br> <br> Is Jrubyc can compile yaml file?<br> <div><div><br> --<br> Posted via <a href=3D"http://www.ruby-forum.com/" target=3D"_blank">http://= www.ruby-forum.com/</a>.<br> <br> ---------------------------------------------------------------------<br> To unsubscribe from this list, please visit:<br> <br> =C2=A0 =C2=A0 <a href=3D"http://xircles.codehaus.org/manage_email" target= =3D"_blank">http://xircles.codehaus.org/manage_email</a><br> <br> <br> </div></div></blockquote></div><br><br clear=3D"all"><div><br></div></div><= /div><span class=3D"HOEnZb"><font color=3D"#888888">-- <br><div>Christian<b= r></div> </font></span></div> </blockquote></div><br></div> --047d7b343c5cd88f8e0515d0857c--