Adding extra info when generating a password
John Franklin
franklin at sentaidigital.com
Sun Jun 21 19:18:20 CEST 2020
On Sat, Jun 20, 2020 at 10:40 PM, Allan Odgaard
<lists+pass at simplit.com> wrote:
> On 21 Jun 2020, at 4:07, Nils Andre wrote:
>
>> Also `apg` already provides this functionality […]
>
> On BSD/macOS there is also `pwgen`, so agree, the proposed
> functionality does not belong as a separate command in `pass`.
>
> It would make more sense to remove password generation from `pass`,
> although with multiple commands for this, the overhead on
> standardizing the interface (to set password length, the inclusion or
> exclusion of certain symbols) would not be worth it, as `pass`
> currently just read n bytes from /dev/urandom (filtering out
> undesired characters).
>
> The advantage of outsourcing password generation could be support for
> a “quirks” database¹ but that would require extracting the web
> site for which the password is being generated, and although many put
> this in the password path, there is no strict convention.
>
> ¹
> https://github.com/apple/password-manager-resources/blob/main/quirks/password-rules.json
>
Adding support for external password generation sounds great, but that
should be a separate patch. It's orthoginal to OP's request: getting
the insert and generate commands to share command line options.
jf
--
John Franklin
franklin at sentaidigital.com
More information about the Password-Store
mailing list