X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=remote%2Fduplicity-key-send;fp=remote%2Fduplicity-key-send;h=c576ec9aec82927bb80da0a12285515b31c19899;hp=52ff14a63b2057e517b5777500b879d58d778b81;hb=6647e7fb851e2dbe5a5c7ec60358f7371bf17183;hpb=f40b9456a0359223ae8e5c4e2bcd0e6cd6d1ada8 diff --git a/remote/duplicity-key-send b/remote/duplicity-key-send index 52ff14a..c576ec9 100755 --- a/remote/duplicity-key-send +++ b/remote/duplicity-key-send @@ -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