Skip to content
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

Persisting/clearing policy for generated phrases #42

Open
philipmw opened this issue Sep 19, 2022 · 0 comments
Open

Persisting/clearing policy for generated phrases #42

philipmw opened this issue Sep 19, 2022 · 0 comments
Labels
enhancement New feature or request research Deliverable is unclear; needs investigation

Comments

@philipmw
Copy link
Owner

Right now, the app displays the last generated phrase indefinitely, but it does not persist it in any local storage.

This means we don't control if/when the phrase disappears from the customer. It depends on the browser. For mobile devices, it depends on memory pressure.

The customer may want us to clear the phrase more aggressively. They can already close the tab/window, but maybe they forgot and hand the device to someone else who can unintentionally see the phrase.

Or the customer may want us to be conservative and persist the phrase until they explicitly clear it. I've had it happen that I generate a phrase, set it as the password on an important system, then forget it-- and it was already gone by then.

I see three possible approaches:

  1. Clear phrase after X time (optimize for security).
  2. Keep current behavior. Let the browser manage it. (optimize for simplicity).
  3. Persist phrase in local storage until explicit customer action. (optimize for data integrity).

I don't have a clear answer.

@philipmw philipmw added research Deliverable is unclear; needs investigation enhancement New feature or request labels Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request research Deliverable is unclear; needs investigation
Projects
None yet
Development

No branches or pull requests

1 participant