diff --git a/src/freedombone-pin-cert b/src/freedombone-pin-cert index bbf3969b..bb3f38f6 100755 --- a/src/freedombone-pin-cert +++ b/src/freedombone-pin-cert @@ -54,7 +54,7 @@ function pin_all_certs { PIN_HEADER="Public-Key-Pins 'pin-sha256=\"${KEY_HASH}\"; pin-sha256=\"${BACKUP_KEY_HASH}\"; max-age=5184000; includeSubDomains';" sed -i "s|Public-Key-Pins.*|${PIN_HEADER}|g" $file - echo "Pinned $DOMAIN_NAME" + echo "Pinned $DOMAIN_NAME with keys $KEY_HASH $BACKUP_KEY_HASH" fi fi fi @@ -113,6 +113,6 @@ if ! grep -q "add_header Public-Key-Pins" $SITE_FILENAME; then echo $'Pinning failed' fi -echo "Pinned $DOMAIN_NAME with hash $KEY_HASH" +echo "Pinned $DOMAIN_NAME with keys $KEY_HASH $BACKUP_KEY_HASH" exit 0