Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 4:06 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Mon Jul 07, 2008 4:40 pm 
Offline

Joined: Wed Jun 04, 2008 6:33 pm
Posts: 12
Location: Bergen, Norway
I have been doing changes to the yubico-j low level library while having enjoyable conversation with Simon at Yubico.

Today I created a new project named arne-proposed-yubikey-j (Arne is my first name) based on the latest source from yubico-j, it is published here: http://code.google.com/p/arne-proposed-yubikey-j.

The reason for making this project is not to create a project to compete with yubico-j but to communicate proposed changes to it: it is a branch, but I like to do it as a project because google has made it so easy to work with projects.

Main changes in this API from the yubico-j API it is based on:

Token:

1. Is reusable (empty constructor and set method).

2. Get methods that returns bytes no longer returns reference to internal arrays.

3. Get methods that returns byte(s) has been renamed to have the suffix Byte(s) in name.

4. New methods that return token property values as int values.

5. toString() method now prints with line breaks and property values as int values.

Pof:

6. Renamed to YubiKey.

7. In addition to old parse method has new parse method that accept Token to reuse.

Display:

8. Do command line parsing.

9. AES key is accepted in hex, not modhex.

10. Can also be used to convert between hex and modhex.

General:

11. Junit tests are part of the source tree. yubico-j has that in a separate tree and that causes problems in my eclipse environment. This is an issue that needs to be resolve in the future, but for the moment I would like to ignore it to get going with hacking.

Issues I am going to work on next (in order):

JUnit tests:

1. Make tests that can run through a set of vectors.

2. Tool to generate test vectors.

Password validation:

3. I think 'cookbook' validation is candidate for reusable code and that it could be here. That may be controversial, but, hey, then it is nice to have a experimental project to show my ideas in :-).


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Tue Jul 08, 2008 3:46 am 
Offline

Joined: Fri Jun 20, 2008 8:23 pm
Posts: 6
This seems completely backward: You say it's a branch, so why not a branch in the existing source? That's what ./branches is for . . .


Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 08, 2008 10:41 am 
Offline

Joined: Wed Jun 04, 2008 6:33 pm
Posts: 12
Location: Bergen, Norway
Yea, you may be right...

It just seemed like a practical way of doing 'suggestion project'.

There has been times when Simon has told me something I did broke his build system, sure a branch within the project might solved those problems but using a separate project sure does for now.

I am sympathetic to the irritation that can be caused by some not doing things in the right way...


Top
 Profile  
Reply with quote  
PostPosted: Mon Jul 14, 2008 12:09 pm 
Offline

Joined: Wed Jun 04, 2008 6:33 pm
Posts: 12
Location: Bergen, Norway
I posted to this group thread a post on updates to the project.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group