pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49576: security/gnupg2: gpgkey2ssh command error



>Number:         49576
>Category:       pkg
>Synopsis:       security/gnupg2: gpgkey2ssh command error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 15 16:50:00 +0000 2015
>Originator:     ISIHARA Takanori
>Release:        pkgsrc -current 2015/1/16
>Organization:
Nagoya *BSD Users' Group :-)
>Environment:
NetBSD ishitPc9.home 6.1_STABLE NetBSD 6.1_STABLE (ISHITPC9) #21: Sun Sep 28 05:31:48 JST 2014  sysbuild%ishitPc9.home@localhost:/opt/sysbuild/netbsd-6/obj/i386/sys/arch/i386/compile/ISHITPC9 i386

>Description:
gpgkey2ssh command is broken.
Because the name of the gpg command of gnupg2 package is "gpg2".

>How-To-Repeat:

>Fix:
$NetBSD$

--- tools/gpgkey2ssh.c.orig	2014-08-11 21:43:41.000000000 +0000
+++ tools/gpgkey2ssh.c
@@ -266,7 +266,7 @@ main (int argc, char **argv)
   keyid = argv[1];
 
   ret = asprintf (&command,
-		  "gpg --list-keys --with-colons --with-key-data '%s'",
+		  "gpg2 --list-keys --with-colons --with-key-data '%s'",
 		  keyid);
   assert (ret > 0);
 



Home | Main Index | Thread Index | Old Index