r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[SDK]

Endo
24-Oct-2011
[1793]
And also when I encap with enface.exe or encmdview.exe, it works, 
but it says "layout has no value".
sqlab
24-Oct-2011
[1794]
did you check your user.r or other files at startup?
Endo
24-Oct-2011
[1795]
there is no rebol.r or user.r in the encapsulator's folder.
GrahamC
24-Oct-2011
[1796x2]
did you include alll the view files?
if you didn't then you might not have layout
james_nak
24-Oct-2011
[1798]
#include %source/view.r
Endo
24-Oct-2011
[1799x4]
Yes it worked when I include view.r, thank you. I just bought the 
SDK.
I'm still playing with it.
But still rebcmd.exe crashes immediately when I start it. I tried 
on XP Pro SP3 and XP Home SP3.
And the executable file produced by encmd.exe also crashes also with 
REBOL Internal Error: Boot error 316.
Can anyone confirm that?
GrahamC
25-Oct-2011
[1803]
which version of the sdk?  I don't have the latest and mine work 
fine.
sqlab
25-Oct-2011
[1804]
There was a similar problem already reported
http://www.rebol.org/aga-display-posts.r?post=r3wp291x1570
Endo
25-Oct-2011
[1805x2]
Ok, it looks rebcmd crash problem apeeared in 2.7.7.3.1 and we need 
to wait for next SDK update. Won't be soon I think.
My SDK version is 2.7.7.3.1
Dockimbel
25-Oct-2011
[1807]
Endo: if you bought the SDK recently, you should have the 2.7.8 version. 
From rebol.com home page: "REBOL/SDK 2.7.8 Released 9-Jan-2011"
Endo
25-Oct-2011
[1808]
I bought it just 2 days ago. But I think there is no SDK for 2.7.8.

When I click on "REBOL/SDK 2.7.8 Released 9-Jan-2011" link on rebol.com 
website it goes to http://www.rebol.com/sdk.htmland there is a message 
"We have posted the 2.7.7 SDK packages for a variety of platforms." 
A bit confusing. But there is just 2.7.7 on download page.
Dockimbel
25-Oct-2011
[1809]
There is a SDK 2.7.8, it is just not publicly available. You need 
to ask RT for it (using the feedback form I guess) or stick with 
2.7.6 (which is the SDK version I am still using for production code). 
2.7.8 has its own issues, like the CALL/OUTPUT data corruption bug 
on Windows (http://www.rebol.net/cgi-bin/rambo.r?id=4416&).
Endo
25-Oct-2011
[1810]
Ok now I found the URL to download SDK 2.7.8. There is download URL 
for 2.7.7 in the email that RT send me when I purchase. I changed 
the url and find the 2.7.8.

But I got 404 not found when I try 2.7.6. I'll send a msg to RT. 
Thank you.

May I use my license file for all of them? 2.7.6 to 2.7.8, or do 
I need to request a new license file as well?
Dockimbel
25-Oct-2011
[1811]
The same license file will work.
Endo
25-Oct-2011
[1812]
Ok, my license file works with 2.7.8 also. And rebcmd.exe does not 
crash. Executable compiled with encmd.exe also does not crash.
Dockimbel
25-Oct-2011
[1813]
SDK v2.7.6 is available from here: http://www.rebol.net/builds/sdk/
Endo
25-Oct-2011
[1814]
Ok, thanks a lot!
Dockimbel
25-Oct-2011
[1815]
You're welcome.
Louis
29-Dec-2011
[1816x2]
Are the source files for the Linux SDK the same as the source files 
for the Windows SDK?
Does anyone have a good system for developing using Linux, then compiling 
using the Windows SDK?
sqlab
13-Jan-2012
[1818]
Which cmd or SDK version is the best using call/output on Win?
PeterWood
13-Jan-2012
[1819]
I suspect the answer will depend on which version of Windows you 
are using. If you use Nenad's call.r, you should be able to use any 
version.


It's available as part of the Cheyenne source - which can be downloaded 
from http://cheyenne-server.org/download.shtml
sqlab
13-Jan-2012
[1820]
I was not aware that Nenads call also supports output. 
And indeed win-call/output was not working for me.

So far 2.7.5. 2.6.2, 2.5.6 and 2.5.125 is working for me, but the 
cmd window is annoying, especially as my calls take a long time.
PeterWood
13-Jan-2012
[1821x2]
I use win-call/output in the Red testing framework - it works on 
both Win/XP and Win/7 under REBOL 2.7.8
the only downside is that it can't be run under Core.
sqlab
13-Jan-2012
[1823]
The best what I get with e.g >> win-call/output "dir"  str: make 
string! 1024  is  either "The operation completed successfully." 
and then an empty file with the name "call-error-695.log" and following 
"A file can not be created if it already exists."
But this problem probably belongs to cheyene e.a. .groups,.
Gregg
13-Jan-2012
[1824]
The biggest issue with CALL on different versions is whether you 
use a version that requires /SHOW, which was added in newer releases 
and causes some compatibility issues. If your process works without 
showing the window, it shouldn't much matter (unless you go waaaayyy 
back).
Rondon
13-Jan-2012
[1825x5]
Folks, I'd like to use encryption, to encrypt some json records and 
deploy it to the browser and decrypt it using this algorithm at  
http://www.fourmilab.ch/javascrypt/javascrypt.html
to do this, I need to encrypt my json records using Rebol in the 
server using 'crypt scheme. Do you have a cookbook to do this?
I tried the recipe but it's giving invalid port. I have SDK, license 
file, but it's not working.
I'd like to encrypt json text using Rebol and AES encryption. And 
decrypt this using javascript. Do you have any idea how to do this 
using Rebol. I mean the AES encryption. I mean : txt: "blablablba" 
 key: #CEDEFF.. encrypt  txt key   ...  using AES rhinjael algorithm 
