You are not logged in.

#1 2021-06-06 14:31:34

kovac
Member
Registered: 2020-03-14
Posts: 41

[Solved] How to set pin entry program of Pass to curses?

Hello, I'm using Arch with i3. When I install allegro, some applications (like the unix password manager) that usually uses a TUI changes into a GUI. Looks like it's happening because of the gtk dependency that comes with allegro. How can I stop it from changing the ui of other applications? Thanks.

Last edited by kovac (2021-06-08 12:43:19)

Offline

#2 2021-06-06 16:45:38

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

Re: [Solved] How to set pin entry program of Pass to curses?

You need to dive a little deeper and provide more detail. Which applications behave differently?  What is the name of the GUI program or programs that are launched now instead of a TUI application?

Generic answer for lack of detail: Go to the affected applications and configure them to use the TUI.

Offline

#3 2021-06-07 11:11:03

kovac
Member
Registered: 2020-03-14
Posts: 41

Re: [Solved] How to set pin entry program of Pass to curses?

Thanks for your help, I'm checking for the config files now. The application that is behaving differently is the password manager: https://wiki.archlinux.org/title/Pass. Specifically, the login prompt which usually is a nice terminal prompt. Now it's an ugly GUI.

Last edited by kovac (2021-06-07 11:20:31)

Offline

#4 2021-06-07 13:20:31

tucuxi
Member
From: Switzerland
Registered: 2020-03-08
Posts: 291

Re: [Solved] How to set pin entry program of Pass to curses?

Pass uses gpg for encryption/decryption. What you see is a dialog from the pinentry program to unlock your secret key. You can specify the pinentry program in gpg-agent.conf as /usr/bin/pinentry-curses to go back to the previous experience.

Offline

#5 2021-06-08 12:39:25

kovac
Member
Registered: 2020-03-14
Posts: 41

Re: [Solved] How to set pin entry program of Pass to curses?

Thank you so much! You have no idea how annoying this was smile For completeness sake, the steps I followed:

1. Created a file ~/.gnupg/gpg-agent.conf.
2. Added the line:

pinentry-program /usr/bin/pinentry-curses

3. Reloaded configuratoin using

gpg-connect-agent reloadagent /bye

Last edited by kovac (2021-06-08 12:40:20)

Offline

Board footer

Powered by FluxBB