NetBSD Problem Report #59325

From www@netbsd.org  Sat Apr 19 02:10:20 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 5C7E11A923D
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 19 Apr 2025 02:10:20 +0000 (UTC)
Message-Id: <20250419021019.22A4F1A923E@mollari.NetBSD.org>
Date: Sat, 19 Apr 2025 02:10:19 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: t_netpgpverify is failing on some ports
X-Send-Pr-Version: www-1.0

>Number:         59325
>Category:       bin
>Synopsis:       t_netpgpverify is failing on some ports
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 19 02:15:00 +0000 2025
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
The NetPGP Indigestion
>Environment:
>Description:
sparc and evbmips64-eb, at least (but not sparc64, so it's not just a big-endian thing):

Standard output stream

Executing command [ env TZ=US/Pacific netpgpverify -k dsa-pubring.gpg in1.gpg ]
Executing command [ env TZ=US/Pacific netpgpverify -k dsa-pubring.gpg ]
Executing command [ env TZ=US/Pacific netpgpverify -k dsa-pubring.gpg in1.asc ]
Executing command [ env TZ=US/Pacific netpgpverify -k dsa-pubring.gpg ]
Executing command [ env TZ=US/Pacific netpgpverify -k dsa-pubring.gpg -c cat in1.gpg ]
Executing command [ env TZ=US/Pacific netpgpverify -k dsa-pubring.gpg -c cat ]
Executing command [ env TZ=US/Pacific netpgpverify -k dsa-pubring.gpg -c cat in1.asc ]
Executing command [ env TZ=US/Pacific netpgpverify -k dsa-pubring.gpg -c cat ]
Executing command [ env TZ=US/Pacific netpgpverify -k dsa-pubring.gpg in2.gpg ]
Executing command [ env TZ=US/Pacific netpgpverify -k dsa-pubring.gpg in2.asc ]

Standard error stream

Fail: incorrect exit status: 1, expected: 0
stdout:
hash_any: bad algorithm
hash_any: bad algorithm
hash_any: bad algorithm
hash_any: bad algorithm
hash_any: bad algorithm
hash_any: bad algorithm
hash_any: bad algorithm
hash_any: bad algorithm
hash_any: bad algorithm
hash_any: bad algorithm
hash_any: bad algorithm
hash_any: bad algorithm
hash_any: bad algorithm
hash_any: bad algorithm
hash_any: bad algorithm

stderr:
Signature did not match contents -- Signature on data did not match

https://releng.netbsd.org/b5reports/sparc/2025/2025.04.17.20.02.32/test.html#usr.bin_netpgpverify_t_netpgpverify_netpgpverify_testset_2_dsa_signatures
>How-To-Repeat:
cd /usr/tests/usr.bin/netpgpverify
atf-run t_netpgpverify | atf-report
>Fix:
Yes, please!

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.