Menu

#552 securing passwords when using cli

open
nobody
None
5
2024-04-13
2024-04-13
akoneri
No

I have a filevault software written in python (source) that uses 7z for encrypting the files. I am using the-p switch to pass the password for the encryption. Unfortunately, the password is easily visible in windows when i use task manager and select teh command line details of the process. Is there any way the password can be passed in scripts like mine in a manner where it is not visible in the process table.

If there isn't, a few desirable options would be -
1. reading from an environment variable
2. sourcing the password from a file

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.