more work on pgp keys lookup, etc