Skip to content

A fork of sudo with Felica based authentication support.

Notifications You must be signed in to change notification settings

alphaKAI/sudo-felica

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

sudo-felica

sudo-felica is a fork of sudo with Felica based Authentication support on Linux.
This software is inspired by sudo-touchid.

Warning

  • I'm not a security expert. This software may have fatal vulnerability, please use at your own risk.

Requirements

  • Pasori device(Felica reader)
  • libpafe - open source library for pasori
  • jansson - JSON Library for C

libpafe

$ git clone https://github.com/rfujita/libpafe.git 
$ cd libpafe
$ ./configure
$ make
$ sudo make install

jansson

$ git clone https://github.com/akheron/jansson
$ cd jansson
$ ./configure
$ make
$ sudo make install

Build

$ git clone https://github.com/alphaKAI/sudo-felica
$ cd sudo-felica/sudo
$ ./configure --prefix=/path/to/install
$ make
$ sudo make install

Configuration

sudo-felica need create setting file as JSON format on $HOME/.sudo_felica.json.
Please make the file as follows:

{
  "IDm": "IDm of Your card",
  "PMm": "PMm of Your card"
}

You have to get IDm and PMm of your card, please use felica_dump_tools.

About

A fork of sudo with Felica based authentication support.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published