Skip to content

Commit

Permalink
Make minisign optional
Browse files Browse the repository at this point in the history
Given that age is AEAD, additional MAC would be redundant,
so we keep minisign as optional to where it fits the use case.

Fixes #2
  • Loading branch information
guimspace committed Nov 21, 2024
1 parent b75fe81 commit 6c22048
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/fopus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,10 @@ split_file()
sign_files()
{
if [[ "$DRY_RUN" == "false" ]]; then
if [[ -z "$MINISIGN_KEY_PATH" ]]; then
return 0
fi

# hash
(
cd "$BACKUP_PATH/$BACKUP_DIR" || exit 1
Expand Down

0 comments on commit 6c22048

Please sign in to comment.