How to enable gpg-agent for a user in RHEL 6

Solution Verified - Updated -

Issue

  • The gpg-agent is not caching passphrases for us. How to enable it?
  • Most gpg commands give the can't connect to '/home/user/.gnupg/S.gpg-agent' warning. How can we turn on gpg-agent?

Environment

  • Red Hat Enterprise Linux 6
  • gnupg2-2.0.14*

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content