in Basic security, devops, Linux administration, Security

GPG Encrypted backups

This is just some notes for myself that may be useful for other people.

Scenario: As a server administrator I want to keep the backups secure so only myself can restore them.
OSX hostname: earth.local
Ubuntu Server hostname: mars.local

GPG Installation

Creating keys

Encrypt a file test

Decrypt a file test

Exporting public key

Importing a public keys on the server

Encrypting the backup

Downloading and decrypting the backup

Copy the file to earth:

Write a Comment