Module Name: src Committed By: agc Date: Tue Jun 28 03:35:28 UTC 2011
Modified Files: src/crypto/external/bsd/netpgp/dist: TODO src/crypto/external/bsd/netpgp/dist/src/lib: netpgp.c Log Message: get some things off the TODO list when initialising, recognise keys in a different order. 1. read the public keyring 2. if a userid has been specified, use it 3. if not, check the configuration file (~/.gnupg/gpg.conf) for a default user id 4, only read the secret keyring if we need to (decrypting or signing) 5. if signing, and we still don't have a userid, use the first key in the secret keyring 6. if encrypting, and we still have no userid, use the first in the public keyring ssh keys remain the same as previously. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/crypto/external/bsd/netpgp/dist/TODO cvs rdiff -u -r1.91 -r1.92 \ src/crypto/external/bsd/netpgp/dist/src/lib/netpgp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.