🇳🇦🇲🇪♯➤ premium290.web-hosting.com 🇻♯➤ 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP 🇾♯➤ 2025
𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 63.250.38.37 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.105
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /lib/dracut/modules.d/91crypt-gpg//module-setup.sh
#!/bin/bash
# GPG support is optional
# called by dracut
check() {
require_binaries gpg || return 1
if sc_requested; then
if ! sc_supported; then
dwarning "crypt-gpg: GnuPG >= 2.1 with scdaemon and libusb required for ccid smartcard support"
return 1
fi
return 0
fi
return 255
}
# called by dracut
depends() {
echo crypt
}
# called by dracut
install() {
inst_multiple gpg
inst "$moddir/crypt-gpg-lib.sh" "/lib/dracut-crypt-gpg-lib.sh"
if sc_requested; then
inst_multiple gpg-agent
inst_multiple gpg-connect-agent
inst_multiple /usr/libexec/scdaemon
cp "$(sc_public_key)" "${initdir}/root/"
fi
}
sc_public_key() {
echo -n "/etc/dracut.conf.d/crypt-public-key.gpg"
}
# CCID Smartcard support requires GnuPG >= 2.1 with scdaemon and libusb
sc_supported() {
local gpgMajor="$(gpg --version | sed -n 1p | sed -n -r -e 's|.* ([0-9]*).*|\1|p')"
local gpgMinor="$(gpg --version | sed -n 1p | sed -n -r -e 's|.* [0-9]*\.([0-9]*).*|\1|p')"
if [[ "${gpgMajor}" -gt 2 || "${gpgMajor}" -eq 2 && "${gpgMinor}" -ge 1 ]] && \
require_binaries gpg-agent &&
require_binaries gpg-connect-agent &&
require_binaries /usr/libexec/scdaemon &&
(ldd /usr/libexec/scdaemon | grep libusb > /dev/null); then
return 0
else
return 1
fi
}
sc_requested() {
if [ -f "$(sc_public_key)" ]; then
return 0
else
return 1
fi
}
| 𝗡𝗔𝗠𝗘 |
𝗦𝗜𝗭𝗘 |
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛 |
𝗨𝗦𝗘𝗥 |
𝗦𝗧𝗔𝗧𝗨𝗦 |
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦 |
| .. | -- | 18 Jun 2026 9.21 AM | root / root | 0755 | |
| | | | | |
| README | 2.534 KB | 8 Oct 2018 1.38 PM | root / root | 0644 | |
| crypt-gpg-lib.sh | 2.557 KB | 8 Oct 2018 1.38 PM | root / root | 0755 | |
| module-setup.sh | 1.474 KB | 8 Oct 2018 1.38 PM | root / root | 0755 | |