Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

agent: Allow password-caching in pinentry #11

Merged
merged 1 commit into from
Jul 30, 2023

Conversation

stigtsp
Copy link
Contributor

@stigtsp stigtsp commented Jul 30, 2023

Note: This PR might need some more work

This allows pinentry-gtk2 (and maybe other pinentries) to cache PIN using libsecret/gnome-keychain

  • Sets OPTION allow-external-password-cache
  • Set SETINFO to "ssh-tpm-agent/" + sha256(publicKey) (this should prob be something else)

One problem is that cached passwords names are prefixed with "GnuPG: ", not yet figured out how to fix that.

@stigtsp stigtsp temporarily deployed to Build, sign, release binaries July 30, 2023 01:55 — with GitHub Actions Inactive
@stigtsp stigtsp temporarily deployed to Build, sign, release binaries July 30, 2023 01:55 — with GitHub Actions Inactive
@stigtsp stigtsp temporarily deployed to Build, sign, release binaries July 30, 2023 01:55 — with GitHub Actions Inactive
@stigtsp stigtsp marked this pull request as ready for review July 30, 2023 01:55
@Foxboron Foxboron merged commit c9d2229 into Foxboron:master Jul 30, 2023
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.

2 participants