NicolasPetton / pass

A major mode for password-store
GNU General Public License v3.0
174 stars 22 forks source link

Add optional arguments to pass-insert-generated function #44

Closed fernandodemorais-jf closed 10 months ago

fernandodemorais-jf commented 3 years ago

Hello,

Please, consider the implementation of a function like pass-insert-generated, but with the possibility to pass, interactively, optional arguments of password-store--run-generate internal function, such as password-length and no-symbols.

It could be a new function, like pass-insert-generated-with-options, assigned to another keybinding.

I would love to make this suggestion through a Pull request, but my skills with EmacsLisp are still very limited.

Thanks in advance.

doolio commented 10 months ago

The latest version of password-store.el has password-store-generate-no-symbols and which allows you to specify the password-length. It is not exposed by pass.el though so you would need to M-x password-store-generate-no-symbols to use it.

fernandodemorais-jf commented 10 months ago

Thank you, @doolio!

doolio commented 10 months ago

You're welcome.