Hi FC, Thanks for your reply.
28 sept. 2020 à 08:00 de fcas...@gmail.com: > BUT I did notice a comment dated May 10 from user "gvisoc" which included > several fixes to the signing script. I wonder if you updated the script to > that level? > > https://gist.github.com/reillysiemens/ac6bea1e6c7684d62f544bd79b2182a4#gistcomment-3300359 > > Just pointing this in case you may have missed it. > Yes, I read it :) My script is almost the same (it's a mix of what I could read): #!/bin/bash readonly hash_algo='sha256' readonly key='/root/module-signing/MOK.priv' readonly x509='/root/module-signing/MOK.der' readonly name="$(basename $0)" readonly esc='\\e' readonly reset="${esc}[0m" green() { local string="${1}"; echo "${esc}[32m${string}${reset}"; } blue() { local string="${1}"; echo "${esc}[34m${string}${reset}"; } log() { local string="${1}"; echo "[$(blue $name)] ${string}"; } # The exact location of `sign-file` might vary depending on your platform. sign_file="/usr/src/linux-headers-$(uname -r)/scripts/sign-file" [ -z "${KBUILD_SIGN_PIN}" ] && read -p "Passphrase for ${key}: " KBUILD_SIGN_PIN export KBUILD_SIGN_PIN for module in "$(dirname $(modinfo -n vboxdrv))/"*".ko"; do log "Signing $(green ${module})..." "${sign_file}" "${hash_algo}" "${key}" "${x509}" "${module}" echo "Result = $?" done Best regards, l0f4r0 _______________________________________________ VBox-users-community mailing list VBox-users-community@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vbox-users-community _______________________________________________ Unsubscribe: mailto:vbox-users-community-requ...@lists.sourceforge.net?subject=unsubscribe