G+_610GARAGE Posted November 10, 2015 Share Posted November 10, 2015 I thought I would give you guys an update on thinpi nfc login... ok that needs a better name. Anyway, what I am trying to do is use an nfc system to allow my users to login into their windows vm on any terminal, including my raspberry pi thin clients. The nfc tag reader uses the ic PN532. This ic is fully compatible with a cross platform library called libnfc. This library interfaces with the reader, but doesn't really go past that. But I found another library, combined with the first one, that allows me to easily read/write nfc tags. This library is called libfreefare. My end goal is to have the login credentials and vm address encrypted (for pseudo security) on the nfc badge. So all the user has to do is to swipe the badge and there are logged in. I'm also thinking this will work great if some of my users need to work from home. I could also put the vpn login information on the card. That way, they can't forget anything and they won't be bothering me about it. :) I've just started to write the program when I killed my only tag. Somehow the key on the tag got messed up and now nothing will write to it. I didn't even now that was possible. :) Oh well, I got 25 more tags coming from amazon. Hopefully that will get me through the dev stage. :) This is the nfc reader that I am using: amazon.com/gp/product/B00HFX9OHA but I also found this one on ebay that I hope will work: ebay.com/itm/321841160225 Also, hear are the libaries, incase you guys are interested: github.com/nfc-tools/libnfc github.com/nfc-tools/libfreefare Link to comment Share on other sites More sharing options...
G+_Ben Reese Posted November 10, 2015 Share Posted November 10, 2015 Sounds great! Also glad to hear that you're using some encryption. Are you decrypting that info with a password chosen by the user or stored on the Pi? Link to comment Share on other sites More sharing options...
G+_610GARAGE Posted November 10, 2015 Author Share Posted November 10, 2015 Ben Reese Sigh, no. The password will be hardcoded (or maybe a file) on the pi. I am pined between security and convenience (aren't we all?). My parents are among the users, and if they had to enter a pin in each time, I'm pretty sure they would complain. I was going to have the nfc tag re encrypted with a new random password each time it was read, but that would require a server to keep track of everything, and I'm trying not to make it overly complicated. I mean, we're only an HVAC company. :) Link to comment Share on other sites More sharing options...
G+_Jason Perry Posted November 10, 2015 Share Posted November 10, 2015 Great project. Can't wait to see the end result. Link to comment Share on other sites More sharing options...
G+_610GARAGE Posted November 10, 2015 Author Share Posted November 10, 2015 Jason Perry Thanks. I'll try to keep you guys updated. Unlike what I did with project thinpi. :) Link to comment Share on other sites More sharing options...
Recommended Posts