Use NamedTemporaryFile for gpg keyring creation

When we create the temporary keyring, use a NamedTemporaryFile so we
don't have to handle the cases where HOME or GNUPGHOME aren't writable.

Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
1 file changed