Skip to content

Fix password entry on non-interactive shells - #67

Open
h0tc0d3 wants to merge 1 commit into
cashapp:mainfrom
h0tc0d3:main
Open

h0tc0d3 wants to merge 1 commit into
cashapp:mainfrom
h0tc0d3:main

Conversation

@h0tc0d3

@h0tc0d3 h0tc0d3 commented Sep 15, 2026

Copy link
Copy Markdown

Now the pinentry program is used to enter the password. Pinentry is a collection of secure dialog programs used by GnuPG and other software to ask for passwords, passphrases, and PIN numbers.

This is the only correct and working solution. Other input methods, such as golang.org/x/term - ReadPassword, do not work.

The default slot has also been changed to 9c, which is standard for digital signatures. Using slot 9e is non-standard, and security policies may block the use of slot 9e for signatures. In some companies, this use is not allowed.

Fix: #66

Now the pinentry program is used to enter the password.
Pinentry is a collection of secure dialog programs
used by GnuPG and other software to ask for passwords,
passphrases, and PIN numbers.

Signed-off-by: Grigory Vasilyev <h0tc0d3@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pivit not start pinentry program

1 participant