1. ver 2.5 shroud program

Why can't there be an option in the 2.5 shrouder that
allows a user to TURN-OFF the IL output and output
a version 2.4 style shrouded file to be used as an
include file. What happens when we can no longer use
a ver 2.4 shrouded file because of new additional features.

If this can't be done then I suggest that users should
not waste their money buying a ver 2.5 shrouder. It
only allows binding and is worthless for the original
purpose of shrouding to allow distribution of secure
include files.

Bernie

My files in archive:
w32engin.ew mixedlib.e eu_engin.e win32eru.ew

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

new topic     » topic index » view message » categorize

2. Re: ver 2.5 shroud program

Bernie Ryan wrote:
> 
> 
> Why can't there be an option in the 2.5 shrouder that
> allows a user to TURN-OFF the IL output and output
> a version 2.4 style shrouded file to be used as an
> include file. What happens when we can no longer use
> a ver 2.4 shrouded file because of new additional features.
> 
> If this can't be done then I suggest that users should
> not waste their money buying a ver 2.5 shrouder. It
> only allows binding and is worthless for the original
> purpose of shrouding to allow distribution of secure
> include files.
> 
> Bernie
> 
> My files in archive:
> w32engin.ew mixedlib.e eu_engin.e win32eru.ew
> 
> Can be downloaded here:
> <a
> href="http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan">http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan</a>
> 

I didn't realize this before but it apears that Bernie is right.
The shroud utility can no longer be used to simply shroud an include file 
which later can be used by an UNshrouded program.

I quote from the documentation: http://www.rapideuphoria.com/bind.htm
"Shrouded files must be run using the interpreter back-end: backend.exe"

Perhaps someone could check this out and make sure.
I don't care so much about backwards compatibility but it would be nice to
be able to shroud just part of a program but not all of it.

I was registered for 2.4 but I don't think I'm registered for 2.5 yet.
Rob could you double-check for me please? I can't remember.
I still have (what I think is 2.4) bind.ex and shroud.bat in my BIN dir.
I just tested and I CAN shroud just an include file and still include it.
Like I said I think this is remnants of my 2.4 install but I can't 
remember if I'm registered for 2.5 or not. I've been with Euphoria 
since 1.4 or 1.5 and so it all starts blurring together after a while. :)

======
Lewy T
http://rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=Townsend

new topic     » goto parent     » topic index » view message » categorize

3. Re: ver 2.5 shroud program

Lewis Townsend wrote:
[snip]
> > a ver 2.5 shrouder. It
> > only allows binding and is worthless for the original
> > purpose of shrouding to allow distribution of secure
> > include files.
> > 
> > Bernie

> I didn't realize this before but it apears that Bernie is right.

Yes, this is so. The v2.5 interpreter cannot read shrouded include files. This
is by design and not a bug.

-- 
Derek Parnell
Melbourne, Australia
irc://irc.sorcery.net:9000/euphoria

new topic     » goto parent     » topic index » view message » categorize

4. Re: ver 2.5 shroud program

Derek Parnell wrote:
> Yes, this is so. The v2.5 interpreter cannot read shrouded include files. 
>This is by design and not a bug.

To clarify: the v2.5 interpreter (ex.exe) WILL read a v2.4 shrouded file.
I just tested it. I shrouded get.e and wrote a quick program to use it.
However only the 2.5 backend(w/u).exe will run the 2.5 shrouded *.IL files.

So Bernie, anyone that has registered v2.4 can still produce the kind of 
shrouding you like. And it can be run by the v2.5 interpreter.

I hope this helps,
======
Lewy T
http://rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=Townsend

GET.SE
======
þox.t$
¬†°ùšºGc/eÓsm~%­0ß’NzòYfgç­>X°ü²·F)ç‹pœ*4L<»Î·ô1ÏÑŒH]'Ùë#hN÷V\ÆBX^Cr-¸êHXLM
±3;¶£†µyZ]y´‚©þ®o9j·n6;Ñàhª‹×Ü4ÙÅÞXXQš1O36U(ºŽ§–ЭrøøŠT‘‰¯Ò	_È¡&qOñBRºÏºâ‰
öj´[u:Ï—\††>RbÌj¼wFuNò×gJKZBßšôíLŸki×Á6Øý/eÅv4»Sdx¹Ô_êÕN0,8&z“«•ŒÃŠ¦Æza²öfkxá~#´ÜNÆÈc–²÷(;ðÒ“4÷C’?\
|ôŽi)lKD-lªÜÀ_6*ÙûªöSP¾#ƒ„Cïw§Šnl¹°>íëÚÍ¡ptk.[M¥(¿Íß³Ó‘éR4ûTÛKfÎOúÖ<_ƒ8Ô9º/í.ä¸8^tU2ÕSu:
C£­…	gµ$¨Ç•˜³s^<6f˜h¤Uè‘âîŝH
6ÜEîú%8=ŠL«q~&¹9ðÑn_Ý‚¤7«½9P	„ö'DÅêÑI9T^äRBÔÆþ1©Þu˽qÁ‹f~Öqy`SÅIH®ˆ_y™—c°©n]At…ÌldG¯Äõƒ²Rn–š²~ˆþuzüø~#ˆ÷®*“cWU`f_É°ó‘´…ÕŒqÍ‹Ín¼Adœ{dc;À&,ü”ÓåYÖe¯‡¨WП­bæ©q"“†«Kº¹þqW‹%^jÓü-ËàçCôfãÜXƒv»YJð“;Šm~_du=’¤Ä·[Jcö™®WÁâžò=ÏÍÐÊœ/G73`!á¦-忱ÕJ¬sDr¥÷t)ÙYaNÈZk|${\‘)%¶37ŠºèE*•Ò
lcMd7¢
Sƒ~.ZY×ß)ÄûlÓâÚÍgøT*–.WZ>ÞF„©È‰£¸—é¡ì§zÍ–ЂãÀC’:ÜFÖé4Ñj±⃥X5Ó«”K¦äŒ5
w¾®—cÇB4—¿³Zdf¯<ã™åÎ*Àš®Ô7aÏl’Àng`þûÄ_Zæ,,Ì­B1\Á—”é+êðuo¹Ãø\2®ƒ„WMÛƇ;«÷ïÛP¥CO¦‚[û'^zi.Ip™^;űn	QH”×’ý*VqDö¶b6;œ}‡)Å=9m5ÅØW®*“cWU`f_É°ó‘éR§
tSH*‘ïÝN|Å\è7+¤fí~ÒÂâdŠþ2ÕSu:ÎR¬fà>(¨g³K†•ê4›iHHKZCÊy£(pŸ¡ŠØÍSƒ
C#'8ï§H:Œv‡߯,€Õ.¬þß­8W)©
à9*Í°|ôÄ#?5Ñ9(»¡ÜNÆÈc–²÷+½qÁ‹f~É]iê0«îôMHŽ1M4™‡rƳ”ãpzrçÅŠ1SC§õƒ²ho€…ŽOƹ‘(áë‡ó:Ú­¡n2O2Ž‚Kk­¼è€á·¥yÞtÌÐïŸÜó·}g@×r‡eh³Ã,›c}”|ç~¡sK¥Øe:Ú>SüD—a–ËØiá„åkIíZwdxåÎ4¾£H%åT|>#ŒÝˇg´Od
at
×±,Õ.£þÞ—ŽN…Ž•ŒÃ‡cå¢žåï5ROØ_-â÷܃#©ãZ°÷úð@nmÕ“wÞM“>ûGs<Ñ“oJU0;—àŠæ0ók]ùÒNŽ2\Ym
é¡Z²›’…œj698ØäaN•ptk;$UDFsqdÔjÓ­‰…Õ–qÍÅ$Œ÷H›wY÷<úéi.Kô¹Ï\2w‰W©(yCg°\öuÃÎ~`ÉèQ•¿³1EJÎÙBß}Ê)õ
›…ß䋘H÷õg?ŠL«q~&¹9ðÑn_Ý‚¤7«ò¢1”
Ò×á­AÇÍ—|ë¤<L:Y)´„]WÆÈc–¹÷8H`§°DwG5v_'=ˆî½	o6T8î\8±Šæ at 󦱸
fÏJu†~ìP2Þ£.ß°l¹ßNºIˆO$€SQ8Iôd>ØFh¦Žž¸¹¤ ‘sT\{¦"/N}™9µ‘IØDÊ~îÖ0a
'kËpŸƒÜ´z蔺]TuæªreJ€.™A‚“ä¹iµTø”£þ°Ysm'PåKxé3Œ˜[÷dx¹Í[.DT9«ñs‚3áñªÆ2E0*©qïÖ/qe·i„•9\Ðüc™2¥ÊäPf2ø‰˜‚4
”Zá9^Qn0QW¯+w¨é×ËRŒ­kÇ>!uéHì¦Qz£Èu¿†¤G"݃Í|ù5¢îTˆd{P•‡
á€rÊ<tÌÛÐ:µ()VŪo"„XæQNÑïþºâ²¥ØÔ°\x‡vªÂñ]×b³m`É3Q;¿­EyíޡʨÂà*Åòë]'ÕöG?ŠLRLCTÛù5,¿
B8Râ«¢ŽgøÏÜ1e[Æt¨kCû¸ç®î¦--ö©Úue!)½qÁÁÕ” sÔæZWîó/{sLd<-ÞL“’ß,ó–¡R4!þdSq
é(¶b»§‘¿§M
lCÛìaW,Vyi'Pb„*vuÞŽâ÷‘Ì…	÷¢Ò ©ó
}9µ’l‡dI™Î#G¡1m×qÏ:×h­Ý–¤y%ÊчÁwWOæ6a§+O²QÓ~ÇúLŸ¢¿¤¶]€ÝK{·Š

TEST.EX
=======
include get.se

integer k

puts( 1, "Press SHIFT + Q to quit\n" )

k = wait_key()
while k != 'Q' do
	printf( 1, "%s = %d\n", {k,k} )
	k = wait_key()
end while


new topic     » goto parent     » topic index » view message » categorize

5. Re: ver 2.5 shroud program

Bernie Ryan wrote:
> Why can't there be an option in the 2.5 shrouder that
> allows a user to TURN-OFF the IL output and output
> a version 2.4 style shrouded file to be used as an
> include file. What happens when we can no longer use
> a ver 2.4 shrouded file because of new additional features.

Version 2.4 shrouded include files can be read by the 2.5
interpreter (but not by the PD source or the Source Product,
for obvious reasons). I don't see any reason to stop 
supporting these files in the future.
 
> If this can't be done then I suggest that users should
> not waste their money buying a ver 2.5 shrouder. It
> only allows binding 

Not true. You can produce bound *or* shrouded programs
that can be run by backend.exe (backendw.exe etc.)

> and is worthless for the original
> purpose of shrouding to allow distribution of secure
> include files.

That was never the main purpose of the binder/shrouder.
95% of users simply want to bind or shroud their programs.
Very few people ever used 2.4 or earlier to produce
shrouded include files, and many of those that tried
realized that it didn't work very well,
e.g. a small shrouded include file that includes win32lib.ew would
end up sucking in tons of code that would be redundant since
a program using the shrouded file would probably include
win32lib.ew on it's own and create duplicate copies of the routines. 
There were other problems as well. 

Did you ever post *any* shrouded include files as a
user contribution? Of over 1500 contributions, I see only
a couple of shrouded include files. 

In many cases you could make a Euphoria .dll if you wanted
to conceal your library source from your users.

I may get around to doing shrouding of include files again,
but I would do it in a much better way next time. However 
I really don't like investing a lot in encryption, knowing that 
tomorrow, or next year, or maybe in ten years, some cracker is 
going to publish the algorithm, and then I'll encur the wrath
of Bernie Ryan when he finds that all of his precious proprietary 
source code has been exposed for all to see. smile

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

6. Re: ver 2.5 shroud program

Robert Craig wrote:

> I may get around to doing shrouding of include files again,
> but I would do it in a much better way next time. However 
> I really don't like investing a lot in encryption, knowing that 
> tomorrow, or next year, or maybe in ten years, some cracker is 
> going to publish the algorithm, and then I'll encur the wrath
> of Bernie Ryan when he finds that all of his precious proprietary 
> source code has been exposed for all to see. smile
 
I personally dont like the concept behind shrouded includes all that much. The
idea that part of the program/library is readable source code, while some or all
the included files could be encryted IL makes me suspicious on what the author is
trying to conceal... perhaps a worm, or virus. Ofcourse the fine people around
here wouldn't have such intention? smile, that perhaps explains part of the reason
why shrouded includes were very rarely used?

However, I think it would be a very worthwhile time investment to implement TRUE
thread-safety into the translator & interpreter products for v3.0, while we good
people could do the extensive bug testing (testing thread APIs too), and later
develop a cross-platform thread library or just use a 3rd party one. This should
be done because it would make me and alot of other people very pleased, and would
help further make Euphoria a true proffessional development tool :D


Regards,
Vincent

--
Without walls and fences, there is no need for Windows and Gates.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu