bitwarden / clients

Bitwarden client apps (web, browser extension, desktop, and cli).
https://bitwarden.com
Other
9.28k stars 1.25k forks source link

Bitwarden CLI password generator does not generate passwords longer than 128 characters #10989

Closed ma-benedetti closed 1 month ago

ma-benedetti commented 1 month ago

Steps To Reproduce

  1. Generate a password with length > 128 characters: bw generate --length 256

Expected Result

A password with length of 256 characters

Actual Result

A password with length of 128 characters

Screenshots or Videos

No response

Additional Context

No response

Operating System

Linux

Operating System Version

No response

Shell

Bash, Zsh

Build Version

2024.8.2

Issue Tracking Info

Neonwarden commented 1 month ago

Hi there,

We use GitHub issues as a place to track bugs and other development-related issues.

Currently, generated passwords have a 128-character limit.

The Bitwarden Community Forums has a Feature Requests section for submitting, voting for, and discussing requests like this one: https://community.bitwarden.com/c/feature-requests/

Please sign up on our forums and search to see if this request already exists (https://community.bitwarden.com/signup). If so, you can vote for it and contribute to any discussions about it. If not, you can re-create the request there so that it can be properly tracked.

This issue will now be closed. Note that the “Closed as not planned” status is for internal tracking purposes only, please do not hesitate to send us your suggestions to the forum.

Thanks!

ma-benedetti commented 1 month ago

Ideally, this limit should then at least be documented in bw generate --help and/or return a message or error if a length greater than 128 chars is requested. It is very confusing for end users if the CLI silently applies this limit without any notice.