diff --git a/cryptodatahub/common/key-exchange.json b/cryptodatahub/common/key-exchange.json index ccbd986..9fbcf0e 100644 --- a/cryptodatahub/common/key-exchange.json +++ b/cryptodatahub/common/key-exchange.json @@ -128,7 +128,7 @@ "HYBRID_PQS": { "name": "hybrid post-quantum safe", "long_name": null, - "vulnerabilities": null, + "vulnerabilities": [], "forward_secret": true }, "SRP": { diff --git a/cryptodatahub/common/key.py b/cryptodatahub/common/key.py index c164a5e..2f5a44e 100644 --- a/cryptodatahub/common/key.py +++ b/cryptodatahub/common/key.py @@ -78,6 +78,8 @@ def __attrs_post_init__(self): Vulnerability(attack_type=AttackType.DOS_ATTACK, grade=Grade.WEAK, named=AttackNamed.DHEAT_ATTACK) ) gradeables = [_PublicKeySizeGradeable(gradeables)] + elif self.key_type == KeyExchange.HYBRID_PQS: + gradeables = [] else: gradeables = None