Skip to content

Keeps pcscd alive in background on linux to mitigate Yubikey 5 second pin & touch timeout

Notifications You must be signed in to change notification settings

supermarin/pcscd-keep-alive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pcscd-keep-alive

A systemd service that keeps pinging pcscd every 4 seconds in order to prevent shutdown. In practice, I use this with Yubikeys and age-plugin-yubikey to resolve PIN being requested all the time issue.

Original python script by @LudovicRousseau from here

How to use

If you're on NixOS and on flakes, add this repo in your flake inputs:

inputs.pcscd-keep-alive.url = github:supermarin/pcscd-keep-alive;

Then include the module:

nixosConfigurations.computer = inputs.nixpkgs.lib.nixosSystem {
  modules = [
    inputs.pcscd-keep-alive.nixosModules.pcscd-keep-alive
    # ...
  ];
  # ...
};

And in your configuration.nix:

services.pcscd-keep-alive.enable = true;

About

Keeps pcscd alive in background on linux to mitigate Yubikey 5 second pin & touch timeout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published