From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: HELP needed with CA certificates! [PATCH] gnu: Add tup, Add pbpst. Date: Thu, 01 Sep 2016 13:51:17 +0000 Message-ID: <87oa47sp7u.fsf@we.make.ritual.n0.is> References: <87y43ksj47.fsf@we.make.ritual.n0.is> <87h9a4y5ck.fsf@gnu.org> <87y43g60j3.fsf@we.make.ritual.n0.is> <87oa48lm43.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfSOv-0000J6-9R for guix-devel@gnu.org; Thu, 01 Sep 2016 09:51:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfSOt-0000ca-4L for guix-devel@gnu.org; Thu, 01 Sep 2016 09:51:28 -0400 In-Reply-To: <87oa48lm43.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Courtès writes: > Hi, > > ng0 skribis: > >>> The ‘nss-certs’ package provides X.509 certificates: >>> >>> https://www.gnu.org/software/guix/manual/html_node/X_002e509-Certificates.html >> >> I commented nss-certs, enabled or disabled it made no difference to the >> resulting binary. > > You need to have ‘nss-certs’ installed, *and* set the environment > variables mentioned above (depending on whether you use OpenSSL, GnuTLS, > Git, etc.; for GnuTLS, I think there’s no such environment variable.) > > HTH! > Ludo’. Thanks. Can you be more specific on why it could fail when all of this is set in the user environment? I did all of this, and it still fails. environment values exported in my user profile, nss-certs installed in user profile and system wide, set nss-certs as an input of pbpst, still: ng0@shadowwalker /gnu/store/1ciyxbyciasmdgmad3p2qmp9c3qnrc8i-pbpst-1.2.0-1.e58e573/bin$ ./pbpst --help Usage: pbpst [option ...] pbpst -- a simple tool to pastebin from the command-line Operations: -S, --sync Create a paste -s, --shorten=URL Create a redirect to URL -R, --remove Delete a paste -U, --update Update a paste -D, --database Operate on the database Options: -h, --help List this help and exit -b, --dbpath=PATH Use the database at PATH -P, --provider=HOST Use HOST as the pb provider -V, --verbose Output verbosely --list-lexers List available lexers and exit --list-themes List available themes and exit --list-formats List available formatters and exit --version List the version and exit Run `pbpst -h` with an operation for help with that operation ng0@shadowwalker /gnu/store/1ciyxbyciasmdgmad3p2qmp9c3qnrc8i-pbpst-1.2.0-1.e58e573/bin$ ./pbpst --list-lexers pbpst: Could not create the swap db: File exists pbpst: Ensure no other instances of pbpst are running and that all pastes have been saved pbpst: Then manually remove: /home/ng0/.config/pbpst/.db.json.swp ng0@shadowwalker /gnu/store/1ciyxbyciasmdgmad3p2qmp9c3qnrc8i-pbpst-1.2.0-1.e58e573/bin$ rm /home/ng0/.config/pbpst/.db.json.swp ng0@shadowwalker /gnu/store/1ciyxbyciasmdgmad3p2qmp9c3qnrc8i-pbpst-1.2.0-1.e58e573/bin$ ./pbpst --list-lexers pbpst: Listing failed: Peer certificate cannot be authenticated with given CA certificates -- ng0 For non-prism friendly talk find me on http://www.psyced.org