Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Sun Jan 27, 2013 5:40 pm 
Offline

Joined: Wed May 09, 2012 9:35 pm
Posts: 45
Project name: Yubikey Authentication for KeePass2

License: TBD

Description: Provides authentication using the challenge response mode of the Yubikey from Yubico. Also supports auto-locking of the database when the Yubikey is disconnected.

Platforms: .NET

Webpage: http://sourceforge.net/projects/yubikeyauth-kp2/

Tutorial: Soon.

==========================================================================

Hello,

I just started a project to enable KeePass2 to encrypt and decrypt the password database using the challenge-response mode. The plugin will add a KeyProvider and every time the database is saved, it uses a different key to encrypt it, key generated by HMAC-SHA1.

Currently, my only problem is the registration of the Yubico API as it requires admin rights.

The plugin is developed in C# so I must use the API. Is there any way not to register the API and get it to work or maybe to include the API in the project.

Here's the link to the SourceForge Project although there's not much yet: http://sourceforge.net/projects/yubikeyauth-kp2/

Thank you!


Last edited by Morphlin on Wed Feb 06, 2013 4:41 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Mon Jan 28, 2013 9:11 am 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 148
Hello,

Just to be clear, the API we're talking about is the "Windows Client COM API" ?

I'd suggest requiring that to be installed separately, that way other software installed can use it as well (and also benefit from updates without having to update your project). If that's not an option I think you should be able to drop the dll in your own project and reference it directly, not completely sure on how to go about it though..

/klas


Top
 Profile  
Reply with quote  
PostPosted: Tue Jan 29, 2013 5:25 am 
Offline

Joined: Wed May 09, 2012 9:35 pm
Posts: 45
Hi Klas,

Well I didn't want to use the COM API as it requires admin rights to install (many KeePass 2 users run it from usb keys or at work from user directory) even if you drop it in as a ressource because it must be registered with windows and the library also doesn't let me configure Yubikeys.

Thanks

Alex


Top
 Profile  
Reply with quote  
PostPosted: Tue Jan 29, 2013 1:22 pm 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 148
So in that case you probably want to use the standard personalization library (http://www.yubico.com/develop/open-sour ... libraries/). The first one listed there is most up-to date and works on all platforms, though as it isn't managed code you'll have to use some tricks to use it from c#.
The library also includes a command-line tool for programming and is what the cross-platform tool is built on top of.

/klas


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 30, 2013 1:13 am 
Offline

Joined: Wed May 09, 2012 9:35 pm
Posts: 45
Perfect, thank you!


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 22, 2013 3:12 pm 
Offline
Site Admin
Site Admin

Joined: Wed Nov 14, 2012 2:59 pm
Posts: 666
Any update on this?

_________________
-Tom


Top
 Profile  
Reply with quote  
PostPosted: Mon Jun 10, 2013 11:55 pm 
Offline

Joined: Wed May 09, 2012 9:35 pm
Posts: 45
Hi Tom,

I'm no good with unmanaged code... :-( I can't find anything to get me to access the Yubikey without the API installation and this is a must for me to go anywhere with this.

Regards,


Top
 Profile  
Reply with quote  
PostPosted: Mon Dec 22, 2014 9:45 am 
Offline
Site Admin
Site Admin

Joined: Mon Dec 08, 2014 2:52 pm
Posts: 314
just use the YubiClient chalresp attached!


Attachments:
YubiClient .zip [3.18 MiB]
Downloaded 300 times
Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 01, 2015 2:51 am 
Offline

Joined: Wed May 09, 2012 9:35 pm
Posts: 45
Unfortunately, this requires Admin rights to install. Which makes any portable versions or corporate environments unable to use it.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 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