[openpgp] Fix some bugs

- Dont use armor when encrypting
- Convert timestamp to int
- Fix getting the default trust
This commit is contained in:
Philipp Hörist
2018-08-31 15:14:08 +02:00
parent 7776ae0a59
commit fa9e8f7fa8
4 changed files with 5 additions and 5 deletions

View File

@@ -116,7 +116,7 @@ class ContactData:
@property
def default_trust(self):
for key in self._key_store:
for key in self._key_store.values():
if key.trust in (Trust.NOT_TRUSTED, Trust.BLIND):
return Trust.UNKNOWN
return Trust.BLIND