yubinuki

command module
v0.0.0-...-fa7966a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2020 License: MIT Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

YubiNuki

Build Status

This program allows to use NFC Yubikeys to open Nuki smart locks.

Requirements

You will need:

This program runs fine on a Raspberry Pi Zero W.

Installation

After installing Go, in order to run yubinuki in your system:

  • Download and compile the yubinuki program
  • Copy the executable to /usr/local/bin
  • Copy the configuration file to /etc/yubinuki.json and set it up
  • Install and yubinuki.service file and enable the service

In other words, from the repository folder, run:

go get github.com/hsanjuan/yubinuki
cd $GOPATH/src/github.com/hsanjuan/yubinuki
cp yubinuki.template.json yubinuki.json

At this point, EDIT yubinuki.json with the right configuration values. Then:

sudo cp $GOPATH/bin/yubinuki /usr/local/bin/yubinuki
sudo mv yubinuki.json /etc/yubinuki.json
sudo chown root:root /etc/yubinuki.json
sudo chmod 0600 /etc/yubinuki.json
sudo cp yubinuki.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable yubinuki
sudo systemctl start yubinuki

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址