Ajout : iodined tunnel IP sur DNS.
[lhc/ateliers.git] / remote / duplicity-key-send
index 52ff14a..c576ec9 100755 (executable)
@@ -7,7 +7,7 @@ PATH=/usr/lib/gnupg2:"$PATH"
 IFS= read -r pass <<-EOF
        $(gpg --decrypt "$tool"/var/sec/openpgp/backup+"$local_hostname"@"$local_domainname".pass.gpg)
        EOF
-for fpr in $(remote/gpg --list-secret-keys --with-colons --with-fingerprint --with-fingerprint \
+for fpr in $("$tool"/remote/gpg --list-secret-keys --with-colons --with-fingerprint --with-fingerprint \
  -- "backup+$local_hostname@$local_domainname" | grep '^fpr:' | cut -d : -f 10)
  do gpg-preset-passphrase --preset -v $fpr <<-EOF
        $pass