Re: Help with gnupg saving password for given time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Excerpt from Randy's message
of 2012-06-23T00:02-0400:

> What I ended up doing was per the Arch wiki. Creating the
> file /etc/profile.d/gpg-agent.sh with the following:
> 
> /#!/bin/sh
> 
> envfile="${HOME}/.gnupg/gpg-agent.env"
> if test -f "$envfile" && kill -0 $(grep GPG_AGENT_INFO "$envfile" |
> cut -d: -f 2) 2>/dev/null; then eval "$(cat "$envfile")"
> else
>      eval "$(gpg-agent --daemon --write-env-file "$envfile")"
> fi
> export GPG_AGENT_INFO  # the env file does not contain the export
> statement/
> 
> This did the trick for me.

I applied your trick: it also works on Xfce.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux