PAM module for (multi-factor) authentication with Bluetooth Devices & Beacons
ArchLinux: install the AUR package
Make sure you have a working Go environment (Go 1.9 or higher is required).
See the install instructions.
libpam and its development headers are also required.
$ make deps $ make $ sudo make install
Create a file named
.authorized_beacons in your home directory. Put a single
line with the beacon's MAC address in it. For example:
/etc/pam.d. Include this PAM module
wherever you want to require it for authentication, e.g. in
auth include system-auth-beacon
Careful: if your bluetooth beacon isn't discoverable, you will lock yourself out
of your system! It's probably a good idea to keep a root-shell open during
installation & testing of