Control: tags -1 + patch Fixed by patch described in bug #738489:
Wrote patches to fix default paths to match Debian environment, also remove DLV and correct python-unbound initialization in tlsa: uncomment and use add_ta_file instead of ub_ctx_trustedkeys, which matches the libunbound documentation: https://unbound.net/documentation/libunbound-tutorial-6.html -- Gerald Turner <gtur...@unzane.com> Encrypted mail preferred! OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80 3858 EC94 2276 FDB8 716D
diff --git a/tlsa b/tlsa index 692f0f8..67a0ea5 100755 --- a/tlsa +++ b/tlsa @@ -130,8 +130,8 @@ def getRecords(hostname, rrtype='A', secure=True): """Do a lookup of a name and a rrtype, returns a list of binary coded strings. Only queries for rr_class IN.""" global resolvconf ctx = unbound.ub_ctx() - #ctx.add_ta_file(ROOTKEY) - unbound.ub_ctx_trustedkeys(ctx,ROOTKEY) + ctx.add_ta_file(ROOTKEY) + #unbound.ub_ctx_trustedkeys(ctx,ROOTKEY) ctx.set_option("dlv-anchor-file:", DLVKEY) # Use the local cache if resolvconf and os.path.isfile(resolvconf):
pgpV9nrts5Y1L.pgp
Description: PGP signature