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

CLI: Passing password interactively #59

Closed
miurahr opened this issue Jan 28, 2020 · 2 comments
Closed

CLI: Passing password interactively #59

miurahr opened this issue Jan 28, 2020 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@miurahr
Copy link
Owner

miurahr commented Jan 28, 2020

Is your feature request related to a problem? Please describe.
When decryption and encryption, user need to pass a password to program. Command line option can be seen by another process, that is sometimes a problem for security.
It is better to provide a way to pass password through interactive session, which is as same as p7zip does.

Describe the solution you'd like
When launch py7zr -P <archive> on terminal then process prompt password?: and wait input.

@miurahr miurahr added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jan 28, 2020
@miurahr miurahr changed the title Passing password interactively CLI: Passing password interactively Feb 3, 2020
@goc9000
Copy link

goc9000 commented Feb 21, 2020

I think the standard Python package getpass is exactly what you need.

@miurahr
Copy link
Owner Author

miurahr commented Feb 29, 2020

Update released

@miurahr miurahr closed this as completed Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants