Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [file-encryption]

The process of encrypting individual files on a storage medium and permitting access to the encrypted data only after proper authentication is provided.

0
votes
1answer
20 views

Best practice for config files for ec2 instances

I am building a lamp server ec2 image for a project we are doing. These images will be in an autoscaling group and on startup will be running startup script. THere are some config files that have ...
1
vote
2answers
109 views

Can I use RSA to encrypt an AES256 key that I put at the beginning of my AES256 encrypted file?

I have a master server generating large files for other (known) servers to download. Those files: Are quite big. From 20MB to 5GB. Are written once by the server and then it forgets about them. ...
1
vote
1answer
52 views

Encryption for cloud storage

Background / Requirements using a Windows machine hard drives are already (veracrypt) encrypted volumes not relying on any cloud service provider to trust them with their encryption file by file ...
0
votes
1answer
58 views

Backing up an encypted drive on an encrypted drive

I have searched, and have been unable to find an adequate answer to my question. My apologies as I'm sure this is a relatively elementary question for the users here. I have encrypted my Windows 10 ...
3
votes
1answer
193 views

How secure is a 100-bit password in 2018 and onwards?

Long story short, I share a server with a few other people and store my backups there. All these backups are archived to a .7z file using AES-256 encryption, using a randomly-generated password of ...
0
votes
1answer
43 views

Is there any 'Open Enrypted File Container' Format?

Tools that create 'encrypted file containers' use open encryption standards like AES to encrypt container contents, however the container format is proprietary, I am guessing, so need the same tool to ...
1
vote
1answer
35 views

Potential security issue with md5 filename

I've been storing files using a filename of the md5 hash of the file. This allows me to not store duplicates of the same file and avoids any filename clashes. Each file has uses a different salt/iv. ...
0
votes
1answer
63 views

Crypto-shredding & backups of keys

I was wondering, how is crypto-shredding implemented in an environment, where data backups/mirroring is mandatory for the "key database" - as it must not be possible to lose the machine/db with all ...
0
votes
1answer
77 views

Recognise tool by which file was encrypted [duplicate]

I have file with extension *.encrypted. Can you give me some advice how to recognise by witch tool was this file encrypted? It´s not encrypted by some ransomware but by some encrypt tool. When I open ...
1
vote
1answer
107 views

Dropbox ransomware experience

How Dropbox handles ransomware issues? Can it effectively restore files encrypted by ransomware? The reason I am asking is because I am looking for a bullet-proof solution against ransomware and ...
1
vote
1answer
224 views

openssl vs gpg for file based encryption? Pros vs cons for security?

I want to encrypt a tar archive and optionally a block file system (akin to DMG image). Does anyone know the pros vs cons of encrypting each with OpenSSL vs GPG? I ask because some have stated that ...
4
votes
2answers
98 views

Is it safe to upload a read-only encrypted volume to a cloud folder?

I know keeping an active encrypted volume (like a VeraCrypt drive or a simple zip folder encrypted with AES256) on Dropbox/OneDrive/Gdrive/etc. is risky; data can be corrupted and the pattern of ...
1
vote
0answers
17 views

Using the same passphrase for files and filenames with filesystem-level encryption such as eCryptfs

In filesystem-level encryption schemes where files are encrypted and stored individually, filenames may or may not be encrypted. eCryptfs allows to encrypt filenames with a different key than the one ...
1
vote
1answer
225 views

Is it safe to keep my KeePassX database on my server or cloud with encryption? [duplicate]

My KeePassX file has a long and strong password. I've read several articles and discussions about how safe it'll be stored such a file on VPS or cloud service such as Dropbox. There was no consensus ...
1
vote
0answers
73 views

Can Gmail read password protected .docx files?

Can Gmail read MS-Word .docx 2011 (OS X) files that require a password to open? As I understand it, Gmail servers read emails and attachments in their efforts to characterize users for advertising ...
0
votes
1answer
108 views

Is there any mechanism that using multiple keys encrypt and decrypt a shared document?

I wanted to achieve the following mechanism to encrypt a document each person in a group of N (user a, b, c...)has her own key; user a and user b somehow decided to encrypt document M, and they can ...
1
vote
1answer
65 views

Securing a file from getting stolen in an Android application?

