From owner-freebsd-questions@freebsd.org Mon Jul 3 10:35:28 2017 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 9F3AF9E370E for ; Mon, 3 Jul 2017 10:35:28 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward2p.cmail.yandex.net (forward2p.cmail.yandex.net [IPv6:2a02:6b8:0:1465::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B8A166E3D for ; Mon, 3 Jul 2017 10:35:28 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::28]) by forward2p.cmail.yandex.net (Yandex) with ESMTP id B4D6820FBE; Mon, 3 Jul 2017 13:35:15 +0300 (MSK) Received: from smtp4o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id 8C1E46C0116C; Mon, 3 Jul 2017 13:35:14 +0300 (MSK) Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id xcySaxrGP7-ZDWuXdPs; Mon, 03 Jul 2017 13:35:13 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=passap.ru; s=mail; t=1499078113; bh=HWEKyDci23EXh5doopuT0NSOkyaG6ceB/1SFhoqMmtQ=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=anQf+HYpP0uyVQTdW1FFXqdYsIYgc5RKNXiC5aLVGS/6wscnS9fTy7wvnvhBk6zYG vIDAgkv+rbJaNYuUnorxl/DPGOvX7ivb/KTyZkaD/CqnwKZhEOvooJQNhJN/AjoaTI yp6hsSNuS8KRZPF5SriU5LG4jK8FUkGTJI1uZHDE= Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@passap.ru X-Yandex-Suid-Status: 1 0,1 0 Subject: Re: passwordmanager && browserpass To: Matthias Apitz , freebsd-questions@freebsd.org References: <20170703095455.GA24996@sh4-5.1blu.de> From: Boris Samorodov Message-ID: <23cd5db0-da1c-f831-9352-8a0d71aabba7@passap.ru> Date: Mon, 3 Jul 2017 13:32:42 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170703095455.GA24996@sh4-5.1blu.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: ru-RU Content-Transfer-Encoding: 8bit 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: Mon, 03 Jul 2017 10:35:28 -0000 03.07.2017 12:54, Matthias Apitz пишет: > > Hello, > > I'm keen to use for firefox in FreeBSD CURRENT the following tools: > > [1] https://www.passwordstore.org/ > [2] https://github.com/dannyvankooten/browserpass > > For [1] we have in our ports sysutils/password-store which works fine > and as well with my GnuPG crypto stick. Having [2] would allow to use > the passwordstore from [1] in Firefox and unlock this storage by just > entering a 6 digit PIN of the GnuPG crypto stick. > > For [2] I do not see anything in our ports and I can not make it from > the sources: > > $ cd browserpass-1.0.6 > $ gmake browserpass > go build -o browserpass ./cmd/browserpass > cmd/browserpass/main.go:8:2: cannot find package > "github.com/dannyvankooten/browserpass" in any of: > /usr/local/go/src/github.com/dannyvankooten/browserpass (from $GOROOT) > /home/guru/go/src/github.com/dannyvankooten/browserpass (from $GOPATH) > cmd/browserpass/main.go:9:2: cannot find package > "github.com/dannyvankooten/browserpass/pass" in any of: > /usr/local/go/src/github.com/dannyvankooten/browserpass/pass (from $GOROOT) > /home/guru/go/src/github.com/dannyvankooten/browserpass/pass (from $GOPATH) > gmake: *** [makefile:27: browserpass] Error 1 > > I do not even know, if this the correct way to build it. The README.md > in the source tree is not very helpfull for FreeBSD. > > Any hints? If you do: ----- % go get -u github.com/dannyvankooten/browserpass % cd $GOPATH/src/github.com/dannyvankooten/browserpass/cmd/browserpass % go build [*] ----- You should get: ----- % ls -l total 1505 -rwxr-xr-x 1 bsam 1001 2905507 3 июля 13:25 browserpass -rw-r--r-- 1 bsam 1001 357 3 июля 13:19 main.go ----- And it's up to you what's next. ;-) [*] If you have $GOPATH/bin at your $PATH, you may do "go install" instead. And you'll get the binary at your $PATH (actually, at $GOPATH/bin). -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve