bind9/contrib/kasp
Tom Krizek b3c7bd1c04
Auto-format Python files with black
This patch is strictly the result of:
$ black $(git ls-files '*.py' '*.py.in')

There have been no manual changes.
2022-06-08 13:34:19 +02:00
..
kasp.xml Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
kasp2policy.py Auto-format Python files with black 2022-06-08 13:34:19 +02:00
policy.good [master] dnssec-keymgr 2016-04-28 00:16:01 -07:00
README [master] dnssec-keymgr 2016-04-28 00:16:01 -07:00

This directory is for tools and scripts related to the OpenDNSSEC KASP
("key and signature policy") format. Currently it only contains
"kasp2policy.py", a python script for converting KASP key policy
to the "dnssec.policy" format that is used by dnssec-keymgr.

This depends on PLY (python lex/yacc) and on the "isc.dnskey" module in
bin/python/isc.

Basic test:
$ python kasp2policy.py kasp.xml > policy.out
$ diff policy.out policy.good