I have a secret file which I cannot encrypt (because I am using it in a third party library) in an Android app which I want to protect from reverse engineering. The app will go public on Google Play ...
0
votes
1answer
64 views

What are `dd` input blocks? [closed]

I'm looking for a semi-technical explanation of "input blocks". When creating encrypted containers we use dd with "count=n", but I'm not sure of the difference between "count=0" and "count=1". The dd ...
7
votes
2answers
233 views

Win10: Access other logged on users' memory

How easily can admin users access the data of other users' running processes on Windows 10? Especially webpages loaded by Chrome. Example Context Bob and Alice share a single Windows 10 ...
2
votes
2answers
187 views

Should a password based AES CBC encrypted string have extra security?

For a Java application that I wrote, I take a password provided by a user and generate a 128-bit AES key from it using 100,000 iterations of PBKDF2-HMAC-SHA512 with a randomly generated 512-bit salt. ...
1
vote
1answer
237 views

Outsmart Google Drive censorship with 7zip encryption

I use sometimes Google Drive for sharing large files. Google Drive is fast and user friendly. I don't wish that Google sees the content of my files and try to encrypt the filename and content. My ...
0
votes
0answers
28 views

After converting a .zip file to an .exe, can we get the password using a hex editor? [duplicate]

I have a zip file and was wondering if the password can be extracted. Like if I convert it to a exe file and use a hex editor to extract the password. How practical is this method? and also what is ...
2
votes
2answers
145 views

Encryption before backing up to the Cloud

I have collected a lot of data (approx 3TB) in photos and videos over the years, I've been upgrading to newer and bigger hard disks and luckily they've not failed on me. I've realized that my access ...
0
votes
1answer
84 views

lost key-files for encrypted files [closed]

I had encrypted a file on my computer but the computer got infected by a virus, so I reinstalled Windows on my computer. All my key-files have gone. Is there a way to recreate the lost key-files, as ...
0
votes
1answer
76 views

Is an HMAC hash of plaintext data secure enough to use as a lookup index for encrypted data

I'm working on an app that will download files from external servers over https and store them on disk in a relatively secure way. Specifically, using a cryptographically unique IV, an AES256 cipher ...
0
votes
1answer
52 views

What client side encryption algorithm/libraries should I use to make syncing easier?

I want to build a webapp and a sister mobile app (using react native) that uses client side encryption. The encryption would be for text entries written on a daily basis that the user could create and ...
1
vote
0answers
121 views

Decrypt to memory for editing

I am looking for a secure way to edit sensitive text data, using Git and Vim in the process. An ideal solution would be: clone the encrypted git repository into memory; decrypt into memory; do the ...
0
votes
2answers
176 views

encryption - how to secure files - decrypting exposes them on ssd

Let's say I have an encrypted file. Now I decrypt it but since my computer only has ssd, i decrypt it on the ssd drive. Say, I make changes or I finish using the decrypted file so I encrypt it again. ...
21
votes
4answers
17k views

Why would I ever use AES-256-CBC if AES-256-GCM is more secure?

I guess the gist of my question is: Are there cases in which CBC is better than GCM? The reason I'm asking is that from reading this post by Matthew Green, and this question on cryptography stack ...
1
vote
1answer
127 views

Should I store my encrypted password's salt and initialization vector as clear text?

