From 0d22298137b2759aeb980d201c9f7a690c420e8c Mon Sep 17 00:00:00 2001 From: s2 Date: Fri, 27 Oct 2017 16:23:45 +0200 Subject: [PATCH] typo --- sshencdec.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshencdec.sh b/sshencdec.sh index c021f15..78a0a5e 100755 --- a/sshencdec.sh +++ b/sshencdec.sh @@ -59,7 +59,7 @@ if [[ "${#public_key[@]}" > 0 ]]; then echo "-- key" convertedpubkey=$temp_dir/$(basename "$pubkey").pem ssh-keygen -f "$pubkey" -e -m PKCS8 > $convertedpubkey - #encrypt key with oublic keys + #encrypt key with public keys openssl rsautl -encrypt -pubin -inkey "$convertedpubkey" -in "$temp_file_key" -out $temp_dir/$(basename "$pubkey").key.enc openssl base64 -in $temp_dir/$(basename "$pubkey").key.enc echo "-- /key"