gpg: don't clear the session after PIN is entered

This would allow single PIN entry when running multiple GPG commands.
This commit is contained in:
Roman Zeyde
2016-10-11 08:43:39 +03:00
parent fcd5671626
commit e3286a4510

View File

@@ -52,7 +52,6 @@ class HardwareSigner(object):
def close(self):
"""Close the connection to the device."""
self.client_wrapper.connection.clear_session()
self.client_wrapper.connection.close()