Am 15.12.23 um 18:01 schrieb Robert Webb via openSUSE Users:
On Fri, 15 Dec 2023 16:25:22 +0100, Daniel Bauer <linux@daniel-bauer.com> wrote:
Am 14.12.23 um 20:52 schrieb gumb via openSUSE Users:
On 14/12/2023 14:25, Daniel Bauer wrote:
I want to encrypt a folder so that it can only be opened using a password.
I use dolphin (in KDE) right click on a folder and chose
actions->pack and encrypt folder ("Ordner packen und verschlüsseln)
In the following dialog I deselect "encrypt for others" and select "encrypt with Password", enter the password, click ok.
A "foldername.tar.pgp" is created. It is encrypted.
Then I right-click that file, select actions->decrypt and the decrypted folder is created immediately without asking me the password.
So what's the use of this encryption when it can be decrypted without the password??? [...]
You might be more interested in using Plasma Vaults. Find it in your system tray (overflow menu probably). This will make a folder encrypted with a password, and also render it hidden, accessible only from Vaults.
thanks for the hint. Anyway as much as I see it, Plasma Vault would be linked to my KDE, but I search for a solution to encrypt files or folders in a way that I can put them anywhere and share with others.
I am looking for something to encrypt files so that somebody can decrypt them even on a Mac or Win-PC. With this I could for example deliver private client photos via dropbox or similar.
Maybe you already have a working solution. Is it really a problem that *you* don't need a password to decrypt it? As has been mentioned, that is because GPG caches the (symmetric) password for the user who does the encryption, you. Is it OK if only other people need the password to decrypt it? At this point you need to check whether others really do need the password to decrypt it.
Well, there are two different cases: - the one here important, where I want to send something encrypted to somebody who (also) has no idea about encryption, but can enter a password... - the other, where I want a file to stay encrypted even when I am logged in and connected to the web (my disks are encrypted, but not when working), so that even when somebody manages to hack in or has direct access to my running computer s/he cannot read that file. the second case I solved for me with a LUKS encrypted image file. -- Daniel Bauer photographer Basel Málaga Twitter: @Marsfotografo (often explicit nudes) https://www.patreon.com/danielbauer https://www.daniel-bauer.com (nudes)