Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2018 18:18:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 232254] ports-mgmt/pkg:  Unable to sign repos in -current
Message-ID:  <bug-232254-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232254

            Bug ID: 232254
           Summary: ports-mgmt/pkg:  Unable to sign repos in -current
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: sbruno@FreeBSD.org
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

After the base update of openssl, pkg-static and pkg rebuilt against this
version of openssl are unable to sign repos with a given key:

access("/root/ssl/pkg.key",R_OK)                 =3D 0 (0x0)
open("/root/ssl/pkg.key",O_RDONLY,0666)          =3D 5 (0x5)
close(5)                                         =3D 0 (0x0)
write(1,"\n",1)                                  =3D 1 (0x1)
write(2,"pkg-static: ",12)                       =3D 12 (0xc)
write(2,"can't load key from /root/ssl/pk"...,37) =3D 37 (0x25)
write(2,"\n",1)                                  =3D 1 (0x1)
write(4,"\M-}7zXZ\0\0\^D\M-f\M-V\M-4F\^B"...,76) =3D 76 (0x4c)
close(4)                                         =3D 0 (0x0)
unlink("/tmp/foo/meta")                          =3D 0 (0x0)
ioctl(1,TIOCGETA,0x7fffffffd718)                 =3D 0 (0x0)
write(1,"\rPacking files for repository: "...,35) =3D 35 (0x23)
ioctl(1,TIOCGETA,0x7fffffffd718)                 =3D 0 (0x0)
write(1,"\n",1)                                  =3D 1 (0x1)
close(3)                                         =3D 0 (0x0)
exit(0x41)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
process exit, rval =3D 65



root@bob.nyi:/usr/local/poudriere/data/packages/12-amd64-cluster-default # =
pkg
info pkg
pkg-1.10.5_4
Name           : pkg
Version        : 1.10.5_4
Installed on   : Sun Oct 14 17:13:09 2018 UTC
Origin         : ports-mgmt/pkg
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : ports-mgmt
Licenses       : BSD2CLAUSE
Maintainer     : pkg@FreeBSD.org
WWW            : https://wiki.freebsd.org/pkgng
Comment        : Package manager
Options        :
        DOCS           : on
Shared Libs provided:
        libpkg.so.4
Annotations    :
        FreeBSD_version: 1200085
Flat size      : 12.7MiB
Description    :
Package management tool

WWW: https://wiki.freebsd.org/pkgng
root@bob.nyi:/usr/local/poudriere/data/packages/12-amd64-cluster-default #
/usr/local/sbin/pkg-static repo /tmp/foo /root/ssl/pkg.key
Creating repository in /tmp/foo: 100%
Packing files for repository:   0%
pkg-static: can't load key from /root/ssl/pkg.key
Packing files for repository: 100%

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232254-32340>