about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xleo.pl2
-rw-r--r--share/leo.conf3
2 files changed, 4 insertions, 1 deletions
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