Always save the signing keygrip even when the same as the public key.
commitb55b2cc15d73352cd8ea9cab33a2e28def28a1df
authorBen Kibbey <bjk@luxsci.net>
Mon, 4 Jul 2011 17:48:10 +0000 (4 13:48 -0400)
committerBen Kibbey <bjk@luxsci.net>
Mon, 4 Jul 2011 17:51:44 +0000 (4 13:51 -0400)
tree0c75bc394ed9baad3954037daf3b467f8adeb49f
parentde4b3e64bce0d6a3382857ea44060e0d2f338555
Always save the signing keygrip even when the same as the public key.
This breaks data file compatibility with previous commits. Both the
encryption and signing keys are no longer saved as S-expressions but
rather keygrips that gpg-agent will use to obtain the public keys.

If you had some data already saved before this commit then do the
following to import the existing data:

echo dump | pwmc datafile > to_import
.... build with this commit ...
pwmd --import to_import -o newfile
src/agent.c
src/agent.h
src/cache.h
src/commands.c
src/pwmd.c