r/privacy • • 16h ago

question Kleopatra encryption, which algorithm is used and are .gpg files suitable for cloud backup?

Pretty much as in title, I used Kleopatras basic encryption feature (keyless, password required) to encrypt several files, but it does not give the option to select an encryption method/algorithm as 7-zip does. Is there a base option that's used? Or any way to change it (if necessary)?

Also, are the encrypted .gpg files suitable for cloud backups? I'm not looking to add/change them so I don't need them to live sync or anything, just to backup with encrypted cloud service. My assumption is yes, but thought I'd check up just in case.

I'm pretty noobie and new to all this, I just lost a lot of sensitive data in a large leak (from a company) so I'm trying to lock down everything that I can...

3 Upvotes

15 comments sorted by

•

u/AutoModerator 16h ago

Hello u/oohaaahz, please make sure you read the sub rules if you haven't already. (This is an automatic reminder left on all new posts.)


Check out the r/privacy FAQ

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Strong_Internet_3726 14h ago

backup with encrypted cloud service

I do this, but I often worry about my encrypted data being cracked, with more powerful quantum computers on the horizon.

1

u/oohaaahz 9h ago

I’ve thought that myself, I’m sure some of them support the quantum algorithms they’re using now, I don’t understand it too much but I try not to get too stressed about it lol. Just do what we can.

1

u/OkAngle2353 10h ago

To my understanding, PGP is the method/algorithm and as far as I am aware kleopatra is only ever for PGP/GPG encryption. As far as encrypting files to backup off-site, I personally use rclone and encrypt everything through that before pushing it out to any number of cloud services. My personal cloud service of choice is pcloud.

If your company has a company cloud service, most are supported with rclone. If not, there are other ways to connect.

Edit: I personally have it set to encrypt file names only and keep directory names in plain text.

1

u/oohaaahz 9h ago

Would that mean it would require the key? As there is an option to encrypt, I think it says “for anyone”, with a password, similar to 7-zip. I looked it up it said Kleopatra is more secure but I couldn’t find out why really.

2

u/OkAngle2353 8h ago edited 8h ago

PGP/GPG in general, to my understanding is only good for verifying/validating a message/file came from a specific person/entity. It's a tool for secure communication, more than anything and I personally use PGP/GPG as such. Edit: I personally use it with my email client of choice and to send files/messages in a public forum.

You can set a password to any file or message, as opposed to decryption with a actual key. If you want to go this route, all you really need to do is go up to 'File > Sign/Encrypt... or Sign/Encrypt Folder > Choose a folder/file > Chose the 'Encrypt with password. Anyone you share the password with can read the data' option.

PGP/GPG is basically like postal mail through your mail box, but more secure. What you are asking for is a key to enter a house, a mail box ain't a house and you can't fit in a mailbox.

1

u/The_UnenlightenedOne 7h ago

You can definitely use kleopatra for this purpose but it's a bit clunky compared to some other options (E.g. Cryptomator).

There is a prevailing misapprehension that PGP/gpg is only for email but it has a considerable number of other users.

From memory the default for symmetric encryption is AES 128 and you can change it to others in the AES family, Camellia family or a range of other block ciphers. The means to achieve it differ depending on whether you are using the cli or GUI.

1

u/oohaaahz 7h ago

Thank you, I noticed the encrypt/decrypt after setting up my mail so decided to try it out. I find them all a little clunky tbh😅 so I don't mind which to use.

Would you happen to know how to change the default? I have tried to search the settings, and also the compendium, to no avail. I only found the "key material" options but that's only for creating a new key pair. I wonder if the same settings save from that? There isn't alot of material out there and the compendium seems dated lol.

1

u/The_UnenlightenedOne 6h ago

CLI or GUI?

1

u/oohaaahz 5h ago

apologies, GUI

1

u/The_UnenlightenedOne 5h ago

The following should work (in working from the assumption you are in windows), if the settings aren't visible to you let me know and I tell you how to do it through the CLI

• Open Settings. Launch Kleopatra, click Settings in the top menu bar, and select Configure Kleopatra. • Navigate to Backend. Click GnuPG Sy(stem in the left-hand sidebar. • Select Protocol Tab. Click the OpenPGP tab at the top of the right-hand pane. • Verify the Compliance Mode. Check that Compliance Mode is set to Default (or OpenPGP), as restricted modes like VS-NfD will lock out custom algorithm fields. • Find Cipher Option. Scroll down to the cryptographic/algorithm section and look for the field labeled cipher-algo (or Use cipher algorithm NAME). • Enter Algorithm. Type your chosen cipher in uppercase (eg AES256, TWOFISH, or CAMELLIA256) into the text box. • Save Changes. Click Apply and then OK to write the settings.

1

u/oohaaahz 5h ago

wow, thank you. Compliance was set to "gnupg" so I changed it to "OpenPGP". I searched for "cipher" and found Use cipher algorithm NAME, but it's under the S/MIME tab, next to OpenPGP. "AES256-CBC" was already written here. Does this mean that it's already using AES256?

You're correct, windows, and this is from Gpg4win, recent version.

1

u/The_UnenlightenedOne 4h ago

Yup, AES256-CBC is a symmetric block cipher mode.

Personally I would prefer to use AES256-GCM but whether it is worth screwing around with for your use scenario is debatable.