Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
5 years ago[30, 64] Generated password length is capped at 64
So, this was the case with op v1 too...
$ op item create ... --generate-password=67,letters,digits
[ERROR] 2021/12/03 20:37:59 invalid argument "67,letters,digits" for "--generate-password" f...
Former Member
4 years agoHey Backspaze
Thanks for your ideas.
I also agree having parity across the clients makes sense. In this case, I believe that 64 chars was chosen for the CLI because it is the max char value in the web client at 1password.com! Having said that, It might be a good time to get all of the clients on the same page, and we appreciate the reminder.
We currently have an internal ticket tracking the issue of increasing the max to 100 chars and are still in the process of discussing the correct approach so hang tight!
Regarding your idea of being able to modify the default recipe, I want to create a ticket for that as well as I think it'd be a great feature. What do you think about setting an environment variable that would override the default password recipe?
For example:
export OP_DEFAULT_PASSWORD_RECIPE=64,letters,digits