Re: Format Tests

"dk" <[email protected]> Sun, 20 May 2007 16:43:23 +0100
Newsgroups gmane.comp.security.passwordsafe.devel
Message-ID <000501c79af5$9a5a4260$0501a8c0@kelvinhome>
Wolfgang,

I have replied to your Support Request as I had some difficulties with the
time fields in the records and header.

However, on further tracing, I see that the order in which you write the
header records seems to be in the inverse of their type value.  There is
nothing in the "FormatVn.txt" file to say this is wrong.  However, I would
like the format changed to mandate that the version number (record type
0x00) is *always* the first field in the header.

Regards,

David


-----Original Message-----
From: dk 
Sent: 19 May 2007 09:09
To: Wolfgang Keller; [email protected]
Cc: dk
Subject: RE: [Passwordsafe-devel] Format Tests

Oh and I forgot to mention...

I think the range (header and entry) 0x00-0x7f [and 0xff = end of record]
should be reserved for PWS.  Any not currently used should be "reserved for
future use".  PWS should maintain (but otherwise not modify) any in the
range 0x80-0xfe. It is the responsibility of any application that uses any
fields in this range to determine if it is theirs or another application's
and process accordingly.

The "Golden Source" for any field on PWS's range of 0x00-0x7f is the PWS
project (currently a document named "FormatVnn.txt").

David

-----Original Message-----
From: dk
Sent: 18 May 2007 23:07
To: Wolfgang Keller; [email protected]
Subject: RE: [Passwordsafe-devel] Format Tests

Wolfgang,

You knew that "d" would not get fixed until V3.02 - so it should be no
surprise that it is as said before = 8 hex digits.

Same goes for "e" since they are not in the V3.01 definition.

It is my view that in V3.02 (when/if it is released):
a. Header 05 (currently nnnnu....uh....h) becomes only u....u (standard text
format) b. Header 07 becomes the h....h from current 05 (standard text
format) c. Either 04 gets re-used as binary time_t or it is ignored and
Header 08 become time_t d. Your "07" and "08" then get implemented as
"08/09" or "09/0a" (hex)

I have suggested to Rony that a draft specification is released for
discussion.  There is no urgency to change the format this minute.  A full
discussion should be had and those interested in the format given a
reasonable period to respond.

Regards,

David


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Wolfgang Keller
Sent: 18 May 2007 10:50
To: [email protected]
Subject: [Passwordsafe-devel] Format Tests

Hello

I have tested Rony's 03.07.03 test file of 15 May  and found:
(Not tested header 05 (user) as I'm not supporting it.)

a) text format ok
b) UUID preservation ok
c) ITER preservation ok
-->> d) header 04 (save time) still not as binary integer!
-->> e) header 07 and 08 not supported (preserved)

What is more, I have posted a file into "Support Requests" created by JPWS
in the intended format version 3.02. You might find it useful for testing.
The password to open it is "123456" (excellent!).

- Wolfgang



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the
FREE version of DB2 express and take control of your XML. No limits. Just
data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Passwordsafe-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/passwordsafe-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/