PromptManager::prompt_passphrase doesn't render properly after end-of-line #7

Closed
opened 2023-12-21 19:46:30 +00:00 by ryan · 4 comments
Owner

Text is still removed from the prompt but the cursor is not moved to the previous line.

Text is still removed from the prompt but the cursor is not moved to the previous line.
Author
Owner

Somewhat handled. There is no indication that the user is typing beyond the end of the line. Perhaps replacing the last character with something in \|/- like the really old npm package management would be nice.

Somewhat handled. There is no indication that the user is typing beyond the end of the line. Perhaps replacing the last character with something in `\|/-` like the really old npm package management would be nice.
Author
Owner

i.e. each character input changes it from what it was, to the next position

i.e. each character input changes it from what it was, to the next position
Author
Owner

['/', '-', '\', '|'][passphrase.len() % 4]

`['/', '-', '\', '|'][passphrase.len() % 4]`
Author
Owner

could leak info of password. leaving as-is, closing.

could leak info of password. leaving as-is, closing.
ryan closed this issue 2024-08-15 03:55:32 +00:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: public/keyfork#7
No description provided.