-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplelogin alias generation only generate random words instead the domain name #13024
base: main
Are you sure you want to change the base?
Simplelogin alias generation only generate random words instead the domain name #13024
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
libs/tools/generator/components/src/username-generator.component.ts
Outdated
Show resolved
Hide resolved
This comment was marked as resolved.
This comment was marked as resolved.
...c/vault/popup/components/vault-v2/vault-generator-dialog/vault-generator-dialog.component.ts
Outdated
Show resolved
Hide resolved
libs/tools/generator/components/src/username-generator.component.ts
Outdated
Show resolved
Hide resolved
libs/tools/generator/components/src/username-generator.component.ts
Outdated
Show resolved
Hide resolved
libs/vault/src/cipher-form/abstractions/cipher-form-generation.service.ts
Show resolved
Hide resolved
get getCipherView(): CipherView | null { | ||
return this.updatedCipherView ?? new CipherView(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎨 The cipher could be further protected if this is scoped to the uri
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! It would be preferable to have the updatedCipherView
protected as possible to ensure the only way it is written to is through the child form controls.
Let's expose it as a read-only uri
instead like you've suggested. Thanks for catching that @audreyality!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in 4f50857.
This comment was marked as resolved.
This comment was marked as resolved.
@djsmith85 - added you as a reviewer since I'm now one of the authors. 😁 |
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-16171
📔 Objective
This PR addresses the issue where the Simplelogin alias generator creates random words instead of including the current website's domain name. The new implementation ensures that aliases are generated based on the active website domain and updates the Simplelogin alias note appropriately.
The alias should be generated in the format [email protected], where website is derived from the current browser tab's domain.
The alias note in Simplelogin should include:
Website: www.website.com. Generated by Bitwarden.
📸 Screenshots
browser.mp4
web.mp4
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes