Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by mail-b.sr.ht (Postfix) with ESMTPS id 1F1CEFF0D1 for <~gpanders/passage@lists.sr.ht>; Wed, 2 Dec 2020 19:21:03 +0000 (UTC) X-Originating-IP: 98.32.4.57 Received: from localhost (c-98-32-4-57.hsd1.nm.comcast.net [98.32.4.57]) (Authenticated sender: greg@gpanders.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 61D781BF20E; Wed, 2 Dec 2020 19:21:01 +0000 (UTC) Date: Wed, 2 Dec 2020 12:20:57 -0700 From: Gregory Anders To: Robin Opletal , ~gpanders/passage@lists.sr.ht Subject: Re: Motivation for the project Message-ID: Mail-Followup-To: Robin Opletal , ~gpanders/passage@lists.sr.ht References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: On Wed, 02 Dec 2020 at 12:07 -0700, Gregory Anders wrote: >On Wed, 02 Dec 2020 at 17:50 +0100, Robin Opletal wrote: >>Thanks - I am not experiencing that big of a lag, I would say >>retrieving a password and copying it to the clipboard takes 0.08s >>with an unlocked keyring. Improvements are always welcome though - I >>was just curious :) > >It seems like this might just be an issue on macOS. I just tried pass >on Ubuntu 16.04 and it was quite fast (~140ms). > >This is good to know, thanks for sharing your experience. I actually figured out what the problem is: https://git.zx2c4.com/password-store/commit/?id=07b169ec32ad6961ed8625a0b932a663abcb01d2 On macOS, pass uses the brew command to find the path for GNU getopt. This is what is actually taking so long. The commit above fixes the issue. I'm glad you said something or else I likely wouldn't ever have dug into this. It's good know that it's not pass itself that is slow.