Skip to content

Swap to terminal.ReadPassword to remove outdated gopass dependency#1091

Open
lvoytek wants to merge 1 commit intopercona:3.xfrom
lvoytek:remove-gopass-dependency
Open

Swap to terminal.ReadPassword to remove outdated gopass dependency#1091
lvoytek wants to merge 1 commit intopercona:3.xfrom
lvoytek:remove-gopass-dependency

Conversation

@lvoytek
Copy link

@lvoytek lvoytek commented Mar 21, 2026

The howeyc/gopass dependency has been archived and unmaintained for around 5 years now, and recommends using golang.org/x/crypto/ssh/terminal as a replacement. This PR replaces gopass.GetPasswd() instances with terminal.ReadPassword(0) to allow the dependency to be removed. This is what is currently done in pt-secure-collect, making this a bit more consistent across tools too.

  • The contributed code is licensed under GPL v2.0
  • Contributor Licence Agreement (CLA) is signed
  • util/update-modules has been ran
  • Documentation updated
  • Test suite update

@lvoytek lvoytek requested a review from svetasmirnova as a code owner March 21, 2026 22:35
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.

1 participant