From owner-freebsd-questions@freebsd.org Sat Nov 19 19:34:24 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 52028C4B1A3 for ; Sat, 19 Nov 2016 19:34:24 +0000 (UTC) (envelope-from mfv@bway.net) Received: from smtp1.bway.net (smtp1.v6.bway.net [IPv6:2607:d300:1::27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 31227135E for ; Sat, 19 Nov 2016 19:34:24 +0000 (UTC) (envelope-from mfv@bway.net) Received: from gecko4 (host-216-220-115-210.dsl.bway.net [216.220.115.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: m1316v@bway.net) by smtp1.bway.net (Postfix) with ESMTPSA id 5D63695855; Sat, 19 Nov 2016 14:34:14 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bway.net; s=mail; t=1479584054; bh=6ADtbWldgwfda/gH7FGm2SacQXpDL+oJ2f6h1NRx2kg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:Reply-To; b=Jd1fjTkQI4ymQfYY9OZ55v8jhu/4E1WneylNsRlSHUPSEFrPImf79PB9pWaO6xZgO YAw1gVX2gqdgDcnb8TiYROtzkjf2C9864kamkNPDj4bBBVT7PmQ2mK79H9wCKuexwj pPkz1bJNepS/BttRdqL/J4dj8B3MthtUywaPbAU4= Date: Sat, 19 Nov 2016 14:34:13 -0500 From: mfv To: "Brandon J.Wandersee" Cc: Steve O'Hara-Smith , Bertram Scharpf , freebsd-questions@freebsd.org Subject: Re: GnuPG Agent crashes Message-ID: <20161119143413.554b34a3@gecko4> In-Reply-To: <8637in75dk.fsf@WorkBox.homestead.org> References: <20161119154826.GA51517@becker.bs.l> <20161119162555.06b8cbcc6f77799894e7b80f@sohara.org> <8637in75dk.fsf@WorkBox.homestead.org> Reply-To: mfv@bway.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Nov 2016 19:34:24 -0000 > On Sat, 2016-11-19 at 11:21 Brandon J.Wandersee > wrote: > >Steve O'Hara-Smith writes: > >> On Sat, 19 Nov 2016 16:48:26 +0100 >> Bertram Scharpf wrote: >> >>> Hi, >>> >>> after a ports update and before I try to fix or report it: >>> >>> $ gpg-agent >>> Assertion failed: (res == 0), function enter_npth, file npth.c, >>> line 123. zsh: abort (core dumped) >>> >>> Who allows such crap to be committed? >> >> Well there doesn't seem to be a relevant patch in the port >> so I'd say most likely someone on the gnupg project. > >It's a known problem, stemming from the GnuPG project. A fix is >supposedly on the way.[1] > >[1]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214568 > Hello, I too have been bitten by this bug, in particular, encrypted emails can no longer be read. According to Bugzilla it appears this issue will not be resolved until the imminent upgraded of gpg to v2.1.16. As a side issue, I've been exploring the use of a smart card to enhance the security of logging in and encrypting files and emails, but this bug has me spooked. Is it correct to assume that if a computer relies on a smart card to log in, it would be inaccessible due to this or similar bugs? I would appreciate any advice on the use of smart cards and pointers for further information. My greatest concern is being locked out; not due to a missing password but due to a software glitch. I suppose a method to access such a computer is to log in as root and wait until the upgrade is available. But if the whole disc is encrypted how is it possible to access it to perform the upgrade? Lastly, is it possible to set up a login to access a long password contained in a file on a USB thumb drive? Cheers ... Marek