Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Encrypting DXL
Topic Summary:
Created On: 23-Mar-2007 12:42
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 23-Mar-2007 12:42
User is offline View Users Profile Print this message


Karl Breuer

Posts: 66
Joined: 11-Jul-2005

Recently I have downloaded Telelogic's DXL encryption tool.
For some of my scripts it works just fine,
but for others, when I try to run the encrypted inc-files I get messages like:
-E- DXL: <scriptname.inc:1> badly formed token (EOF)
or
-E- DXL: <scriptname.inc:1> undeclared variable (uE)
while the original script runs without complaining.

Does anyone have any experience with the encryption tool?

all hints are welcome

Karl
Report this to a Moderator Report this to a Moderator
 23-Mar-2007 13:36
User is offline View Users Profile Print this message


Michael Sutherland

Posts: 248
Joined: 13-Sep-2002

Karl,

I've used it with no problems. Did you do the following:

The first three bytes of the DXL file that you want to encrypt must be:
//<

If these characters are missing DOORS will not be able to execute the DXL.

-------------------------
Michael Sutherland
michael@galactic-solutions.com
http://galactic-solutions.com
Report this to a Moderator Report this to a Moderator
 23-Mar-2007 19:22
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Where can I get information on this tool?

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 23-Mar-2007 19:52
User is offline View Users Profile Print this message


Pete Kowalski

Posts: 301
Joined: 7-Feb-2003

David -

Here you go. It is for DOORS 8.1 only.

https://support.telelogic.com/en/doors/dxl/

Click on "DXL Encryption Tool"

-------------------------
pete.kowalski(at)motorola.com
Report this to a Moderator Report this to a Moderator
 26-Mar-2007 10:35
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Are you trying to run the encrypted file diirectly?

You cannot run an encrypted file directly, you must #include it in another script.
The interpreter will only decrypt scripts as necessary when performing the #include.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 26-Mar-2007 12:45
User is offline View Users Profile Print this message


Karl Breuer

Posts: 66
Joined: 11-Jul-2005

Thank you for your responses, Michael and Tony,

yes, I thought of the first three bytes, and no, I did not try to run the file directly but #included it instead.

What is strange is, that with some scripts I do not have a problem, but with others I do.
I scanned the files prior to encrypting for any strange or hidden characters. Nothing.

confusing ...

Karl

Report this to a Moderator Report this to a Moderator
 26-Mar-2007 12:58
User is offline View Users Profile Print this message


Reik Schroeder

Posts: 361
Joined: 28-Jul-2003

Hi Karl,


with Doors 8.x I had sometimes problems on using german special chars like ä, ö, ü.
Sometimes the code did not run, even if the chars are in strings!

Another thing, is that sometimes the code did not run, if the last line was a line comment. So inserting an empty line as last line has solved this problem.

And last but not least - Doors seems to use always UTF-8 file format with its header.
In some Editors it may appear as:

in the beginning which represents the UTF-8 Header "EF BB BF 42"

But never tried the encryption tool ... may be it is sensitive for the described items?!

Greetings
Reik

-------------------------
Evosoft GmbH
for Siemens Industry Sector


Berlin, Germany
Report this to a Moderator Report this to a Moderator
 26-Mar-2007 13:28
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Thanks Pete.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 26-Mar-2007 15:41
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

The problem is probably because of some unicode (UTF-8) character that got embedded into you text because of some cut and paste.

Easiest solution to remove these characters for most people will be to open the source in microsoft word and select radio button MS-DOS for text encoding.

Then remove the unicode characters and save the file.
Report this to a Moderator Report this to a Moderator
 27-Mar-2007 12:29
User is offline View Users Profile Print this message


Karl Breuer

Posts: 66
Joined: 11-Jul-2005

Thanks Reik and Ron,

the problem apparently was because of some UTF-8 characters at the very beginning of the file...

I only do not understand how those got into this particular file but not into the others.

Another thing I observed: in some cases a blank line at the end of the file caused a complaint and in some cases a blank character after the first three bytes did that..

thanks again

Karl
Report this to a Moderator Report this to a Moderator
 2-Apr-2007 18:51
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

DOORS 8.1 dxl editor may put the following 3 characters at start of a saved file: 
Report this to a Moderator Report this to a Moderator
 4-Apr-2007 17:36
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

DOORS Editor adding UTF character to dxl script was logged as a defect on 04/04/07 (Case VT6016578)

The DXL encryptor has problems with the UTF marker at the start of the file.
The only current workaround is to make sure that the file is not UTF-8.

Edited: 4-Apr-2007 at 17:38 by ron lewis
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 2 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.