OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF Directory (0755) : /lib/policykit-1/../open-iscsi/../update-notifier/../cryptsetup/scripts/ |
Home | ☍ Command | ☍ Upload File | ☍Info Server | ☍ Buat File | ☍ Mass deface | ☍ Jumping | ☍ Config | ☍ Symlink | ☍ About |
---|
#!/bin/sh # # Script to decrypt the key which is encrypted with openssl. # See /usr/share/doc/cryptsetup/examples/gen-ssl-key to create such a key. # decrypt_ssl () { echo "" >&2 echo "Decrypting ssl key $1..." >&2 if ! /usr/bin/openssl enc -aes-256-cbc -d -salt -in "$1" 2>/dev/null; then return 1 fi return 0 } decrypt_ssl "$1" exit $?