Encryption key in plain text in backup directory. Security issue? #2092
Replies: 2 comments 12 replies
-
@GalacticSun My understanding is that the repokey itself is virtually useless without the passphrase, i.e. you cannot decrypt the backup with the repokey only. If you use a passphrase, you always need both, the repokey and the passphrase. Since Vorta/ borg use strong encryption, it is considered save, to use repokey (i.e. storing the keyfiles with the repository) in combination with a strong passphrase. This is why Vorta uses repokey by default. Obviously, you have to use a strong passphrase! Note that you could also opt for keeping the encryption key in your home directory: Choose "Keyfile-Blake2 (Key stored in home directory)", in the advanced options, when creating a new repository. But then you should take care to not delete/ lose your keyfile, since it would be impossible to decrypt your backup without it. |
Beta Was this translation helpful? Give feedback.
-
Here is a related question and the answers from borg devs: borgbackup/borg#5285 |
Beta Was this translation helpful? Give feedback.
-
I'm new to Vorta and just trying to learn more about the encryption keys. When setting up my profile I opted to use a passphrase and an encryption key ("repokey/blake2") and it created an entry in the config file in the backup directory that contains that key, in plain text. It appears that Vorta needs that key in that file in that location to operate. If the backup dir is on a portable USB device and that device is stolen, then they have the encryption key. Isn't that a security concern? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions