diff options
Diffstat (limited to 'dnsviz/commands/graph.py')
-rw-r--r-- | dnsviz/commands/graph.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dnsviz/commands/graph.py b/dnsviz/commands/graph.py index 8beb188..13558e0 100644 --- a/dnsviz/commands/graph.py +++ b/dnsviz/commands/graph.py @@ -198,6 +198,10 @@ class GraphArgHelper: type=self.comma_separated_ints_set, action='store', metavar='<digest_alg>,[<digest_alg>...]', help='Support only the specified DNSSEC digest algorithm(s)') + self.parser.add_argument('-b', '--validate-prohibited-algs', + const=True, default=False, + action='store_const', + help='Validate algorithms for which validation is otherwise prohibited') self.parser.add_argument('-C', '--enforce-cookies', const=True, default=False, action='store_const', @@ -457,7 +461,7 @@ def main(argv): G = DNSAuthGraph() for name_obj in name_objs: - name_obj.populate_status(arghelper.trusted_keys, supported_algs=arghelper.args.algorithms, supported_digest_algs=arghelper.args.digest_algorithms) + name_obj.populate_status(arghelper.trusted_keys, supported_algs=arghelper.args.algorithms, supported_digest_algs=arghelper.args.digest_algorithms, validate_prohibited_algs=arghelper.args.validate_prohibited_algs) for qname, rdtype in name_obj.queries: if arghelper.args.rr_types is None: # if rdtypes was not specified, then graph all, with some |