Giter VIP home page Giter VIP logo

Comments (3)

AnomalRoil avatar AnomalRoil commented on May 31, 2024

Which OS, which window manager, which version of rofi, gopass and gpg?

And most importantly which pinentry is used?

This sounds like a case where the pinentry is terminal only, so it works when gpg agent has had a chance to cache the PIN but doesn't work otherwise.

You can try running the rofi command directly in your terminal to see if something is printed in each step too, e.g.:
gopass ls --flat | dmenu
should print the name of the entry you selected, does it work?

The other option would be to try and enable debug logging by setting the env variable GOPASS_DEBUG_LOG to a file and see what it says in there.

from gopass.

con-f-use avatar con-f-use commented on May 31, 2024

Oh, thanks already for answering. I'm using pinentry-gtk2 (pinentry) 1.2.1 with gopass 1.15.5 go1.20.5 linux amd64 and gpg-agent (GnuPG) 2.4.0. I'll try the GOPASS_DEBUG_LOG and also echo debug-pinentry >> ~/.gnupg/gpg-agent.conf and get back to you.
Do you know if there is a way to trigger a timeout of the key unlock (after the key was entered correctly it doesn't ask again for some time, similar to sudo)? That would reduce the wait testing.

from gopass.

AnomalRoil avatar AnomalRoil commented on May 31, 2024

Yes, gpg agent will cache it.

You can check your

default-cache-ttl
max-cache-ttl

settings in your gpg-agent.conf the default is 600 and 7200 seconds respectively.

from gopass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.