Skip to content
Snippets Groups Projects
Select Git revision
  • 1035cb9de88c884c11b0801b1c4f9b6e65fffe67
  • master default protected
2 results

gpg-agent.conf

Blame
  • user avatar
    Henrik Tjäder authored
    1035cb9d
    History
    gpg-agent.conf 594 B
    # Change default timeout in seconds to
    # 6 * 3600 = 21600 6 hours
    default-cache-ttl 21600
    max-cache-ttl 21600
    enable-ssh-support
    
    # On ubuntu use update-alternatives
    # To set the desired pinentry wrapper instead of setting pinentry-program
    
    # sudo update-alternatives --install /usr/bin/pinentry pinentry (gpgconf --list-dirs homedir)/pinentry-auto.sh 99
    
    # MUST be a full path
    # pinentry-program /usr/bin/pinentry-tty
    pinentry-program /home/USER/.gnupg/pinentry-auto.sh
    
    # 3 Hours cache on SSH-keys
    default-cache-ttl-ssh 10800
    max-cache-ttl-ssh 10800
    
    log-file /home/USER/.cache/gpg-agent.log