Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bob Eager Newsgroups: comp.sys.mac.system,comp.sys.mac.misc,comp.unix.misc,comp.misc Subject: Re: Do you use a password manager? Date: 16 Jul 2021 22:19:14 GMT Lines: 55 Message-ID: References: <87zgumv0vi.fsf@tigger.extechop.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net +SYRSed+e4ysTb7LbNB7zgPpDtfEtXkUK8FXqDEmY9Cs7M1Dxu Cancel-Lock: sha1:8p2laJEgZfbyFrsLx/FGAtDfUtw= User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2) Xref: csiph.com comp.sys.mac.system:137294 comp.sys.mac.misc:8089 comp.unix.misc:310 comp.misc:21094 On Fri, 16 Jul 2021 22:05:44 +0000, Lewis wrote: > In message Bob Eager > wrote: >> On Fri, 16 Jul 2021 20:10:38 +0000, Lewis wrote: > >>> In message Bob Eager >>> wrote: >>>> On Fri, 16 Jul 2021 16:34:09 +0300, Otto J. Makela wrote: >>> >>>>> Wade Garrett wrote: >>>>> >>>>>> I'd like to use a password manager but I'm not comfortable with >>>>>> that data being on some server somewhere- allegedly encrypted or >>>>>> not. >>>>>> >>>>>> If there's one that keeps the data just on the local machine, I'd >>>>>> be interested. >>>>> >>>>> I believe the classic "pass" (based on pgp) is available on various >>>>> Unix implementations, including MacOS. >>>>> >>>>> https://www.passwordstore.org/ >>> >>>> Indeed. I use it all the time. And it would be easy to do automatic >>>> replication to anything that supported a shell. >>> >>> I find this works well if I don't happen to have 1Password available >>> (like on a remote machine, for example) >>> >>> uuidgen| sha256sum| cut -c -24 >>> >>> (or any number from 16 on up to 64, though i do not need a 64 hex >>> digit password, ever.) >>> >>> But I add those passwords to my password manager immediately, of >>> course. > >> Mine, in that situation, is: > >> dd if=/dev/random count=1 bs=16 2>/dev/null | b64encode - | \ >> sed -e 's/=*$//' -e '/^begin/d' -e '/^$/d' > > There's no "b64encode" on my macOS. Sorry - it's a FreeBSD command, equivalent to uuencode -m (which you may or may not have). I like the general idea of using /dev/random, though. -- Using UNIX since v6 (1975)... Use the BIG mirror service in the UK: http://www.mirrorservice.org