X-Scanned-BY: MIMEDefang 2.79 on 10.5.11.13 From pemensik@redhat.com Wed Jun 7 14:19:54 2017 MIME-Version: 1.0 Dkim-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 5884180C0A X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.0 Dmarc-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 5884180C0A Content-Language: en-US content-type: text/plain; charset="utf-8" Message-ID: Received: from mx.pao1.isc.org (mx.pao1.isc.org [IPv6:2001:4f8:0:2::2b]) by bugs.isc.org (Postfix) with ESMTP id 64B7171B5A8 for ; Wed, 7 Jun 2017 14:19:54 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.pao1.isc.org (Postfix) with ESMTPS id 5093134930F for ; Wed, 7 Jun 2017 14:19:52 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5884180C0A for ; Wed, 7 Jun 2017 14:19:51 +0000 (UTC) Received: from menpad.brq.redhat.com (menpad.brq.redhat.com [10.34.4.127]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E20095C685 for ; Wed, 7 Jun 2017 14:19:50 +0000 (UTC) Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=pemensik@redhat.com Delivered-To: bind9-bugs@bugs.isc.org Subject: [PATCH] Not matching regexp for check5011.pl User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 Return-Path: X-Original-To: bind9-bugs@bugs.isc.org Date: Wed, 7 Jun 2017 16:19:47 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Wed, 07 Jun 2017 14:19:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx.pao1.isc.org To: bind-bugs@isc.org Content-Transfer-Encoding: 8bit From: "Petr Menšík" X-RT-Original-Encoding: iso-8859-2 X-RT-Interface: Email Content-Length: 566 Hi! I was trying check5011.pl script to test validity of trust anchors in my bind file. I have found that it does not parse well recent dig +multiline output of dig. Before alg always ended without space, but at least from version 9.10.4 there is space present. Now: ; KSK; alg = RSASHA256 ; key id = 19036 Before: ; KSK; alg = RSASHA256; key id = 19036 check5011.pl does silently fail to parse alg and key id. Uses previous values from DNSKEY flags instead. It is not print helpful results then. I am sending patch that accepts both versions. Petr Menšík