keyring: pubring/secring identifiers
keyring: remove race condition from unlocking
main: use cleaner error output