Hi,
I have a tcl script that I need to ship to my customer encrypted as
it's some propitiatory contents that I don't need him to see.
What are the best practice in encrypting Tcl script?
Thanks,
Ahmad
|
|
0
|
|
|
|
Reply
|
Ahmad
|
7/27/2010 7:37:07 PM |
|
Στις 27/7/2010 22:37, ο/η Ahmad έγραψε:
> Hi,
>
> I have a tcl script that I need to ship to my customer encrypted as
> it's some propitiatory contents that I don't need him to see.
>
> What are the best practice in encrypting Tcl script?
>
> Thanks,
> Ahmad
ActiveState's Tcl Development Kit (TDK)?
George
|
|
0
|
|
|
|
Reply
|
Georgios
|
7/27/2010 7:44:41 PM
|
|
Ahmad wrote:
> Hi,
>
> I have a tcl script that I need to ship to my customer encrypted as
> it's some propitiatory contents that I don't need him to see.
>
> What are the best practice in encrypting Tcl script?
TclApp which is in ActiveState's TDK.
--
+------------------------------------------------------------------------+
| Gerald W. Lester, President, KNG Consulting LLC |
| Email: Gerald.Lester@kng-consulting.net |
+------------------------------------------------------------------------+
|
|
0
|
|
|
|
Reply
|
Gerald
|
7/27/2010 9:01:51 PM
|
|
On Jul 27, 2:01=A0pm, "Gerald W. Lester" <Gerald.Les...@KnG-
Consulting.net> wrote:
> Ahmad wrote:
> > Hi,
>
> > I have a tcl script that I need to ship to my customer encrypted as
> > it's some propitiatory contents that I don't need him to see.
>
> > What are the best practice in encrypting Tcl script?
>
> TclApp which is in ActiveState's TDK.
You can encrypt object code? Didn't know that.
|
|
0
|
|
|
|
Reply
|
tom
|
7/27/2010 9:14:43 PM
|
|
tom.rmadilo wrote:
> On Jul 27, 2:01 pm, "Gerald W. Lester" <Gerald.Les...@KnG-
> Consulting.net> wrote:
>> Ahmad wrote:
>>> Hi,
>>> I have a tcl script that I need to ship to my customer encrypted as
>>> it's some propitiatory contents that I don't need him to see.
>>> What are the best practice in encrypting Tcl script?
>> TclApp which is in ActiveState's TDK.
>
> You can encrypt object code? Didn't know that.
Sorry should have said TclCompiler -- by encrypt I assume he meant compile
it so it can't be seen.
Of course, he might also like to deliver it as a single executable -- which
would be TclApp (it can compile as during the wrap).
--
+------------------------------------------------------------------------+
| Gerald W. Lester, President, KNG Consulting LLC |
| Email: Gerald.Lester@kng-consulting.net |
+------------------------------------------------------------------------+
|
|
0
|
|
|
|
Reply
|
Gerald
|
7/27/2010 10:59:47 PM
|
|
On 27 July, 22:14, "tom.rmadilo" <tom.rmad...@gmail.com> wrote:
> Gerald W. Lester wrote:
> > Ahmad wrote:
> > > What are the best practice in encrypting Tcl script?
> > TclApp which is in ActiveState's TDK.
> You can encrypt object code? Didn't know that.
=93Encrypt=94 is probably too strong. =93Obfuscate=94 is more accurate, sin=
ce
the code has to become machine-executable at some point. The
obfuscator is not invincible, not by a long stretch, but combine it
with suitable packaging and users won't realize what they've got or
pick it apart. For most users, a standard starpack is just as
effectively protected because they don't see the source when they
double-click on it. The extra complexity that the tclcompiler adds is
definitely enough to keep out all but the ultra-determined, and that's
Good Enough.
Donal.
|
|
0
|
|
|
|
Reply
|
Donal
|
7/27/2010 11:07:13 PM
|
|
On Jul 27, 4:07=A0pm, "Donal K. Fellows"
<donal.k.fell...@manchester.ac.uk> wrote:
> On 27 July, 22:14, "tom.rmadilo" <tom.rmad...@gmail.com> wrote:
>
> > Gerald W. Lester wrote:
> > > Ahmad wrote:
> > > > What are the best practice in encrypting Tcl script?
> > > TclApp which is in ActiveState's TDK.
> > You can encrypt object code? Didn't know that.
>
> =93Encrypt=94 is probably too strong. =93Obfuscate=94 is more accurate, s=
ince
> the code has to become machine-executable at some point. The
> obfuscator is not invincible, not by a long stretch, but combine it
> with suitable packaging and users won't realize what they've got or
> pick it apart. For most users, a standard starpack is just as
> effectively protected because they don't see the source when they
> double-click on it. The extra complexity that the tclcompiler adds is
> definitely enough to keep out all but the ultra-determined, and that's
> Good Enough.
>
> Donal.
Thanks all,
Actually, what I meant is to keep the end-user unable to see the
contents of my tcl files.
I don't know if using a tool that convert tcl code into a binary
executable (compiling it) can allow me to include it in other files as
used to deal with normal tcl files.
Thanks,
Ahmad
|
|
0
|
|
|
|
Reply
|
Ahmad
|
7/28/2010 12:23:51 AM
|
|
> Actually, what I meant is to keep the end-user unable to see the
> contents of my tcl files.
David Zolli has presented LRIOBFC on EuroTCL conference which should
do what you want:
http://www.lr-i.com/LRIOBF.html
Regards,
Harald
|
|
0
|
|
|
|
Reply
|
Harald
|
7/28/2010 7:59:36 AM
|
|
Ahmad wrote:
> On Jul 27, 4:07 pm, "Donal K. Fellows"
> <donal.k.fell...@manchester.ac.uk> wrote:
>> On 27 July, 22:14, "tom.rmadilo" <tom.rmad...@gmail.com> wrote:
>>
>>> Gerald W. Lester wrote:
>>>> Ahmad wrote:
>>>>> What are the best practice in encrypting Tcl script?
>>>> TclApp which is in ActiveState's TDK.
>>> You can encrypt object code? Didn't know that.
>> =93Encrypt=94 is probably too strong. =93Obfuscate=94 is more accurate=
, since
>> the code has to become machine-executable at some point. The
>> obfuscator is not invincible, not by a long stretch, but combine it
>> with suitable packaging and users won't realize what they've got or
>> pick it apart. For most users, a standard starpack is just as
>> effectively protected because they don't see the source when they
>> double-click on it. The extra complexity that the tclcompiler adds is
>> definitely enough to keep out all but the ultra-determined, and that's=
>> Good Enough.
>>
>> Donal.
>=20
> Thanks all,
>=20
> Actually, what I meant is to keep the end-user unable to see the
> contents of my tcl files.
>=20
> I don't know if using a tool that convert tcl code into a binary
> executable (compiling it) can allow me to include it in other files as
> used to deal with normal tcl files.
The short answer is yes if you use the TclCompiler -- from ActiveState.
Have you looked at the TDK web pages?
Have you downloaded the free trial copy and tried it?
--=20
+------------------------------------------------------------------------=
+
| Gerald W. Lester, President, KNG Consulting LLC =
|
| Email: Gerald.Lester@kng-consulting.net =
|
+------------------------------------------------------------------------=
+
|
|
0
|
|
|
|
Reply
|
Gerald
|
7/28/2010 1:50:02 PM
|
|
On Jul 27, 3:37=A0pm, Ahmad <ahmad.abdulgh...@gmail.com> wrote:
> Hi,
>
> I have a tcl script that I need to ship to my customer encrypted as
> it's some propitiatory contents that I don't need him to see.
>
> What are the best practice in encrypting Tcl script?
>
> Thanks,
> Ahmad
I believe that the freeWrap application can do what you want. FreeWrap
can turn your TCL script into an executable binary with your source
code encrypted.
See the freeWrap home page at: http://freewrap.sourceforge.net/
Dennis
|
|
0
|
|
|
|
Reply
|
DTM
|
7/29/2010 12:12:12 AM
|
|
I tried freeWrap, and it seems to be excellent and easy to use.
One problem I have is that I'm not using normal TCL (tclsh), I'm using
CAD tool specifc tclsh having some built in custom API's for this
tool.
Hence, I need to make this script executable with something like: #!/
path/to/the/tool/bin/tool_tclsh
It seems that freeWrap converts the script blindly to be executable by
normal tclsh (available in $path).
Can I get around this somehow?
Thanks,
Ahmad
On Jul 28, 5:12=A0pm, DTM <gone2cani...@gmail.com> wrote:
> On Jul 27, 3:37=A0pm, Ahmad <ahmad.abdulgh...@gmail.com> wrote:
>
> > Hi,
>
> > I have a tcl script that I need to ship to my customer encrypted as
> > it's some propitiatory contents that I don't need him to see.
>
> > What are the best practice in encrypting Tcl script?
>
> > Thanks,
> > Ahmad
>
> I believe that the freeWrap application can do what you want. FreeWrap
> can turn your TCL script into an executable binary with your source
> code encrypted.
>
> See the freeWrap home page at: =A0http://freewrap.sourceforge.net/
>
> Dennis
|
|
0
|
|
|
|
Reply
|
Ahmad
|
7/29/2010 2:00:10 PM
|
|
I tried freeWrap, and it seems to be excellent and easy to use.
One problem I have is that I'm not using normal TCL (tclsh), I'm using
CAD tool specifc tclsh having some built in custom API's for this
tool.
Hence, I need to make this script executable with something like: #!/
path/to/the/tool/bin/tool_tclsh
It seems that freeWrap converts the script blindly to be executable by
normal tclsh (available in $path).
Can I get around this somehow?
Thanks,
Ahmad
On Jul 28, 5:12=A0pm, DTM <gone2cani...@gmail.com> wrote:
> On Jul 27, 3:37=A0pm, Ahmad <ahmad.abdulgh...@gmail.com> wrote:
>
> > Hi,
>
> > I have a tcl script that I need to ship to my customer encrypted as
> > it's some propitiatory contents that I don't need him to see.
>
> > What are the best practice in encrypting Tcl script?
>
> > Thanks,
> > Ahmad
>
> I believe that the freeWrap application can do what you want. FreeWrap
> can turn your TCL script into an executable binary with your source
> code encrypted.
>
> See the freeWrap home page at: =A0http://freewrap.sourceforge.net/
>
> Dennis
|
|
0
|
|
|
|
Reply
|
Ahmad
|
7/29/2010 2:00:21 PM
|
|
Dnia 28.07.2010 Ahmad <ahmad.abdulghany@gmail.com> napisa�/a:
> Actually, what I meant is to keep the end-user unable to see the
> contents of my tcl files.
There is an obfuscator called Frink: http://catless.ncl.ac.uk/Programs/Frink/
But it seems to be abandoned, as it works only up to TCL 8.4.x
--
Zbigniew
|
|
0
|
|
|
|
Reply
|
ZB
|
8/1/2010 10:48:05 AM
|
|
|
12 Replies
410 Views
(page loaded in 0.275 seconds)
Similiar Articles: Tcl code encryption best practice -- Please help - comp.lang.tcl ...Hi, I have a tcl script that I need to ship to my customer encrypted as it's some propitiatory contents that I don't need him to see. What are the best practice in ... Combine Values Vertically - Please Help - comp.soft-sys.sas ...Tcl code encryption best practice -- Please help - comp.lang.tcl ..... is not invincible, not by a long stretch, but combine it ... LRM, but that is the accepted ... Matshita DVD-RAM UJ-850 - comp.sys.laptops.thinkpadTcl code encryption best practice -- Please help - comp.lang.tcl ... Matshita DVD-RAM UJ-850 - comp.sys.laptops.thinkpad... of regions." Can you enlighten me, please? ... Expect and control characters - comp.lang.tclTcl code encryption best practice -- Please help - comp.lang.tcl ... Expect and control characters - comp.lang.tcl Tcl code encryption best practice -- Please help - comp ... How to read an Excel file using TCL Scripts - comp.lang.tcl ...Please give suggestions or links where this code is given. Thanks in ... using tcltest - comp.lang.tcl Re: How to open excel file in Sas using ... comp.lang.java.help ... 8.5.9 binaries on ActiveState - comp.lang.tclTcl code encryption best practice -- Please help - comp.lang.tcl ... >> TclApp which is in ActiveState's TDK. > > You can encrypt ... know if using a tool that convert tcl ... Simple code encryption (xor) problem - comp.lang.asm.x86 ...... and I wanted to write simple code encryption ... want to tamper with existing code. Please ... and I wanted to write simple code encryption. ... Multi-core obviously won't help ... Encapsulation in VPN - comp.dcom.sys.ciscoTcl code encryption best practice -- Please help - comp.lang.tcl ... Encapsulation in VPN - comp.dcom.sys.cisco Tcl code encryption best practice -- Please help - comp ... Looking for updated info on tclsoap and in particular SOAP::WSDL ...Tcl code encryption best practice -- Please help - comp.lang.tcl ... Looking for updated info on tclsoap and in particular SOAP::WSDL ... The best Tcl client is WS ... RESIGNATION OF STEVE JOBS!! - comp.sys.mac.systemPlease, make Steve Jobs understand that just because a ... In fact, it's in the best shape it's been in for a decade. ... Intel are joint-working on DRM and others means to help ... Does PAUSE have any Side Effect ?? - comp.lang.fortran... no optional arguments in the abbreviated sample code. Please ... and the program runs with subscript checking the best ... soft-sys ... not all variables bound - comp.lang.tcl ... USB as standard debug interface - comp.arch.embeddedMethods of debugging are ICE (best ... it's possible in theory, but in practice, I have never seen a bug like that in my code. ... some GPIB-tcl questions - comp.lang.tcl ... Examples of C++ in Safety Critical Systems - comp.lang.c++ ...Please see this: http://icalepcs2005.web.cern.ch ... as well for some non-real-time activities, Tcl is ... My job was to write code and help others with C++ and also ... How to remove all subdirectory/file under current directory ...This can usually be accessed with a '-h' or '--help ... so up-to-speed on shell arg-processing, could you please ... Have I sufficiently indicated that these are "best ... [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4 - comp.publish ...Archive-name: cdrom/cd-recordable/part1 Posting-Frequency: monthly Last-modified: 2008/10/09 Version: 2.71 Send corrections and updates to And... Tcl code encryption best practice -- Please help - comp.lang.tcl ...Hi, I have a tcl script that I need to ship to my customer encrypted as it's some propitiatory contents that I don't need him to see. What are the best practice in ... Expect and control characters - comp.lang.tcl | Computer GroupTcl code encryption best practice -- Please help - comp.lang.tcl ... Expect and control characters - comp.lang.tcl Tcl code encryption best practice -- Please help - comp ... 7/26/2012 8:43:04 AM
|