Hi,

Please, what am I missing ?

I'm running gpg-agent as follows:

/usr/bin/gpg-agent --enable-ssh-support --daemon /home/XXX/.xsession

and have the appropriate enviroment variables set.
My ~/.gnupg/gpg-agent.conf contains:

    # Gpg-agent configuration

    # Enable SSH support (should be done on command line)
    enable-ssh-support

    # Set two hour PIN cache timeouts
    default-cache-ttl-ssh  7200
    default-cache-ttl      7200
    max-cache-ttl-ssh      7200
    max-cache-ttl          7200

    # Allow setting of the PIN by an external agent
    allow-preset-passphrase

I execute the equivalent of

echo "PRESET_PASSPHRASE <keygrip> -1 <pin>" | gpg-connect-agent

in a startup script and see no error.  Yet each and every call to
ssh or scp prompts me for a PIN :(


Please someone tell me the trick to enabling the PIN cache.

-- 
        Bob Dunlop

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to