.. thanks
If I use  encloak, I really don't know how to decrypt this using 
javascript.
TomBon
13-Jan-2012
[1830x2]
rondon,

you have to check that the choosen encryption scheme is compatible 
on both sides. at least SHA-1 / MD5 should work.

here you have some javasript routines:
	http://www.movable-type.co.uk/scripts/sha1.html
	http://pajhome.org.uk/crypt/md5/index.html

howto rebol:
http://www.rebol.com/docs/words/wchecksum.html


just send some test data and adjust the encryption scheme at the 
javasript side.

with luck, the rebol implementation is suitable for the routines 
above.
ps: please report which one works ;-)
MikeL
13-Jan-2012
[1832x2]
Rondon, Rebol encryption is well described in this secure document 
http://www.rebol.com/how-to/encrypt.html#section-15
Which refers to http://www.rebol.org/view-script.r?script=crypt.r
GrahamC
13-Jan-2012
[1834]
I tried to do AES encryption but anything I encypted was not de-crpytable 
by standard tools
Gabriele
14-Jan-2012
[1835x2]
Graham, you probably just had the IV or padding wrong.
TomBon: hashing and encryption are not the same thing.
GrahamC
14-Jan-2012
[1837]
Gab, at the time I asked if anyone had any success in this ... and 
there was no one.
Rondon
14-Jan-2012
[1838x5]
Hi Folks I tried the simple example
crypt: func [
    "Encrypts or decrypts data and returns the result."
    data [any-string!] "Data to encrypt or decrypt"
    akey [binary!] "The encryption key"
    /decrypt "Decrypt the data"
    /binary "Produce binary decryption result."
    /local port
][
    port: open [
        scheme: 'crypt
        direction: pick [encrypt decrypt] not decrypt
        key: akey
        padding: true
    ]
    insert port data
    update port
    data: copy port
    close port
    if all [decrypt not binary] [data: to-string data]
    data
]
A full function header is used so you can get help on the function 
later:

help crypt
The previous examples now become:

data: crypt "This is a string" #{1122334455667788}

probe crypt/decrypt data #{1122334455667788}
probe doesn't show "this is a string" but another sequence of characters
I think I'm gonna use this cybersafer script .