diff options
author | Ruben Pollan <meskio@sindominio.net> | 2014-10-12 03:21:47 -0500 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2014-10-23 11:12:32 -0500 |
commit | 3ebb6be0c628b3a2b45a28690b6b6dc1bb2ae850 (patch) | |
tree | 1684e1e2ef888ab3960bdba792c1dfe9d8b81015 /src/leap/keymanager/openpgp.py | |
parent | c4466bd5735652bff79da36a99da3f8b245d6115 (diff) |
Basic validation levels support
Diffstat (limited to 'src/leap/keymanager/openpgp.py')
-rw-r--r-- | src/leap/keymanager/openpgp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/keymanager/openpgp.py b/src/leap/keymanager/openpgp.py index 6a825cda..57a7754a 100644 --- a/src/leap/keymanager/openpgp.py +++ b/src/leap/keymanager/openpgp.py @@ -38,6 +38,7 @@ from leap.keymanager.keys import ( KEYMANAGER_KEY_TAG, TAGS_ADDRESS_PRIVATE_INDEX, ) +from leap.keymanager.validation import ValidationLevel logger = logging.getLogger(__name__) @@ -183,7 +184,7 @@ def _build_key_from_gpg(address, key, key_data): private=True if key['type'] == 'sec' else False, length=key['length'], expiry_date=key['expires'], - validation=None, # TODO: verify for validation. + validation=ValidationLevel.Weak_Chain, ) |