From bb75f71105233f6a197ae2945e524132376a89fb Mon Sep 17 00:00:00 2001 From: Andinus Date: Thu, 15 Oct 2020 18:26:32 +0530 Subject: Add new option in config --- leo.pl | 2 +- share/leo.conf | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/leo.pl b/leo.pl index 074223a..01708ad 100755 --- a/leo.pl +++ b/leo.pl @@ -70,7 +70,7 @@ $backup_dir .= "/$ymd"; path($backup_dir)->mkpath; # Create backup directory. my $gpg_fingerprint = $options{gpg_fingerprint} || "`nil'"; -my @gpg_recipients = split / /, $options{gpg_recipient}; +my @gpg_recipients = split / /, $options{gpg_recipients}; my $gpg_bin = $options{gpg_bin} || "gpg"; # Print help. diff --git a/share/leo.conf b/share/leo.conf index 3256d9a..8ccfb02 100644 --- a/share/leo.conf +++ b/share/leo.conf @@ -1,6 +1,9 @@ backup_dir = /home/andinus/backups gpg_fingerprint = D9AE4AEEE1F1B3598E81D9DFB67D55D482A799FD +# You don't have to include your key in gpg_recipients, it's added by +# default. Add multiple keys seperated by a space. +gpg_recipients = D9AE4AEEE1F1B3598E81D9DFB67D55D482A799FD gpg_bin = gpg2 signify_seckey = /home/andinus/.totally_not_my_key.sec -- cgit 1.4.1-2-gfad0