I can't get around the phrase or pinentry screen, but I used gpg-agentparameters such as default-cache-ttlto set the cache time. Thus, on the second attempt, pinentry is about to retrieve the cached passphrase and will reset the timer to defaul-cache-ttl.
There is another option max-cache-ttl, even after a successful search for the cached passphrase and reset to default-cache-ttl, this option does not change its timer and ends the cached passphrase after the set timeout.
: 10 (.. 36000 ), 5 , reset , 10 . max 10 , , 10 .
, , - gpg-agent. , , , , gpg- . script bashrc, .