Skip to content

aastafiev/pinentry-rofi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

A simple pinentry program using rofi.

Inspired by gist and @plattfot/pinentry-rofi

Dependencies

  • Python 3.9+
  • rofi
  • pygobject

pygobject package for Arch

Install

  1. Copy pinentry_rofi.py to your ~/.local/bin

  2. chmod +x ~/.local/bin/pinentry_rofi.py

  3. Set pinentry-program in ~/.gnupg/gpg-agent.conf. For example:

    pinentry-program <HOME>/.local/bin/pinentry_rofi.py

  4. Restart gpg-agent gpgconf --kill gpg-agent

Documentation

Run pinentry_rofi.py --help