Skip to content

security: mask terminal password input and implement requests excepti…#10

Open
Darshan-paapani06 wants to merge 1 commit into
prasan474:mainfrom
Darshan-paapani06:feature/registration-client-security-hardening
Open

security: mask terminal password input and implement requests excepti…#10
Darshan-paapani06 wants to merge 1 commit into
prasan474:mainfrom
Darshan-paapani06:feature/registration-client-security-hardening

Conversation

@Darshan-paapani06
Copy link
Copy Markdown

🚀 Purpose

Upgrades terminal operational privacy and implements resilient connection exception tracking layouts inside the local investigator registration client script.

🛠️ Changes Made

  • Credential Echo Obfuscation: Exchanged raw input routines for standard getpass.getpass() modules to hide sensitive password text entries from screen visibility mirrors.
  • Request Exception Interception: Wrapped HTTP routing channels inside dedicated RequestException boundaries to catch server drops gracefully.
  • Connection Latency Timeout Bounds: Mounted an explicit timeout=15 threshold limit to protect client processes from lockups on stalled endpoints.
  • Unpacked Response Formats: Added deep response.json() extraction filters to guard the output reporting arrays from un-formatted crash exceptions.

🧪 Verification Done

  • Verified input masking flows locally; terminal suppresses keystroke visibility indicators perfectly during security configuration steps.
  • Disconnected the Flask host framework purposefully; the client catches the socket gap cleanly, spitting out a readable error summary instead of throwing a raw thread trace down the shell console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant