Windows Logon, your input welcome!



  • @johnyma22
    I was hoping to get a proof of concept going today but given that its 11pm i might not finish it tonight.
    If I can get it working then I'm happy to turn over all the code for free with whatever license you like. I have a good job with Fove Inc already and don't need any extra pressure right now. I'm actually at home sick this week (recovering from some minor surgery) but it's so dull I thought I'd do a bit of code (even though the painkillers add an extra challenge).
    I'll keep updating with my progress here and you can decide if you'd like your dev to start from scratch or if they can use my code to help a bit.

    So far I have the credential provider showing, and when the user selects the NFC Ring option it connects to the first card reader and pulls the UID off the card there. Now I'm trying to find a good way to compare that with a registered ring's value and then pass a credential across to windows. The C++ documentation around ICredentialProvider is pretty frustrating. AFAIK there isn't a good way for .Net to access these API's without wrapping a C++ dll.
    Maz



  • On the upside the older gina api is even more frustrating...



  • @Engarde
    Haha. Yeah. I'm not even going near that. If you're still using XP then too bad :P



  • For my sins I've had to work with different generations of a number of their APIs, and the one thing they appear to never learn is to improve the docs.
    I blame the summer interns that get tasked to write them...



  • @Engarde
    I just found a useful set of examples for vista. If I merge that with the code I've already got I should be able to actually get this working tonight.
    https://www.microsoft.com/en-us/download/details.aspx?id=4057#Overview



  • A ten year old example might confuse you more than aid you, but good luck.



  • BAM!
    Hard-coded proof of concept working...

    So,
    I can potentially store the CredProtectW protected credentials on the NFC ring itself so that way I dont have to store the users details on the filesystem of the machine they're logging into. Or do we want both options?

    I'm learning all about NFC as I go so forgive me if I don't know what I'm doing on that side of things.



  • Just in case anyone wanted to see I made a terrible video.
    This is just a proof of concept!

    I think I'm the only person in the world who can easily log on to my home desktop PC with an nfc ring right now.



  • Well done



  • @maz_net_au said:

    I think I'm the only person in the world who can easily log on to my home desktop PC with an nfc ring right now.

    Well I'm using Asus NFC Express and I think it's pretty easy to use with the NFC Ring. With this the Asus NFC login is selected by default and I'm logged in as soon as my ring is read (no need to click anything) The hard part is getting the Asus NFC Express to read the ring, it seems to have a sweet spot that I'd guess has a diameter of <1cm. (And lets not forget that it apparently only works on Asus Motherboards(?))

    I'd really like to see an open source program of equivalent ease of use if only to get compatibility with a better reader because this Asus NFC Express that I've got is really "weak". Oh and it'd be nice with the ability to use the ID of the tag rather than writing and reading from the tag, that way I can write other stuff to the ring.

    Edit: Can someone explain to me why using NDEF Records provides greater security than using the ID? Couldn't you copy the NDEF Records too?


  • NFC Ring Team

    +1 @SanyaIV that's exactly how I feel.. The ASUS NFC Express has a pretty decent UI but it's hardware is not perfect. We can definitely do things better. For example the ACR122 unit has great matching w/ small tags so using that is a joy!

    RE NDEF Records, I feel I know the answer but I'm more interested to hear other peoples view points on it..


  • Community Helper

    @maz_net_au said:

    Those screeeeeeeeens..... <3



  • @maz_net_au said:

    Just in case anyone wanted to see I made a terrible video.
    This is just a proof of concept!

    I think I'm the only person in the world who can easily log on to my home desktop PC with an nfc ring right now.

    wow such screens.. I also use the ASUS NFC express and the usability is much better than this video demonstrates. I think (As others have already mentioned here) that we need the software to work just as well as the ASUS software but with more reader flexibility.



  • The tags on the newer 2016 rings have password protection built in, right? Couldn't we use that to ensure the tag cannot be read (and therefore cannot be copied) by any reader who doesn't have that password?



  • @Nephiel said:

    The tags on the newer 2016 rings have password protection built in, right?

    I didn't know that, how does it work ??



  • @SanyaIV
    Could you do me a favour and record you using the ASUS software? I had some thoughts on how to make it work automatically as I scanned rather than having to click which i'll try out today.
    And yeah, I haven't had a chance to research the NDEF record side of things and I'll keep thinking of a way to add some security to this.



  • @Lafunamor
    Thanks. I used to work for a telco here that went bankrupt and I was in a position to buy a lot of the hardware they were using there for liquidator prices. e.g I got 16x 24" screens for $17 each about.. 3 or 4 years ago. I'm only using 6 on my desktop though (I had to design and build a desk to hold them how I wanted)



  • @jasok2
    You could also do a recording to show me what the ASUS experience is like. I'm happy to try and make something that is as usable.
    Once I make a registration program (so that my details aren't hardcoded) I'll open source my project and other people could also jump in and make it more usable.



  • @maz_net_au

    I wont be able to do that for a while however I can get you a screen shot of the lock screen sooner.

    There isn't much to show you. The NFC logon user is always the default one that comes up on the windows login screen so there no clicking or anything to do.

    literally this is the steps.
    1- Turn on your computer
    2- tap your ring on the reader.

    there are no other steps, nothing else to see or do.



  • @jasok2
    I'm not sure how I'd do that when adding an extra authentication option to an existing user. The reason my user is selected by default in my demo is because I'm logged on as that user already and just locked the pc.
    I'll work on it a bit today and see if i can streamline the process a bit.