]> git.ipfire.org Git - thirdparty/dnspython.git/commit
DNSSEC signer (#866)
authorJakob Schlyter <jakob@kirei.se>
Tue, 13 Dec 2022 01:28:00 +0000 (02:28 +0100)
committerGitHub <noreply@github.com>
Tue, 13 Dec 2022 01:28:00 +0000 (17:28 -0800)
commit6fa40bd780f73e64c8041f42d894575ee272d2fe
tree945b5c6b8f43acd9059f737d35c9622e9027933a
parent2b80e38c3f1974580a58c52235cd0befb5b5f94e
DNSSEC signer (#866)

* first cut at key_to_dnskey

* update docs

* typo

* use real test vectors for DNSKEY

* comment

* split

* add test for large exponent size

* rename to make_dnskey

* no default algorithm

* rename and add comment

* split out function to create rrsig signature data

* docs

* add type for public key

* more typing

* make RSA exponent key test easier to read

* work in progress for dns.dnssec.sign

* better docs

* docs

* simplify

* add test with RSASHA1

* initial support for DSA

* update docs

* clean up DSA, t still not clear

* allow inception/expiration to be specified as datetime, string, float or in

* allow rrset to be specified as a tuple

* calculate dsa_t

* reformat

* more rrset tuple fixes

* support DSA

* improve exception handling

* fix return type error

* fix typing issue to silence mypy

* make test case more verbose

* ensure UTC and use sigtime_to_posixtime to convert text to timestamp
dns/dnssec.py
tests/keys.py [new file with mode: 0644]
tests/test_dnssec.py