I'm encrypting some file with AES-256-CBC, and I'm planning to store the cipher text in a json file, with something like: { "data": "0123456789ABCDEF...", "salt": "00123ABCAABBCCDD...", "...
2
votes
1answer
80 views

What kind of encryption is this file using? It used to be plain text

I was collecting data and building a database from a mobile game on Android. Here's an after/before image. If I do CTRL + A and copy paste on the left side, all information gets copied to clipboard ...
0
votes
1answer
65 views

The data(username,passwords) stored in app bundle is safe in a jailbroken ios device

I was testing an iphone application in a jail broken device. I happend to see an intresting thing that the username and passwords are stored in a plist file and Cache.db file in preferences directory ...
0
votes
1answer
425 views

Encrypt entire CSV file, but decrypt only specific fields?

I have some data in CSV file, say data.csv with columns age, sex, country and status. Is it possible I could encrypt the entire CSV file some way which allows me to fetch only selected columns, say ...
0
votes
2answers
87 views

Program or method to create an encrypted bulk file container [closed]

I have several hundred gigs of data that I store on a NAS for my own usage. The NAS storage solution manages local encryption, however I am looking into cloud backup solutions for disaster recovery. ...
2
votes
3answers
820 views

Susceptibility of 7z encrypted archive files to man in the middle attacks

Given: A file (assume 1 GB in size) is encrypted along with filenames using 7zip into a 7z archive using AES-256 The file is uploaded to a cloud storage service such as those offered by Google, ...
1
vote
2answers
123 views

What is the best practice for encrypting and storing temp data on client?

I have a client-server system, where the client is an Android app. The client and the server communicate over HTTP. If the server/network is not available, then the client has to store the data ...
0
votes
0answers
161 views

Is it possible to use a public key directly with smime or enc in openssl while encrypting a file?

I am a newbie in encryption, decryption concepts. I read at many places that public key is used with smime or enc while encryption but I have not found any command or programme where it is using ...
0
votes
1answer
269 views

What is Cryptographic metadata

I'm learning about how to encrypt a file in a computer system. I'm reading this: https://wiki.archlinux.org/index.php/disk_encryption Here I found an notation: Cryptographic metadata. As I know, ...
2
votes
1answer
369 views

eCryptfs: what if I remove ~/.ecryptfs

I'm learning how to use eCryptfs: https://wiki.archlinux.org/index.php/ECryptfs I get things as below from the link: This is used to derive the actual file encryption master key. Thus, you ...
0
votes
1answer
939 views

Differences between using an encrypted container and encrypting a partition

I would like to store encrypted backups on an external hard disk and am wondering what the differences are between creating an encrypted (Veracrypt) container and creating an encrypted partition. Are ...
2
votes
1answer
1k views

truecrypt volume - Recover 18char known password with hashcat (characters variations)

I have an old truecrypt file that I'd like to decrypt. I know the 18 characters password I was using at the time, I'm sure of it. However I made a "variation" of it : I mapped some characters to l33t ...
2
votes
1answer
444 views

How to encrypt files on my SD card and still be able to access them on my phone seamlessly?

I'm looking for a way to encrypt files on my SD card in a way that I could still access them on my phone without huge delays if the file is big (100mb). Is there such a way to do it? I'm using ...
2
votes
1answer
165 views

Are encrypted files safe in Windows 10 when using PINs?

In Secrets and Lies, Bruce Schneier writes: Many keys are generated from passwords or passphrases. A system that accepts 10-character ASCII passwords might require 80 bits to represent, but has ...
3
votes
1answer
332 views

Storing encryption keys [closed]

Think of this scenario: you've got an application that manages some files some of these files contain sensitive data that should be encrypted on disk the application is configured to start by itself ...
6
votes
3answers
6k views

Is it possible to read a text file inside a password-protected zip file without the password?

I have a text file (.txt) compressed in ZIP format protected by a password. I think it has only one line of text and I want to see the contents of this file. I tried fcrackzip but I think the ...
1
vote
0answers
40 views

Is this protection for customer data both secure and fast enough?

A small electrical installation company has a big list of customers. The list contains personal information like names, phone numbers, addresses, info (like what product/installation) and some small ...
3
votes
1answer
285 views

Why are SSH host keys stored un-encrypted?

Do we have any standard way to encrypt SSH host keys (like /etc/ssh/ssh_host_rsa_key)? If not, why is it stored in plaintext? Isn't it sensitive information?
3
votes
1answer
108 views

Recommended practice for laptop encryption: nested encryption?

Until now I have used a laptop that has a single folder encrypted (using filevault2) containing my passwords and bank stuffs. I am getting a new laptop that encourages full-disk encryption. This ...
0
votes
1answer
289 views

Using unencrypted parts of encrypted file to recover password (7zip)

I have forgotten the password for an encrypted 7zip file (the filenames are not hidden), and I have copies of some of the unencrypted files. Is there a way I can use this to find out what the password ...
-2
votes
1answer
638 views

Rar password when you have unencrypted and encrypted file

I have two files (file1 and file2) where file1 is encrypted with rar software and file2 is the original plain text. Does anyone know the fastest way to get the password used to rar the file?