bind9/lib/dns
Matthijs Mekking 5e3aef364f dnssec-signzone retain signature if key is offline
Track inside the dns_dnsseckey structure whether we have seen the
private key, or if this key only has a public key file.

If the key only has a public key file, or a DNSKEY reference in the
zone, mark the key 'pubkey'. In dnssec-signzone, if the key only
has a public key available, consider the key to be offline. Any
signatures that should be refreshed for which the key is not available,
retain the signature.

So in the code, 'expired' becomes 'refresh', and the new 'expired'
is only used to determine whether we need to keep the signature if
the corresponding key is not available (retaining the signature if
it is not expired).

In the 'keysthatsigned' function, we can remove:
  -	key->force_publish = false;
  -	key->force_sign = false;

because they are redundant ('dns_dnsseckey_create' already sets these
values to false).
2025-01-23 09:43:07 +00:00
..
include dnssec-signzone retain signature if key is offline 2025-01-23 09:43:07 +00:00
rdata Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
.gitignore Add support for User Statically Defined Tracing (USDT) probes 2023-08-21 18:39:53 +02:00
acl.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
adb.c Remove memory limit on ADB finds and fetches 2025-01-22 14:13:35 +01:00
badcache.c Improve the badcache cleaning by adding LRU and using RCU 2024-11-27 17:44:53 +01:00
byaddr.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
cache.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
callbacks.c Convert all categories and modules into static lists 2024-08-20 12:50:39 +00:00
catz.c clean up log module names 2024-12-11 17:11:32 +00:00
client.c Add +maxtotalqueries option to delv 2024-12-05 14:17:08 +01:00
clientinfo.c refactor dns_clientinfo_init(); use separate function to set ECS 2023-02-07 23:48:22 -08:00
compress.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
db.c use more generic log module name for 'logtoomanyrecords' 2024-11-26 04:06:58 +00:00
db_p.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
dbiterator.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
diff.c Incrementally apply AXFR transfer 2024-11-22 15:00:55 +01:00
dispatch.c Use a suitable response in tcp_connected() when initiating a read 2025-01-22 13:40:45 +00:00
dlz.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dns64.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dnssec.c dnssec-signzone retain signature if key is offline 2025-01-23 09:43:07 +00:00
dnstap.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dnstap.proto Update the dnstap protobuf definition 2024-04-26 16:08:46 +03:00
ds.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dst_api.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dst_internal.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
dst_openssl.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
dst_parse.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dst_parse.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
dyndb.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
ecs.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
fixedname.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
forward.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
gen.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
geoip2.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
gssapi_link.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
gssapictx.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
hmac_link.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
ipkeylist.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
iptable.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
journal.c Optimize memory layout of core structs 2024-11-27 16:04:25 +01:00
kasp.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
key.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
keydata.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
keymgr.c Fix possible truncation in dns_keymgr_status() 2025-01-23 09:31:00 +01:00
keystore.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
keytable.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
Makefile.am Remove RBTDB implementation 2024-11-12 09:07:19 +01:00
master.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
masterdump.c Terminate yaml string after negative comment 2025-01-22 21:33:08 +00:00
message.c add support for multiple EDE 2025-01-22 21:07:44 +01:00
name.c Optimize memory layout of core structs 2024-11-27 16:04:25 +01:00
nametree.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
ncache.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
nsec.c Drop single-use RETERR macro 2024-12-10 08:46:22 +00:00
nsec3.c dns_nsec3_addnsec3() can fail when iterating back 2025-01-09 17:04:08 -08:00
nta.c Implement global limit for outgoing queries 2024-12-05 14:17:07 +01:00
openssl_link.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
openssl_shim.h Move the dst__openssl_toresult to isc_tls unit 2024-08-08 11:59:41 +02:00
opensslecdsa_link.c disable deterministic ecdsa for fips builds 2024-12-09 10:33:01 +00:00
openssleddsa_link.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
opensslrsa_link.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
order.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
peer.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
private.c Apply more SET_IF_NOT_NULL() changes 2024-12-13 13:52:52 +01:00
probes.d Do not destroy IXFR journal in xfrin_end() 2023-12-20 17:21:14 +01:00
qp.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
qp_p.h Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
qpcache.c Optimize database decref by avoiding locking with refs > 1 2025-01-22 14:27:13 +01:00
qpcache_p.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
qpzone.c Optimize database decref by avoiding locking with refs > 1 2025-01-22 14:27:13 +01:00
qpzone_p.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
rcode.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
rdata.c Parse the URI template and check for a dns variable 2024-11-26 12:38:49 +11:00
rdatalist.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
rdataset.c remove "sortlist" 2024-12-11 15:09:24 -08:00
rdatasetiter.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
rdataslab.c Rewrite the GLUE cache in QP zone database 2024-12-13 21:48:11 +01:00
remote.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
request.c Separate the connect and the read timeouts in dispatch 2025-01-22 11:57:52 +00:00
resconf.c Remove artificial search limit from libirs 2024-12-10 00:51:56 +00:00
resolver.c Clean up fctx->next_timeout 2025-01-22 13:40:45 +00:00
result.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
rootns.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
rpz.c clean up log module names 2024-12-11 17:11:32 +00:00
rriterator.c Remove fixed value for the rrset-order option 2024-12-09 13:09:26 +01:00
rrl.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
sdlz.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
skr.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
soa.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
ssu.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
ssu_external.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
stats.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
time.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
tkey.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
transport.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
tsig.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
tsig_p.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
ttl.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
update.c Revert "Attach dnssecsignstats, rcvquerystats, and requeststats" 2024-12-06 19:46:39 +01:00
validator.c Replace remaining usage of DNS_R_MUSTBESECURE with DNS_R_NOVALIDSIG 2024-12-09 13:10:21 +01:00
view.c Apply more SET_IF_NOT_NULL() changes 2024-12-13 13:52:52 +01:00
xfrin.c Separate the connect and the read timeouts in dispatch 2025-01-22 11:57:52 +00:00
zone.c Separate the connect and the read timeouts in dispatch 2025-01-22 11:57:52 +00:00
zone_p.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
zonekey.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
zoneverify.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
zt.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00