NetBSD Problem Report #53443

From reed@nb3.reedmedia.net  Wed Jul 11 17:58:08 2018
Return-Path: <reed@nb3.reedmedia.net>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 3F36F7A14E
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 11 Jul 2018 17:58:08 +0000 (UTC)
Message-Id: <20180711175807.E64D71537B1@nb3.reedmedia.net>
Date: Wed, 11 Jul 2018 17:58:07 +0000 (UTC)
From: reed@reedmedia.net
Reply-To:
To: gnats-bugs@NetBSD.org
Subject: named and dig not working with HMAC-SHA512 TSIG
X-Send-Pr-Version: 3.95

>Number:         53443
>Category:       bin
>Synopsis:       named and dig not working with HMAC-SHA512 TSIG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 11 18:00:00 +0000 2018
>Originator:     reed@reedmedia.net
>Release:        NetBSD 7.0.2
>Organization:
>Environment:


System: NetBSD nb3.reedmedia.net 7.0.2 NetBSD 7.0.2 (XEN3_DOMU.201610210724Z) amd64
Architecture: x86_64
Machine: amd64
>Description:
Has named.conf setup to use TSIG. The algorithm is HMAC-SHA512.
My zone transfers failed with "tsig indicates error"
(or if IPv6 with "operation canceled").
Also using dig with -y failed and the pseudo section showed BADSIG.
This is NetBSD's base BIND which is 9.10.4-P3
I installed bind-9.10.7 withj pkgin and same named.conf worked for
tsig and my zone transfer and same /usr/pkg/bin/dig -y  worked for me.
I dont' know if the problem is with HMAC-SHA512 specifically. I didn't test
further, but at least I know the package works and base install doesn't.
>How-To-Repeat:

>Fix:


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.