remove extra space in $sig_algo

This commit is contained in:
nervuri 2021-06-30 17:53:23 +00:00
parent a30e536c05
commit 6a6e8ae643
Signed by: nervuri
GPG Key ID: C4769EEA7BA61672
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ for cert_file in certs/*.pem; do
key_size=$(expr "$key_size" : '^..\([0-9]*\).*$')
fi
sig_algo=$(echo "$cert_details" | grep ' Signature Algorithm:' | cut -d ':' -f 2)
sig_algo=$(echo "$cert_details" | grep ' Signature Algorithm:' | cut -d ':' -f 2 | cut -c2-)
# Add a table row.
md_table="$md_table| [$host](gemini://$host/) | [PEM]($cert_file) | $end_date | $key_algo | $key_size | $sig_algo |\n"