Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
710 views

How do you securely move sensitive data from memory to a local disk?

Purpose of this question This question was created to share information, because the documentation for various modules is limited on this topic. This question might become a community wiki. Use Case ...
Life is complex's user avatar
2 votes
5 answers
3k views

Write in-memory data to an encrypted ZIP or 7Z (without using an on-disk temp file)

I have 2 GB of data in memory (for example data = b'ab' * 1000000000) that I would like to write in a encrypted ZIP or 7Z file. How to do this without writing data to a temporary on-disk file? Is it ...
Basj's user avatar
  • 46k
1 vote
1 answer
269 views

reproducible encrypted file

I need to create encryped reproducible file (same command with same password shall produce same encrypted file). I use the command: openssl enc -e -aes256 -pbkdf2 -base64 -nosalt -pass "pass:a_key" -...
Magnetar's user avatar
0 votes
1 answer
690 views

7z "incorrect command line" when applying encryption

I am using Ubuntu 14.04.3 LTS and I have installed p7zip, using sudo apt-get. However, when trying to encrypt a file, using the command below, I get an "incorrect command line" output: 7zr a -mhe=...
John's user avatar
  • 788
1 vote
0 answers
508 views

7zip - zip and encrypt entire directory of folders

I am using the below code to batch zip an entire directory of folders. for /d %%X in (*) do "c:\Program Files\7-Zip\7z.exe" a "%%X.zip" "%%X\" Is there a way to incorporate an encryption option to ...
Adam's user avatar
  • 19
104 votes
4 answers
280k views

7-Zip command to create and extract a password-protected ZIP file on Windows? [closed]

On Mac/Linux to zip/unzip password protected zip files, I use: Zip: zip -P password -r encrypted.zip folderIWantToZip Unzip: unzip -P password encrypted.zip What are the equivalent command on ...
user3254893's user avatar
  • 1,151