Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement RFID Auth #5

Closed
noqqe opened this issue Jan 7, 2019 · 7 comments
Closed

Implement RFID Auth #5

noqqe opened this issue Jan 7, 2019 · 7 comments
Labels
enhancement New feature or request

Comments

@noqqe
Copy link
Member

noqqe commented Jan 7, 2019

Write Bearer Token from backend to RFID Card

Needed:

  • Increase valid time for Bearer Tokens to 2 Years or so.
  • RFID Writer
@noqqe noqqe added the enhancement New feature or request label Jan 7, 2019
@blarz
Copy link
Contributor

blarz commented Aug 1, 2019

Do we have appropriate RFID reader/write hardware? IIRC I left mine for exactly that purpose?

@noqqe
Copy link
Member Author

noqqe commented Aug 9, 2019

Yep, we still have the hardware.

I was basically not able to properly use pynfc or nfcpy and failed getting the connection to the device.

Being desperate, I was trying to recompile the binary blob that was used in the past at k4cg/matomat using libnfc from the debian repos and later doing an exec to this. But same here, failed with build errors.

Would need some help here.

However, implementation of the Auth would be different. A sketch was already done here: https://github.com/k4cg/matomat-service#what-about-rfidnfc-chip-based-login

@blarz
Copy link
Contributor

blarz commented Aug 9, 2019

Yes I read the part about auth in server, sounds nice!

Somebody on the mailinglist was volunteering to get this working for CCCamp.
Maybe he tried something else.

@blarz
Copy link
Contributor

blarz commented Aug 12, 2019

Seems like @chca42 is working on it ;)

@chca42
Copy link
Contributor

chca42 commented Aug 12, 2019

Yes, I'm currently working on this with good progress ;-)
I have built a python module for reading and writing cards. The JWT Token can already be written, auth and retrieval is work in progress.

@blarz
Copy link
Contributor

blarz commented Aug 21, 2019

I have not seen the feature in action, but what is the state of this issue?
Can it be closed?

@chca42
Copy link
Contributor

chca42 commented Sep 1, 2019

NFC Auth is now implemented and deployed on matomat.

@chca42 chca42 closed this as completed Sep 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants