简体   繁体   English

使用ACR122U USB NFC标签阅读器登录PC的NFC身份验证

[英]NFC authentication to log in PC with ACR122U USB NFC Tag Reader

I'm kind of new with NFC and Raspberry Pi and I'm trying to create an authentication system for a PC using Pi with an ACR122U USB NFC Tag Reader. 我是NFC和Raspberry Pi的新手,我正在尝试为使用带有ACR122U USB NFC标签阅读器的Pi的PC创建身份验证系统。 I was planning on connecting the reader to the Pi, but I was wondering if it's possible to unlock PC only after the password is entered and the NFC tag is scanned. 我当时打算将阅读器连接到Pi,但我想知道是否只有在输入密码并扫描NFC标签后才能解锁PC。 If so how? 如果可以,怎么办? I also was wondering if it was possible to scan the NFC tag and take the user to an log in screen to unlock your computer 我还想知道是否可以扫描NFC标签并将用户带到登录屏幕以解锁计算机

What exactly do you try to unlock? 您到底想尝试解锁什么? The PC or the Pi board? PC还是Pi板?

If you want to unlock a Pi with NFC tag I guess that you will have to use a PAM NFC module (see here http://nfc-tools.org/index.php?title=Pam_nfc ) 如果您想用NFC标签解锁Pi,我猜您将不得不使用PAM NFC模块(请参阅此处http://nfc-tools.org/index.php?title=Pam_nfc

If you want to unlock a PC using a NFC with a reader connected to the PC tag see below: 如果要使用NFC将阅读器连接到PC标签的PC解锁,请参见以下内容:

The windows authentication architecture is described here: https://technet.microsoft.com/en-us/library/dn169016(v=ws.10).aspx Windows身份验证体系结构在此处进行了描述: https : //technet.microsoft.com/zh-cn/library/dn169016(v=ws.10).aspx

Basically you will have to implement a " Custom Credentials Provider " and a LogonUI. 基本上,您将必须实现“ 自定义凭据提供程序 ”和LogonUI。 I have found a GitHub repository called Sesame that implements a complete NFC credentials provider - you might get some inspiration from there. 我发现了一个名为Sesame的GitHub存储库,该存储库实现了完整的NFC凭证提供程序-您可能会从中得到一些启发。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM