From Fedora Project Wiki

Description

This test case tests a simple file encryption with age

Setup

  1. Ensure the age package is installed

How to test

  1. Run age --passphrase --output /path/of/the/encryted/file.txt /path/to/the/non-encryptedfile.txt
  2. Enter the desired passphrase or leave it empty for auto-genrated passphrase
  3. Try to open the encrypted file

Expected Results

  1. The encrypted file should throw unrecognizable characters
  2. The input non-encrypted file should have no change